Are you wondering how you can get started? You can learn how from this free series How to Contribute to an Open Source Project on GitHub.
git
SSH key
bash
$ git clone git@github.com:your-project-name/chromebrew.git && cd chromebrew
bash
$ git checkout -b update-cool-package
How to test a pending PR from another contributor
section below.bash
$ git add -A
bash
$ git diff --staged
bash
$ git commit -m "Add some awesome change to cool package"
bash
$ git push origin update-cool-package
https://github.com/your-project-name/chromebrew
contributor-name wants to merge 1 commit into chromebrew:master from contributor-name:update-cool-package
bash
$ git remote add contributor-name git@github.com:contributor-name/chromebrew.git
bash
$ git fetch contributor-name
bash
$ git checkout update-cool-package
bash
$ cp packages/cool_package.rb /usr/local/lib/crew/packages/
bash
$ crew upgrade cool_package
bash
$ crew files cool_package
bash
$ cool_package --version
$ cool_package --help
$ cool_package --some-other-option
To see if this package is a dependency for another package, execute:
$ grep "depends_on 'cool_package'" packages/*.rb
and, just in case:
$ grep 'depends_on "cool_package"' packages/*.rb
If the package is a dependency for another package, test commands of the other package, if possible, to see if they were affected in any way.
Visit the PR and add a comment suggesting any changes or mark it RTBC if everything looks good.