From: Theodore Tso <tytso@mit.edu>
To: David Jeske <jeske@willowmail.com>
Cc: git@vger.kernel.org
Subject: Re: policy and mechanism for less-connected clients
Date: Tue, 24 Jun 2008 22:33:53 -0400 [thread overview]
Message-ID: <20080625023352.GC20361@mit.edu> (raw)
On Wed, Jun 25, 2008 at 12:36:03AM -0000, David Jeske wrote:
> The purpose of this mechanism is to host a distributed source
> repository in a world where most most developer contributors are
> behind firewalls and do not have access to, or do not want to
> configure a unix server, ftp, or ssh to possibly contribute to a
> project.
> design assumptions:
>
> - all developers are firewalled and can not be "pulled" from directly.
> - there can be one or more well-connected servers which all users can access.
> - .. but which they cannot have ssh, ftp, or other dangerous access to
> - .. and whose protocol should be layered on http(s)
> - there is a shared namespace for branches, and tags
> - .. users are not-trusted to change the branches or tags of other users
Up to here, you can do this all with repo.or.cz, and/or github; you
just give each developer their own repository, which they are allowed
to push to, and no once else. Within their own repository they can
make changes to their branches, so that all works just fine.
> (a) safely "share" every DAG, branch, and tag data in their
> repository to a well-connected server, into an established
> namespace, while only changing branches and tags in their
> namespace. This will allow all users to see the changes of other
> users, without needing direct access to their trees (which are
> inaccessible behind firewalls). [1]
Right, so thats github and/or git.or.cz. Each user gets his/her own
> repository, but thats a very minor change. Not a big deal.
> (b) fetch selected DAG, branch, and tag data of others to their tree, to see
> the changes of others (whether merged with head or not) while disconnected or
> remote.
This is also easy; you just establish remote tracking branches. I
have a single shell scripted command, git-get-all, which pulls from
all of the repositories I am interested in into various remote
tracking branches so while I am disconnected, I can see what other
folks have done on their trees.
> (c) grant and enforce permission for certain users to submit _merges
> only_ onto certain sub-portions of the "well-named branches"
This is the wierd one. *** Why ***? There is nothing magical about
merges; all a merge is a commit that contains more than one parent.
You can put anything into a merge, and in theory the result of a merge
could have nothing to do with either parent. It would be a very
perverse merge, but it's certainly possible. So what's the point of
trying to enforce rules about "merges only"?
- Ted
next reply other threads:[~2008-06-25 2:34 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-25 2:33 Theodore Tso [this message]
[not found] ` <willow-jeske-01l6@3PlFEDjCVAh-01l6@3N@FEDjCXZO>
2008-06-25 5:20 ` policy and mechanism for less-connected clients David Jeske
2008-06-25 19:17 ` Daniel Barkalow
2008-06-25 20:12 ` Raimund Bauer
2008-06-25 5:20 ` David Jeske
2008-06-25 9:30 ` Jakub Narebski
-- strict thread matches above, loose matches on Subject: below --
2008-06-26 11:37 Theodore Tso
[not found] ` <willow-jeske-01l6@3PlFEDjCVAh-01l6rSE7FEDjCYv6>
2008-06-26 16:21 ` David Jeske
2008-06-26 16:21 ` David Jeske
2008-06-26 5:23 Theodore Tso
2008-06-26 5:26 ` Junio C Hamano
[not found] ` <willow-jeske-01l6@3PlFEDjCVAh-01l6it3ZFEDjCd5X>
2008-06-26 6:08 ` David Jeske
2008-06-26 6:08 ` David Jeske
2008-06-25 14:03 Petr Baudis
2008-06-25 13:34 Theodore Tso
2008-06-25 17:34 ` Junio C Hamano
[not found] ` <willow-jeske-01l6@3PlFEDjCVAh-01l6OB5yFEDjCYe3>
2008-06-25 19:37 ` David Jeske
2008-06-25 20:52 ` Jakub Narebski
2008-06-25 20:54 ` Jakub Narebski
2008-06-25 19:37 ` David Jeske
[not found] ` <willow-jeske-01l6@3PlFEDjCVAh-01l6XqjPFEDjCY6P>
2008-06-25 21:34 ` David Jeske
2008-06-25 22:10 ` Jakub Narebski
2008-06-25 22:13 ` Junio C Hamano
[not found] ` <willow-jeske-01l6@3PlFEDjCVAh-01l6[3InFEDjC[dy>
2008-06-25 23:03 ` David Jeske
2008-06-25 23:03 ` David Jeske
2008-06-25 21:34 ` David Jeske
2008-06-25 0:36 David Jeske
2008-06-25 0:36 David Jeske
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=20080625023352.GC20361@mit.edu \
--to=tytso@mit.edu \
--cc=git@vger.kernel.org \
--cc=jeske@willowmail.com \
/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).