Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

#10747 closed enhancement (wontfix)

Resolve ticket with git commit id

Reported by: mendelso@… Owned by:
Priority: normal Milestone:
Component: general Version: 1.0dev
Severity: normal Keywords: commit id git resolve
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Rather than have Trac look for the ticket number in the commit comments for automatic resolution, it would be preferable to be able to enter the commit id in the Trac ticket manually and then have it resolve automatically once the git commit is released.

This is preferable because it would

1) keep the commit comments in git clean 2) the commit comments may be lost in the merge process and not in the final release

Thanks

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 12 years ago

Interesting, but:

  • I believe this can already be achieved with a plugin implementing the IRepositoryChangeListener interface, much like the existing TicketCommit component does
  • you'd have to configure what means "released", i.e. which branch corresponds to which milestone, not something trivial
  • it's not always the case that the commit goes in "as is"; it could be cherry-picked, the branch could be rebased, etc.

While I see there can be setup where the two reservations above are not a problem, I don't think at this point this is common enough to be done in Trac core directly.

Suggesting wontfix.

in reply to:  1 comment:2 by Remy Blank, 12 years ago

Resolution: wontfix
Status: newclosed

Replying to cboos:

Suggesting wontfix.

Same here. What's "releasing a git commit", anyway? Pushing it to a central location?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.