From 5eb4b95ae9ced17da3c627906484678d5faa4de5 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 c85c915..327abfa 100644 --- a/.sync.yml +++ b/.sync.yml @@ -1,3 +1,10 @@ +:global: + build: + matrix: + - GOOS: linux + GOARCH: amd64 + - GOOS: darwin + GOARCH: amd64 .travis.yml: sudo: true services: diff --git a/.travis.yml b/.travis.yml index a44d323..d9834f8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -65,6 +65,7 @@ deploy: secure: TOv/JfmENMg3xF+ILipzCn/aWSzBTHnVj959rdSIJaF1nnfUHatBvflHtYyUnYW9/0DRlJiKewpQ596RefZFdr20+X35hrU364lY9qxcADEmgX5W54q0vVLpp1dK7QyjbQcvwn0mVCYEyTVnrlJ4QpG1WzH0b2oKzg2af7tmkXwWdXS6idZjYUcNKfjnYebJ5z2P1ONPfZRsXgzKcSXZEpaJJkrZ7grPJ4a5+kEyjF6ZgzsI6B4UhQafuF1EHcyBVZrOcpAQrEl8fTuHs0cTtGz28XH/6euRwLkLFoLNU8fAwSGIi7YKgwg8ve8kJCBVUPD/MhXdQm2b6BryUN8WlTbTE3mPKvSL/ZsvO9jQdwkSDC/ZATnT2GN0H53s5KR/73+hkzhdKIX9AcA6qA7jK25v7X9sUL9RKNK3JYMB/vM6eIY1y/B/2YBqyccKQft6ip7EPgjc4IEbA3nNuX2HOmG6Botc0B581hT0wdzWMCVF2mYuQuX7TldKup9jKtPnhIyHjnY+WDwcf5plmYGs0bqUiaqJiXVQ9xYk296WM6+2bN1b1IWT0gOG2BcG7TPuYh61gJ/FCiqUsH8yHx4DzBJ9GZxVLHVbRDlTOAaafZ4w19nai3kXbgERtOn/30oQp6+knCfnzI/8jTyT0KI6h+m4cr4FNpUeeVFZLc6AtKA= file: - release/snap-plugin-publisher-mysql_linux_x86_64 + - release/snap-plugin-publisher-mysql_darwin_x86_64 skip_cleanup: true on: repo: intelsdi-x/snap-plugin-publisher-mysql diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5bc1aa9..d7b5bda 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-mysql.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