autotrac

9 views
Skip to first unread message

Alistair Lynn

unread,
Nov 9, 2014, 11:36:04 AM11/9/14
to srobo...@googlegroups.com
Hi all–

I cobbled together a script this afternoon which watches Gerrit. With
it now running on my server, if you start a commit with "Fix #NNNN:"
where NNNN is a Trac ticket, it will:

* Update the Trac ticket with a reference to the Gerrit change when
you submit it,
* Close the Trac ticket with a reference to the cgit commit when it's merged.

Poke me if it breaks.

Alistair

Jeremy Morse

unread,
Nov 13, 2014, 9:27:55 AM11/13/14
to srobo...@googlegroups.com
Hi,

On 09/11/14 16:36, Alistair Lynn wrote:
> I cobbled together a script this afternoon which watches Gerrit. With
> it now running on my server, if you start a commit with "Fix #NNNN:"
> where NNNN is a Trac ticket, it will:

Does this read directly pushed changes as well?

We have a number of mirrors of 3rd party software from github that we
maintain patches on top of, puppet firewall for example, and the
maintainers of those projects are going to be putting similar messages
in their commits to close their own tickets. This runs a risk of
spraying misleading information into trac when we update, for example,
phpbb or a number of puppet things.

--
Thanks,
Jeremy

signature.asc

Alistair Lynn

unread,
Nov 13, 2014, 11:05:30 AM11/13/14
to srobo...@googlegroups.com
Hi Jeremy-

> Does this read directly pushed

No. Only commits that go through review and aren't in priv/.

Alistair

Reply all
Reply to author
Forward
0 new messages