Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joshmoore/agilo-hooks

Modification to the default post-commit hooks in agilo (http://agile42.com/cms/pages/agilo/) to support multi-repositories. Parts of this patch were submitted as https://dev.agile42.com/ticket/1086
https://github.com/joshmoore/agilo-hooks

Last synced: 30 days ago
JSON representation

Modification to the default post-commit hooks in agilo (http://agile42.com/cms/pages/agilo/) to support multi-repositories. Parts of this patch were submitted as https://dev.agile42.com/ticket/1086

Awesome Lists containing this project

README

        

These are modifications of the agilo post-commit hooks
which add support for multiple Trac repositories (+0.12).
Throughout the code are hard-coded values for the OME trac
instance (http://trac.openmicroscopy.org/ome), so only use
these files as templates to base your own changes on.

This code may have already been included in later agilo
releases as https://dev.agile42.com/ticket/1086 is already
closed.

Directions
==========

* Configuration a bare git (/home/git/ome.git):

[core]
repositoryformatversion = 0
filemode = true
bare = true
sharedrepository = 1
[receive]
denyNonFastforwards = true

* Link the post-receive under hooks:

ln -s `pwd`/post-receive /home/git/ome.git/hooks

* (optional) If you need post-commit instead, see
spec-post-commit. (Not used in production)

Things to note
==============

* agilo_svn_hook_commit.py has been modified to use
the omero_svn_hooks.py module. Upgrades to your
agilo installation will NOT change this behavior.
You will need to merge by hand.

* In post-receive, only certain branches are handled.
This allows temporary branches to be located on the
same repository without having tickets modified.

* omero_svn_hooks.py has several lines marked
"OMERO-specific behavior", which permits tickets to
be closed by non-authors even when they are not in
the "assigned" status.