[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[TSVN] Re: bugtraq enhancement proposal: changing bug status

From: Jens Scheidtmann <Jens.Scheidtmann_at_bayerbbs.com>
Date: 2005-01-06 09:28:42 CET

Ivan-Assen Ivanov <ivanassen@gmail.com> writes:

> Reduce the bug resolution combobox to a single checkbox? True means
> "mark as whatever the bugtracker understands as
> fixed/resolved/closed/whatever", false means "don't change status".
>
> > The bugtraq: props allow to specify multiple issue numbers in one
> > commit. So how should we handle that case? Add the same status to all
> > issues? But then you couldn't close one issue and still assing the
> > commit to another issue (e.g. Fixes issue 888, brings issue 456 one step
> > further).
>
> I can't think of a way to handle this, let alone in this small space.
> (Setting aside hack'n'slash solutions like entering "888F;456" in the
> Bug ID box.) But even with the simplistic resolution of propagating
> the status change to all bugs, this will be useful in the (probably)
> more common case, while the more complex operations can still be
> performed via the normal bugtracker interface.

Bug states and their interrelationships can become arbitrarily
complex. In addition, what do you do, if the state a bug currently
is in does not allow the state choosen in the combo box?

I think the general case would require a full fledged state machine
implemented into TSVN, which you would configure using properties.
(In addition you would need to query the bug database...)

I would leave everything like this to hook scripts parsing the
log-message. Even know you're free to add your own tags, parse them in
your pre-commit-hook and do whatever needs to be done.

Very handy though, would be a property, which would be displayed in
the commit dialog (or where apropriate), so you can give your
developers a reminder which keywords exist and how they're used by the
hooks to interface with the bug database (e.g. bugtraq:commit-help).

Jens

-- 
Jens.Scheidtmann@bayerbbs.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jan 6 09:29:24 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.