Re: [PATCH/resend] CVS Server: Support reading base and roots from environment
- From
Phil Miller <mille121@illinois.edu>
- Date
- Dec 30, 2009, 17:12 UTC
- Message-ID
- <81f018ac0912300912g25887523g1bdf29fd6e31d011@mail.gmail.com>
- In-Reply-To
- <20091230224108.6117@nanako3.lavabit.com>
On Wed, Dec 30, 2009 at 07:41, Nanako Shiraishi <nanako3@lavabit.com> wrote:
> Junio, could you tell us what happened to this thread? > > Phil Miller's patch to help gitosis installation. No response from > git-cvsserver users.
I never resent with modifications as Junio requested. I've been busy with some end-of-year close-out stuff, and actually wanted to dramatically simplify part of the patch before the resend. I'll do that shortly.
Since Gitosis wants to do repository-level access control before running any Git commands, I figured out a CVSROOT format that would let it do this. Given that, there's only one repository that an invocation of git-cvsserver should be allowed to access, and so the issue of "list separator" and so forth is moot. The resultant CVS command line looks something like
cvs -d ":ext;CVS_SERVER=cvs '/path/to/module':charmgit/path/to/module.git" co -d module
Note that I have had to modify Gitosis to make this, and various other things, work. I had wanted to clean up my work before announcing it, but if it would help you now, it is publicly available from github now:
git://github.com/PhilMiller/gitosis.git
The documentation hasn't been updated, but the recent history makes as least some usage clear. I'll send more details in a follow-up.
Phil