monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] RFC: 'suspend' certs


From: Richard Levitte
Subject: Re: [Monotone-devel] RFC: 'suspend' certs
Date: Sat, 07 Jul 2007 21:10:10 +0200 (CEST)

In message <address@hidden> on Sat, 7 Jul 2007 11:53:35 -0700, William Uther 
<address@hidden> said:

willu.mailingLists>    Anyway, I have another proposed solution.  It
willu.mailingLists> is a 'suspend' cert.  It looks the same as a
willu.mailingLists> 'branch' cert in that it contains the name of a
willu.mailingLists> branch.  The effect of a 'suspend' cert is to
willu.mailingLists> remove that revision from any list of heads for
willu.mailingLists> that branch.  If all the heads of a branch are
willu.mailingLists> suspended, then the branch no longer appears in
willu.mailingLists> "mtn ls branches".

I like the idea!

willu.mailingLists> ( http://en.wikipedia.org/wiki/Color_of_the_bikeshed )

It should be clear by now that the bikeshed must be colored violet
with pink dots.

willu.mailingLists>    Notes:
willu.mailingLists>      - A suspend cert does not stop anyone from
willu.mailingLists> making descendants of the revision, and they'll
willu.mailingLists> appear on lists of heads just as normal. 
willu.mailingLists>      - A suspend cert does stop merge from trying
willu.mailingLists> to merge the revision by default.  (I'm looking at
willu.mailingLists> putting the filter in project_t::get_branch_list(),
willu.mailingLists> project_t::get_branch_heads() and
willu.mailingLists> pick_update_candidates())
willu.mailingLists>      - A suspend cert and update interact in a
willu.mailingLists> somewhat complex manner.  If all update candidates
willu.mailingLists> are suspended then they're all considered.  If
willu.mailingLists> some update candidates are not suspended, then all
willu.mailingLists> the suspended candidates are removed.
willu.mailingLists> 
willu.mailingLists> Thoughts, comments?

Only one, really: how do we handle irresponsable usage of that cert.
I would normally expect developers to be responsable (and I'm sure
there are a few laughing at this point ;-)), but I can also imagine
cases when developers become childish over issues and could go into a
suspend war.  Should we care?

Cheers,
Richard

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte                         address@hidden
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis




reply via email to

[Prev in Thread] Current Thread [Next in Thread]