From f9bd324875c9b6a0abb894e8e3f182da826011eb 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 2c915da..6049903 100644 --- a/.sync.yml +++ b/.sync.yml @@ -1,3 +1,10 @@ +:global: + build: + matrix: + - GOOS: linux + GOARCH: amd64 + - GOOS: darwin + GOARCH: amd64 .travis.yml: env: global: diff --git a/.travis.yml b/.travis.yml index 3387de6..81b920b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,6 +63,7 @@ deploy: secure: xBP1/9GdLtYHGUKXk/ac7t+NNodLo16fucPfqLoxC23Rw3a84vMluVZheWplSVbiTmuOVn777EfoK2ej0nTGL7+iNLc/z84pqDM5kW6Bo/EO5J9r54DpMcEznbkxsNyXtNdeX5EO7Ufs35+eU2cuvZ8YeIs3NNna6EBcB/JD7DlVKcLq4oKeMLafEs2vDSaFRDrgirtQhIU8525LCVSNwK3MiBPZnRMcTj6i0GLtz5BnVOBwgIElYhDawkIBnYmVxoBSMD7OyOfDt5zAq/1WJuoFj9zxjcTvCSKkgyno0ziDy3HrhV07QOy9gZ8nPUXPRI1u1cz0J3WLErvj0hmoBsOYbFGB6PpYwyjPZb0Pa8KrNqHYrVdgEu9VP6Y6y+YwzHOLqn8rFSaTCwlWlDN4Z9iso3jrbDfVdSKDb/GGF7MhWG981eresWB0jYpx3kJJ5mQtFTa0uD+udyYDyrvp5EP1MNxMCAkcg7s23E/517hcctFKCRRc5qt7ulDOD8djhYCQDTZlBkv5K6sWhILcyXMFsbKVLRc6pRYbdBN8P3BJ+6MkqxhQuu+ae7UQbAWtJxkPGWkaz3mYVEUUuu7Jne3wCs1lXbU0ORPuqSDhZckOuBpF4yd7WnBliqIrQ1TNc5K9eO3nLdWcF0gMLopOLDHw8MrI1EPGzlpIlx9Aink= file: - release/snap-plugin-publisher-kafka_linux_x86_64 + - release/snap-plugin-publisher-kafka_darwin_x86_64 skip_cleanup: true on: repo: intelsdi-x/snap-plugin-publisher-kafka diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0f8eb69..e0a4023 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-kafka.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