Hi Steve,

Am 22.12.10 23:22, schrieb Steve S:
> I would like to ensure that the users on my team reference at least
> one valid and open trac ticket when they commit to SVN.  This will
> ensure that they use SVN for all of their tasking.  It appears that I
> can commit to svn without referencing any tickets, and I'd like to
> change that behavior, somehow.  If that is possible, will a user that
> isn't the owner of the ticket be able to check in when referencing
> someone else's ticket?  That is a behavior that I'm looking for, as
> well.

If you want to achieve that, you will have to write some code.

You could do some simple content checks in the script itself and just
return an error in the pre-commit hook if no ticket is referenced.

But if you want to check what is happening in Trac and who owns the
ticket, you can have a loot at agilo/utils/svn_hooks.py which implements
this behaviour.

Hope this helps,

Martin

-- 
Follow Agilo on Twitter: http://twitter.com/agiloforscrum
Please support us by reviewing and voting on: 
http://userstories.com/products/8-agilo-for-scrum 
http://ohloh.net/p/agilo-scrum 
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Scrum" Google Group. This group is focused on
supporting Agilo for Scrum users and is moderated by
Agilo Software GmbH <http://www.agiloforscrum.com>.

To post to this group, send email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/agilo

Reply via email to