Code Monkey home page Code Monkey logo

agilo-hooks's Introduction

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.

agilo-hooks's People

Contributors

joshmoore avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.