Hi Kristis,

 

We have discovered a problem that we have with using Test Director with
ScmBug.

 

It is possible that a bug in Test Director can be "locked" by some-one
updating it.  This means that when we do a commit the "read" checks in
the pre-commit hook pass OK, but then when the post-commit hook tried to
"update" the bug it fails to get the write lock required and so it
doesn't get the updates.

 

What I'd like to add is a new method called something like
"check_bug_lock" which can be called as part of the pre-commit hook to
see if the bug is in a state that will enable it to be updated.  Ideally
I'd like to add this to the integration layer so that it can be
implemented by any bug-tracking system (obviously default will be to
return not locked if bugs are never locked in the specific system).

 

What do you think?

 

(I wanted to avoid fixing it specifically for Test Director in case it
may also be an issue for other systems)

 

Thanks

 

Rob

 

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to