[PATCH/RFC] cvsserver: Make configuration way more flexible

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Monday, March 19, 2007 - 11:55 am

Hi.

This patch series started with the thought that it is really cumbersome
to use the pserver access via git-cvsserver without giving the
nobody user write access to the .git directory itself (especially since
SQLite seems to insist on creating temporary files in the
same directory as the database itself on writes).

This problem itself is easily fixable with an one-line patch
to git-cvsserver that uses a gitcvs.dbdir configuration variable.

I tried to abstract the problem a bit more though and created
means to configure all aspects of the database backend in a
very flexible manner. I would glad about comments on wether
I made my solution overly complex on the way...

Most of the changes are tested intensively with test repositories,
exceptions are noted in the individual patches. More testing welcome
of course.

The documentation updates are not yet complete.

Gruesse,
	Frank Lichtenheld

 Documentation/git-cvsserver.txt |   12 ++++++
 git-cvsserver.perl              |   72 ++++++++++++++++++++++++++++------------
 2 files changed, 63 insertions(+), 21 deletions(-)
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH/RFC] cvsserver: Make configuration way more flexible, Frank Lichtenheld, (Mon Mar 19, 11:55 am)
[PATCH 0/3] cvsserver: small corrections and bring documenta..., Frank Lichtenheld, (Sat Apr 7, 10:52 am)
[PATCH 1/3] cvsserver: small corrections to asciidoc documen..., Frank Lichtenheld, (Sat Apr 7, 10:58 am)
[PATCH 2/3] cvsserver: Corrections to the database backend c..., Frank Lichtenheld, (Sat Apr 7, 10:58 am)
[PATCH 3/3] cvsserver: Add asciidoc documentation for new da..., Frank Lichtenheld, (Sat Apr 7, 10:58 am)
[PATCH] cvsserver: Document the GIT branches -&gt; CVS modul..., Frank Lichtenheld, (Thu Apr 12, 10:54 am)
Re: [PATCH] cvsserver: Document the GIT branches -&gt; CVS m..., Frank Lichtenheld, (Thu Apr 12, 6:19 pm)
[PATCH (amend)] cvsserver: Add asciidoc documentation for ne..., Frank Lichtenheld, (Thu Apr 12, 10:43 am)
Re: [PATCH 3/3] cvsserver: Add asciidoc documentation for ne..., Frank Lichtenheld, (Wed Apr 11, 10:34 am)
Re: [PATCH] cvsserver: Use DBI-&gt;table_info instead of DBI..., Frank Lichtenheld, (Sat Mar 31, 10:09 am)
[PATCH 2/5] cvsserver: Handle three part keys in git config ..., Frank Lichtenheld, (Mon Mar 19, 11:55 am)
[PATCH 5/5] cvsserver: Abort if connect to database fails, Frank Lichtenheld, (Mon Mar 19, 11:56 am)
[PATCH 1/5] cvsserver: Introduce new state variable 'method', Frank Lichtenheld, (Mon Mar 19, 11:55 am)
[PATCH 3/5] cvsserver: Allow to override the configuration p..., Frank Lichtenheld, (Mon Mar 19, 11:55 am)
[PATCH 4/5] cvsserver: Make the database backend configurable, Frank Lichtenheld, (Mon Mar 19, 11:56 am)
Re: [PATCH 4/5] cvsserver: Make the database backend configu..., Frank Lichtenheld, (Fri Mar 23, 11:17 am)
Re: [PATCH 4/5] cvsserver: Make the database backend configu..., Frank Lichtenheld, (Fri Mar 23, 2:39 pm)