Metadata-Version: 1.1
Name: gerritexec
Version: 2.2.0
Summary: Run a command when a gerrit patchset is created
Home-page: https://gitorious.org/gerritexec
Author: Loic Dachary
Author-email: loic@dachary.org
License: UNKNOWN
Description: gerritexec
        ==========
        
        gerritexec is a command line tool `listening to gerrit <https://gerrit-documentation.storage.googleapis.com/Documentation/2.7/cmd-stream-events.html>`_ on a designated project. On each `new patchset <https://gerrit-documentation.storage.googleapis.com/Documentation/2.7/cmd-stream-events.html#_events>`_, (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 <https://review.openstack.org/#/q/project:stackforge/puppet-ceph,n,z>`_ project:
        
        .. code:: sh
        
            gerritexec --hostname review.openstack.org \
                       --username puppetceph \
                       --script 'true' \
                       --project stackforge/puppet-ceph
        
        Run the `integration tests <https://github.com/stackforge/puppet-ceph/tree/master/spec/system>`_ found in the git tree of the `stackforge/puppet-ceph <https://review.openstack.org/#/q/project:stackforge/puppet-ceph,n,z>`_ project:
        
        .. code:: sh
        
            gerritexec --hostname review.openstack.org \
                       --username puppetceph \
                       --script 'bundle exec rake spec:system' \
                       --project stackforge/puppet-ceph
        
        Hacking
        =======
        
        * Get the code : git clone git@gitorious.org:gerritexec/gerritexec.git
        * Run the tests : tox
        * Tag a version
        
         - edit the version field of setup.cfg
         - git tag -a -m 'whatever' 2.1.1
         - git push --tags
        
        * Check the documentation : rst2html < README.rst > /tmp/a.html
        * Publish
        
         - python setup.py sdist upload --sign
         - trim old versions at https://pypi.python.org/pypi/gerritexec
        
        
Platform: UNKNOWN
Classifier: Environment :: No Input/Output (Daemon)
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: POSIX :: Linux
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Utilities
