#3238 closed defect (fixed)

Git push to Trac with more than one commit does not update tickets.

Reported by: Chris Johns Owned by: Amar Takhar
Priority: highest Milestone: 5.1
Component: admin Version:
Severity: blocker Keywords:
Cc: Blocked By:
Blocking: #3561


The git push to trac hook does not queue or handle a number of commits in a push. As a result updates to tickets can be missed.

Change History (6)

comment:1 Changed on 11/16/17 at 20:42:34 by Chris Johns

Summary: Git push to trace with more than one commit does not update tickets.Git push to Trac with more than one commit does not update tickets.

comment:2 Changed on 02/05/18 at 23:42:25 by Chris Johns

Priority: normalhighest
Severity: normalblocker

I consider this ticket is important and we need to find a solution. I am finding tickets are not being closed on branches if there is a push with more than one change. This creates 2 issues, the first the ticket is not closed effecting the milestone report and manually closing the ticket requires finding and pasting in the URL for the changeset and so we can have a possible mix of Trac changesets and cgit changesets. Given we have moved to Trac generated Release Notes (which are fantastic) having this data correct for releases is important.

comment:3 Changed on 05/03/18 at 05:19:40 by Sebastian Huber

I use the following workaround:

git log --format='%h' origin/master..HEAD | tac | sed 's%\(.*\)%git push origin \1:master%' > tmp.sh

It creates a script to push each commit separately.

comment:4 Changed on 10/13/18 at 22:35:56 by Joel Sherrill

Owner: set to Amar Takhar
Status: newassigned

comment:5 Changed on 10/14/18 at 00:46:19 by Chris Johns

Resolution: fixed
Status: assignedclosed

comment:6 Changed on 10/21/18 at 00:13:37 by Amar Takhar

Blocking: 3561 added
Note: See TracTickets for help on using tickets.