Skip to content

Commit

Permalink
Merge pull request openhab#139 from digitaldan/omnilink-binding
Browse files Browse the repository at this point in the history
Merge upstream master to omnilink-binding branch
  • Loading branch information
craigham authored Apr 13, 2019
2 parents 4b2883d + a984ddd commit d22e97d
Show file tree
Hide file tree
Showing 8,666 changed files with 412,681 additions and 118,609 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: "\U0001F41B Bug report"
about: Something isn't working correctly with a binding. This is the wrong place for user-interfaces or openhab core issues.

---

<!-- Provide a general summary of the issue in the *Title* above -->
<!-- If the issue is related to a binding, please include its short name in -->
<!-- square brackets in the title - Example: "[astro] My issue..." -->

<!-- Important: Please contact the openHAB community forum for questions or -->
<!-- for configuration and usage guidance: https://community.openhab.org -->

<!-- Feel free to delete any comment lines in the template (starting with "<!--") -->

## Expected Behavior
<!-- If you're describing a bug, tell us what should happen -->
<!-- If you're suggesting a change/improvement, tell us how it should work -->

## Current Behavior
<!-- If describing a bug, tell us what happens instead of the expected behavior -->
<!-- Include related log information (preferably debug level) and related configs. -->
<!-- Use file attachment for log and config information longer than a few lines -->
<!-- If suggesting a change/improvement, explain the difference from current behavior -->
<!-- For improvements, discuss at community.openhab.org first and include link to topic -->

## Possible Solution
<!-- Not obligatory, but suggest a fix/reason for the bug, -->
<!-- or ideas how to implement the addition or change -->

## Steps to Reproduce (for Bugs)
<!-- Provide a link to a live example, or an unambiguous set of steps to -->
<!-- reproduce this bug. Include code to reproduce, if relevant -->
1.
2.

## Context
<!-- How has this issue affected you? What are you trying to accomplish? -->
<!-- Providing context helps us come up with a solution that is most useful in the real world -->

## Your Environment
<!-- Include as many relevant details about the environment you experienced the bug in -->
* Version used: (e.g., openhab and addon versions)
* Environment name and version (e.g. Chrome 39, node.js 5.4, Java 8, ...):
* Operating System and version (desktop or mobile, Windows 10, Raspbian Jessie, ...):
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: "Feature request"
about: You think that your favourite binding should gain another feature

---

<!-- Provide a general summary of the feature request in the *Title* above -->
<!-- If the feature request is related to a binding, please include its short name in -->
<!-- square brackets in the title - Example: "[astro][feature] My feature request..." -->

<!-- Important: Please contact the openHAB community forum for questions or -->
<!-- for configuration and usage guidance: https://community.openhab.org -->

## Your Environment
<!-- Include as many relevant details about the environment you experienced the bug in -->
* Version used: (e.g., openhab and addon versions)
* Environment name and version (e.g. Chrome 39, node.js 5.4, Java 8, ...):
* Operating System and version (desktop or mobile, Windows 10, Raspbian Jessie, ...):
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/usage_question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
name: "\U0001F914 Support/Usage Question"
about: For usage questions, please use the openHAB community board!

---

This is an issue tracker for reporting problems and requesting new features. For usage questions, please use the openHAB community board where there are a lot more people ready to help you out. Thanks!

https://community.openhab.org/
File renamed without changes.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
*.iml
.DS_Store
target/
Expand All @@ -9,6 +10,7 @@ bundles/io/org.openhab.io.multimedia.tts.marytts/lib/
.metadata/
*/plugin.xml_gen
targetplatform/*.launch
**/.settings/org.eclipse.*

distribution/openhabhome/logs/*.log
distribution/openhabhome/*.zip
Expand All @@ -35,3 +37,4 @@ addons/voice/org.openhab.voice.marytts/lib/sgt-3.0.jar
addons/voice/org.openhab.voice.marytts/lib/voice-bits1-hsmm-5.0-SNAPSHOT.jar
addons/voice/org.openhab.voice.marytts/lib/voice-bits3-hsmm-5.0-SNAPSHOT.jar
addons/voice/org.openhab.voice.marytts/lib/voice-cmu-slt-hsmm-5.0.jar
npm-debug.log
61 changes: 51 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,58 @@
sudo: required
dist: trusty
dist: xenial

language: java
jdk: oraclejdk8
before_install: echo "MAVEN_OPTS='-Xms1g -Xmx2g -XX:PermSize=512m -XX:MaxPermSize=1g'" > ~/.mavenrc

jdk:
- openjdk8
- openjdk11

cache:
directories:
- $HOME/.m2
- $HOME/.p2

before_cache:
# remove resolver-status.properties, they change with each run and invalidate the cache
- find $HOME/.m2 -name resolver-status.properties -exec rm {} \;

before_install:
- echo "MAVEN_OPTS='-Xms1g -Xmx2g -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'" > ~/.mavenrc
install:
- echo 'mvn clean install -B -V 1> .build.stdout 2> .build.stderr' > .build.sh
- chmod 0755 .build.sh
script:
- travis_wait 60 ./.build.sh
- |
function extra_maven_opts() {
if [ "$TRAVIS_JDK_VERSION" != "openjdk8" ]; then echo "-Denforcer.skip=true"; fi;
}
function prevent_timeout() {
local i=0
while [ -e /proc/$1 ]; do
# print zero width char every 3 minutes while building
if [ "$i" -eq "180" ]; then printf %b '\u200b'; i=0; else i=$((i+1)); fi
sleep 1
done
}
function print_reactor_summary() {
sed -ne '/\[INFO\] Reactor Summary:/,$ p' "$1" | sed 's/\[INFO\] //'
}
function mvnp() {
set -o pipefail # exit build with error when pipes fail
local command=(mvn $@)
exec "${command[@]}" 2>&1 | # execute, redirect stderr to stdout
tee .build.log | # write output to log
stdbuf -oL grep -E '^\[INFO\] Building .+ \[.+\]$' | # filter progress
sed -uE 's/^\[INFO\] Building (.*[^ ])[ ]+\[([0-9]+\/[0-9]+)\]$/\2| \1/' | # prefix project name with progress
sed -e :a -e 's/^.\{1,6\}|/ &/;ta' & # right align progress with padding
local pid=$!
prevent_timeout $pid &
wait $pid
}
after_success:
- tail -n 200 .build.stdout
- print_reactor_summary .build.log
after_failure:
- tail -n 300 .build.stderr
- tail -n 2000 .build.stdout
- tail -n 2000 .build.log
env: # required for allowing failures
matrix:
allow_failures:
- jdk: openjdk11
script:
- mvnp clean install -B -DskipChecks=true -DskipTests=true $(extra_maven_opts)
24 changes: 0 additions & 24 deletions AUTHORS

This file was deleted.

Loading

0 comments on commit d22e97d

Please sign in to comment.