git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Roundy <droundy@abridgegame.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Junio C Hamano <junkio@cox.net>,
	git@vger.kernel.org, Petr Baudis <pasky@ucw.cz>,
	darcs-devel@darcs.net
Subject: Re: [OT] mutually supervised developers
Date: Sun, 12 Jun 2005 07:47:49 -0400	[thread overview]
Message-ID: <20050612114745.GA9670@abridgegame.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0506111612140.2286@ppc970.osdl.org>

On Sat, Jun 11, 2005 at 04:14:38PM -0700, Linus Torvalds wrote:
> On Sat, 11 Jun 2005, Junio C Hamano wrote:
> > 
> > I am wondering if the world would be a better place if this
> > fictitious project sets up public repositories in the following
> > way:
> > 
> >  (1) each developer's own repository is public;
> > 
> >  (2) these developers pull from each other "only good stuff",
> >      rejecting things he or she feels questionable.  Let's
> >      forget that current GIT does not give a direct support for
> >      cherrypicking for now.
> > 
> >  (3) the public canonical repository is updated to contain the
> >      intersection (_not_ union) of these developer repositories.
> >      Let's also forget that current GIT does not have automated
> >      way to do such a thing.
> 
> I've thought about it, but one problem ends up being the history.
> 
> Even if both developers have the same patches, they may not have gotten
> them in the same order, which means that it's basically impossible to
> retain history when doign an intersection. Unions are different - we can
> just add the new history when we create a union.

Right, cherry picking and history don't go well together--which is why
darcs doesn't normally store a real history (although it can do so--you
just can't keep certain portions of the history unless you accept the
patches involved).

There are also issues in defining the intersection of all patches.  Ideally
if you take the union of that intersection with one of the original
repositories, you'd get that same repository back, but most naive
implementations of union/intersection won't have that property, which would
lead to confusion and inconvenience.

This sort of workflow would actually be pretty easy to implement in darcs,
if someone were interested.

On Sat, 11 Jun 2005, Junio C Hamano wrote:
> Would people find something like this arrangement workable and
> worthwhile?

I think the biggest issue would be the one mentioned about the problems
with a single lazy developer.  But I think rather than some sort of
majority rule (or "if three developers think it's okay, then it's okay"),
keeping the number of relevant developers down would make sense.  This also
makes sense in that unless you've got seriously dedicated developers, you
don't want to force everyone to read every patch.  I think if you went with
a system like this and wanted many maintainers involved, it would probably
best to organize things hierarchically.
-- 
David Roundy
http://www.darcs.net

      reply	other threads:[~2005-06-12 11:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-11 21:19 [OT] mutually supervised developers Junio C Hamano
2005-06-11 23:14 ` Linus Torvalds
2005-06-12 11:47   ` David Roundy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050612114745.GA9670@abridgegame.org \
    --to=droundy@abridgegame.org \
    --cc=darcs-devel@darcs.net \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    --cc=pasky@ucw.cz \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).