Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10124 closed enhancement (worksforme)

Allow to force CommitTicketUpdater to add only comments

Reported by: anonymous Owned by:
Priority: high Milestone:
Component: general Version: 0.12.2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

In our environment developers are not allowed to close tickets, since we use the ticket workflow with the additional 'testing' status.

In this case I would like that every svn commit message like

this is for #1 #2

only looks for ticket id's like #1 and ignores all other commands like close or ref, and simply assumes that the user says see.

I add a patch where you can set

[ticket]
commit_ticket_update_force_comments = true

In this case, all commands are internally set to see.

Its not thats fine but it works.

Stephane

Attachments (1)

commit_updater.patch (1.3 KB ) - added by anonymous 13 years ago.

Download all attachments as: .zip

Change History (7)

by anonymous, 13 years ago

Attachment: commit_updater.patch added

comment:1 by Remy Blank, 13 years ago

Milestone: 0.12.3
Resolution: worksforme
Status: newclosed

This can already be achieved by setting the configuration as follows:

[ticket]
commit_ticket_update_commands.close =
commit_ticket_update_commands.refs = <ALL>
commit_ticket_update_check_perms = true

It is even documented in the TracIni entry for commit_ticket_update_commands.refs.

in reply to:  1 ; comment:2 by anonymous, 13 years ago

Replying to rblank:

This can already be achieved by setting the configuration as follows: It is even documented in the TracIni entry for commit_ticket_update_commands.refs.

yes … but only after having aktivated the plugin.

I admit I didn't realize this.

Perhaps it would be good to mention

commit_ticket_update_commands.refs = <ALL>

in CommitTicketUpdater too. This was the first doc I did read even before aktivating the commit-ticket-update plugin, and since this possibility was not mentioned, I simly didn't realize this.

Sorry for that :-(

in reply to:  2 comment:3 by Remy Blank, 13 years ago

Replying to anonymous:

Perhaps it would be good to mention

commit_ticket_update_commands.refs = <ALL>

in CommitTicketUpdater too.

Feel free to edit that page and add what you expected to find there.

in reply to:  2 ; comment:4 by anonymous, 13 years ago

Replying to anonymous:

… Sorry for that :-(

You can redeem yourself by editing that Wiki page accordingly :-)

in reply to:  4 ; comment:5 by AdrianFritz, 13 years ago

Replying to anonymous:

You can redeem yourself by editing that Wiki page accordingly :-)

Documented at @ CommitTicketUpdater@10 Please, can you check if it's on the right place and has correct information?

in reply to:  5 comment:6 by Remy Blank, 13 years ago

Replying to AdrianFritz:

Please, can you check if it's on the right place and has correct information?

Looks great, thanks!

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.