#15133: post receive hook on git to update commit on trac
--------------------------------+-------------------------
       Reporter:  vbraun        |        Owner:
           Type:  enhancement   |       Status:  new
       Priority:  major         |    Milestone:  sage-5.12
      Component:  website/wiki  |   Resolution:
       Keywords:                |    Merged in:
        Authors:  Volker Braun  |    Reviewers:
Report Upstream:  N/A           |  Work issues:
         Branch:                |       Commit:
   Dependencies:  #15129        |     Stopgaps:
--------------------------------+-------------------------
Changes (by vbraun):

 * dependencies:   => #15129


Old description:

> Here is a post-receive hook that updates the "Commit" field on trac.

New description:

 Here is a post-receive hook that updates the "Commit" field on trac.

 Installation instructions:
   * copy the attached [attachment:post-receive-hook.py] to `hooks/post-
 receive`
   * Add an action to trac to change the status from positive_review back
 to needs_review. In `trac.ini`:
     {{{
 [ticket-workflow]
 back_to_review = positive_review -> needs_review
 back_to_review.name = resubmit to review
 back_to_review.permissions = TICKET_MODIFY
     }}}
   * Add a trac user that makes the changes, e.g. username = `git`. Put the
 username/password in the post-receive script in `TRAC_URL_LOGIN`.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/15133#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to