Julien Henry wrote:
Hi everybody,
I'm starting to write the provider for Synergy CM, and the first
(expected) problem is how to deal with Synergy tasks. This is a notion
you can't find in CVS/SVN, but it's very important for Synergy users.
I'm a newbie in Synergy, but here is a typical usecase I understood:
1) you want to work on a project/file/object "foo" to correct a bug
2) you create a task named "fix foo asap"
3) you checkout "foo" for task "fix foo asap" ("foo" will be associated
to the task)
4) you make some changes
5) you checkin "foo" (implicitly for the task associated)
Repeat 4, 5 (same developper) or 3, 4, 5 (another developper) X times
6) When "foo" is fixed, you can complete/checkin the task (don't really
understand the difference)
I don't know if it's possible/usefull, but I consider adding createTask
and completeTask to the Scm API, and add 2 targets to the SCM plugin.
I'm not really sure if that's something that would fit in the genral SCM
API. The biggest issue is that everything that's using the API would
have to be updated to always create tasks before doing their normal work.
I'd like to see some more code/documentation on how it would all work out.
--
Trygve