#6140 Support trac commit/ticket syntax in commit messages

v1.1.0
closed
General
Cory Johns
2015-08-20
2013-04-18
Dave Brondsema
No

Tickets & wiki imported from trac [#4213] and [#6139] as well as SVN commits that have trac syntax for referencing tickets and svn revisions should still work in Allura. Examples:

We can't change content during import since it's in SVN commit messages too.

A regex should be easy to identify these. TBD: allow this simpler syntax all the time, or just for trac-imported content via some flag?

Related

Tickets: #4213
Tickets: #6111
Tickets: #6139
Tickets: #6441
Tickets: #6622

Discussion

  • Dave Brondsema
    Dave Brondsema
    2013-08-27

    • labels: import --> import, trac
     
  • Dave Brondsema
    Dave Brondsema
    2013-08-27

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -3,6 +3,10 @@
     * `#123` for tickets (no brackets)
     * `r456` for svn revision
     * https://sourceforge.net/apps/trac/gfarm/changeset/8016
    +* A less frequent format:
    +    * `ticket:100`
    +    * `comment:13:ticket:408`
    +    * `source:gfarm_v2/trunk/server/gfmd/inode.c@6697#L3233`
    
     We can't change content during import since it's in SVN commit messages too.
    
     
  • Dave Brondsema
    Dave Brondsema
    2013-09-09

    With [#6610] changing Trac import to use HTML as its basis, the cross-reference links will be handled nicely with no special parsing of them (they're already links).

    So this will just need to be applied to commit messages. See also [#6111] which is to have commit messages not be handled as full markdown, but just make their artifact references be links.

     

    Related

    Tickets: #6111
    Tickets: #6610

  • Dave Brondsema
    Dave Brondsema
    2013-09-20

    • Milestone: limbo --> forge-oct-04
     
  • Dave Brondsema
    Dave Brondsema
    2013-09-20

    • summary: Support trac commit/ticket syntax --> Support trac commit/ticket syntax in commit messages
    • Size: --> 2
     
  • Dave Brondsema
    Dave Brondsema
    2013-09-20

    • Milestone: forge-oct-04 --> forge-oct-18
     
  • Dave Brondsema
    Dave Brondsema
    2013-10-04

    • Milestone: forge-oct-18 --> forge-nov-01
     
    • status: open --> in-progress
    • assigned_to: Tim Van Steenburgh
     
    • status: in-progress --> code-review
     
  • Dave Brondsema
    Dave Brondsema
    2013-11-01

    • Milestone: forge-nov-01 --> forge-nov-15
     
  • Cory Johns
    Cory Johns
    2013-11-07

    • QA: Cory Johns
     
  • Cory Johns
    Cory Johns
    2013-11-07

    • status: code-review --> closed