This release is a pre-release and may not be stable for production use.
gerritexec
gerritexec is a command line tool listening to gerrit on a designated project. On each new patchset, (or when a comment contains recheck no bug or run gerritexec) it will:
git clone the project
git pull the patchset
cd in the git tree and run a script
positively review the patchset ( +1 ) if the program exit(0)
negatively review the patchset ( -1 ) otherwise
Examples
Positively review all patchsets in the stackforge/puppet-ceph project:
gerritexec --hostname review.openstack.org \
--username puppetceph \
--script 'true' \
--project stackforge/puppet-ceph
Run the integration tests found in the git tree of the stackforge/puppet-ceph project:
gerritexec --hostname review.openstack.org \
--username puppetceph \
--script 'bundle exec rake spec:system' \
--project stackforge/puppet-ceph
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file gerritexec-1.2.0.a16.g4e04203.tar.gz.
File metadata
- Download URL: gerritexec-1.2.0.a16.g4e04203.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71225cb35b469eb79622d8086aec0d015688ccb2093796e67377d2a190f7b03d
|
|
| MD5 |
222efa2ada18c794fbed78aa9065d9fd
|
|
| BLAKE2b-256 |
1c703672a24c4f5362c3d0e4a04d3ca1d5cc99767ca56f79dead0a9c55f3e406
|