Handling unmergeable files -- a call to arms

Russel Winder russel.winder at concertant.com
Sat May 30 07:59:44 BST 2009


Martin,

On Fri, 2009-05-29 at 09:26 +0200, Martin Pool wrote:
> Hi Russel,
> 
> > The core team still have higher priorities than this, so it is really up
> > to others in the Bazaar community to become involved.
> >
> > My thinking is that we can have a short debate on the list, leading to a
> > group of people splitting off using some mechanism or other, so as to
> > come up with ideas and prototypes that can be submitted to the core team
> > for review.
> 
> It's fine for the discussion to happen on this list, and I suspect
> lots of people working on other things will participate in the
> threads.  It's just that until we've got through more of the things on
> the core plan, like shipping 2.0, nested trees, and the user model
> cleanup, we won't spend much time directly coding on it.

Understood.  There are priorities, and I don't think they are wrong, it
would just be good to get some traction on these non-core problems that
are beginning to irritate more than just me.

> Here are two possible ways forward:
> 
>  * write a science-fiction user manual for how you'd really like it to work

Certainly there needs to be a proposal that is better detailed than the
various emails that have happened to date.  I guess the way forward is
to start a wiki page somewhere so that once started others can
contribute.

>  * write a plugin that does the simplest thing that could possibly
> work (tm) - maybe keeping a list in ~/.bazaar/ of locked files, and
> sending mail when a lock is taken or released - or maybe committing to
> this list in a centralized branch

Clearly going for a plugin is the right direction.  Once things kick off
with actual code there needs to be a project with branch(es) on
Launchpad.

The crucial factor is whether it is possible to intercept all write
requests to a branch.  If it is possible, then creating a
capability/lock system is entirely feasible.  As you say maintain a list
of currently locked files and disallow write access to that file unless
the request comes from the owner of the lock.

-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: russel at russel.org.uk
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:russel.winder at ekiga.net
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090530/21445921/attachment.pgp 


More information about the bazaar mailing list