From dd27f667c3eea8e1ed54857e61ea02ce52da545d Mon Sep 17 00:00:00 2001 From: Nan Liu Date: Tue, 27 Sep 2016 13:28:20 -0700 Subject: [PATCH] Update from Intelsdi-x pluginsync 0.1.7 --- .pluginsync.yml | 3 ++- .sync.yml | 7 +++++++ .travis.yml | 1 + CONTRIBUTING.md | 9 +++++---- LICENSE | 25 ------------------------- scripts/build.sh | 4 ++++ 6 files changed, 19 insertions(+), 30 deletions(-) diff --git a/.pluginsync.yml b/.pluginsync.yml index 139f660..edbf030 100644 --- a/.pluginsync.yml +++ b/.pluginsync.yml @@ -1,4 +1,5 @@ -pluginsync_config: '0.1.6' +# File managed by pluginsync +pluginsync_config: '0.1.7' managed_files: - .github - .github/ISSUE_TEMPLATE.md diff --git a/.sync.yml b/.sync.yml index 979b0f8..6a94c9a 100644 --- a/.sync.yml +++ b/.sync.yml @@ -1,3 +1,10 @@ +:global: + build: + matrix: + - GOOS: linux + GOARCH: amd64 + - GOOS: darwin + GOARCH: amd64 .travis.yml: deploy: access_key_id: AKIAINMB43VSSPFZISAA diff --git a/.travis.yml b/.travis.yml index f53c728..8468e10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -62,6 +62,7 @@ deploy: secure: VfWlRJGmYYYXVG1D7U3phLlafiR2Yg1meoAfJQ1+0OlSmscVmp6DK+inr7RvvYQQe+PjG9pAOqJf7dtwE3mwSAo+FLX3uMhRRT2qRfla1qCGEMnmHhMqADCcmQGWFoT6ufBsd8Pz7ynJQNCHopErRVaV9cOoJwGS3Wvo4pH4QzesojP3KQlu7JHmYE56vhcsjvXSve8DqiXJF7vV5rPQ5fpm3e9GPfzxM4KVq93SqT06baN+xUksuRoYsPn1sbzH20dTA+TB/H8/oFOhPARXdrjuWfHQi5aTDXjikMHvq91P/5W6NuD0PB+V4rmxi9PlJJGpuSDAL1gkOqJcgPadYf08/PlkoXW4/OR6fsS5fruNaeXsyOfOgFbeHLC+1ns+l1z7Jngw6+YO4oN3jXtnQQ9CgBXNotsULwFBvde11BcAnv5SfTejVAa9HmehtXzkx/A69AT+ubXHBHfSKrtEENG3mrTEQz4x18ShvJbdG4FeswAZJkq0K2IJmyiTHHrWPOvFLPcnZzjgqb/0TdjC18jJxwCSyp6FT5/3ZmtnF3bNERryt4qP1paW/MX013zgOMNhq7/xHr2dzS947qDABycLEj6BRbYEXSbcEAXhbK+3CgBjBB8Rq1yqiI32xB8+S6IhsRmP9tXv4h2QIhavI95yr0f623jt2B67WJY7ZL0= file: - release/snap-plugin-publisher-kairosdb_linux_x86_64 + - release/snap-plugin-publisher-kairosdb_darwin_x86_64 skip_cleanup: true on: repo: intelsdi-x/snap-plugin-publisher-kairosdb diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c5e2e2f..5e82785 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,7 +5,7 @@ 3. [Contribute Elsewhere](#contribute-elsewhere) 4. [Thank You](#thank-you) -This repository has dedicated developers from Intel working on updates. The most helpful way to contribute is by reporting your experience through issues. Issues may not be updated while we review internally, but they're still incredibly appreciated. +This repository is primarily **community supported**. We both appreciate and need your contribution to keep it stable. Thank you for being part of the community! We love you for it. ## Contributing Code **_IMPORTANT_**: We encourage contributions to the project from the community. We ask that you keep the following guidelines in mind when planning your contribution. @@ -20,19 +20,20 @@ Once you're ready to contribute code back to this repo, start with these steps: * Clone the fork to `$GOPATH/src/github.com/intelsdi-x/`: ``` -$ git clone https://github.com//.git +$ cd "${GOPATH}/src/github.com/intelsdi-x/" +$ git clone https://github.com/intelsdi-x/snap-plugin-publisher-kairosdb.git ``` * Create a topic branch for your change and checkout that branch: ``` - $ git checkout -b some-topic-branch +$ git checkout -b some-topic-branch ``` * Make your changes and run the test suite if one is provided. * Commit your changes and push them to your fork. * Open a pull request for the appropriate project. * Contributors will review your pull request, suggest changes, and merge it when it’s ready and/or offer feedback. -If you have questions feel free to contact the [maintainers](https://github.com/intelsdi-x/snap/blob/master/README.md#maintainers) by tagging them: @intelsdi-x/plugin-maintainers. +If you have questions feel free to contact the [maintainers](https://github.com/intelsdi-x/snap/blob/master/README.md#maintainers). ## Contributing Examples The most immediately helpful way you can benefit this project is by cloning the repository, adding some further examples and submitting a pull request. diff --git a/LICENSE b/LICENSE index d645695..f433b1a 100644 --- a/LICENSE +++ b/LICENSE @@ -175,28 +175,3 @@ of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/scripts/build.sh b/scripts/build.sh index 58b6d41..dd1f612 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -46,3 +46,7 @@ export GOOS=linux export GOARCH=amd64 mkdir -p "${build_dir}/${GOOS}/x86_64" "${go_build[@]}" -o "${build_dir}/${GOOS}/x86_64/${plugin_name}" . || exit 1 +export GOOS=darwin +export GOARCH=amd64 +mkdir -p "${build_dir}/${GOOS}/x86_64" +"${go_build[@]}" -o "${build_dir}/${GOOS}/x86_64/${plugin_name}" . || exit 1