Metadata-Version: 1.1
Name: gerritexec
Version: 1.2.0.a16.g4e04203
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
        
        
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
