git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: tytso@mit.edu
To: Adrian May <adrian.alexander.may@gmail.com>
Cc: git@vger.kernel.org, chromium-discuss@googlegroups.com
Subject: Re: Android needs repo, Chrome needs gclient. Neither work. What does that say about git?
Date: Mon, 23 Nov 2009 08:58:17 -0500	[thread overview]
Message-ID: <20091123135817.GB2532@thunk.org> (raw)
In-Reply-To: <65e170e70911222011l776a6aean7bd75f072a806616@mail.gmail.com>

On Mon, Nov 23, 2009 at 12:11:29PM +0800, Adrian May wrote:
> As for gclient and repo, without pretending to be an expert on what
> they actually do, I'm getting a strong gut feeling that if what I'm
> trying to do is pull or push code, then that's about as close as you
> can get to a definition of source control's central purpose. In the
> days of cvs or svn, I'd expect to use the source control for that. How
> come git needs help?

> > these "bolt-on scripts" give the savvy user freedom
> 
> Actually, I think their purpose is precisely the opposite: to regiment
> the ordinary developer into following their process. So having that
> code under the developer's control is a weakness.

If you don't have bolt-on scripts, and you move that into the the core
SCM, then you force *all* projects to use whatever workflow was
decided as being the One True Way of doing things as seen by the SCM
designer.  So the question is whether the SCM *should* regiment all
projects into following the SCM's designers idea of the One True
Workflow.

Git's approach is to say that it will be fairly flexible about
dictating workflow --- who pushs to whom; whether there is a single
"star" repository topology, or something that is more flexible, etc.

You seem to hate this flexibility, because it makes life harder until
you set up these bolt-on scripts.  But that's what many of us like
about git; that it doesn't force us (the project lead) into a single
way of doing things.

As far as my wanting to impose a particular regimen on my project's
developers, I've never been a big fan of the Bondage and Discpline
school of software engineering.  They can use whatever workflow they
like; they just have to deliver patches that are clean.  If they are,
I'll pull from their repository.  If they aren't, I won't.

     	       	     		     	  	    - Ted

  reply	other threads:[~2009-11-23 13:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2d707e8c-2561-470c-beba-c81e16ac441c@k17g2000yqh.googlegroups.com>
2009-11-20 10:51 ` Android needs repo, Chrome needs gclient. Neither work. What does that say about git? Adrian May
2009-11-20 11:31   ` Johannes Schindelin
2009-11-23  4:11     ` Adrian May
2009-11-23 13:58       ` tytso [this message]
2009-11-24  3:48         ` Adrian May
2009-11-24 11:29           ` Bob Hazard
2009-11-24 20:45           ` Daniel Barkalow
2009-11-20 11:50   ` Petr Baudis
2009-11-20 12:46   ` Jakub Narebski
2009-11-20 15:58   ` Clemens Buchacher

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=20091123135817.GB2532@thunk.org \
    --to=tytso@mit.edu \
    --cc=adrian.alexander.may@gmail.com \
    --cc=chromium-discuss@googlegroups.com \
    --cc=git@vger.kernel.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).