It's quite common to have a link to defect/request ticket in SVN commit message, e.g. like in Lucene project: http://www.codenotifier.com/projects/29.
Codenotifier now shows such ticket references as links. For this there is a 'bugtracking' section at New/Edit Project screens. In that screen you can specify project bugtracking type, url and ticket reference patterns as they are used in commit messages.
What's more, Trac bugtracking system is able to show pretty-formatted source difference for given commit. So, for Trac projects Codenotifier now shows 'diff' link for any commit. Example: Rails commits.
What I didn't see before, a lot of projects commit messages refer to another commits numbers, like in this Piston commit. They are now resolved too.
File items in commit changesets now have link 'try', this is a link to the file in source repository. It's called 'try' because files presence is quite volatile in source repositories: given file might have been moved or deleted long ago. Also this link will open HEAD version of that file, not the revision of commit in which it's shown.
What else.. while integrating with Trac changesets I appreciated the fact that it has natural IDs in URLs: it has commit revisions rather than PK of commit in Trac's database. Trac is said to not have a database of commits but that's another story :)
So I decided to make primary URLs for commit pages also use natural IDs. Example, revision 632879 of Lucene.
was: http://www.codenotifier.com/commits/473109
now: http://www.codenotifier.com/projects/29/commits/632879
It now has codenotifier's internal ID of Lucene in URL but that's seem to be not a problem.
Next thing I gonna add is Git support as most non-SVN projects I wanted to add are on Git; and there's also a trend to move existing repositories from SVN to Git. Looked to it briefly; surprised that there's no way to get project changelog without checking the source out (unlike Subversion). Wonder if my hosting HDD limit (10G) will work with it.
Tuesday, March 11, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment