Note that there are some explanatory texts on larger screens.

plurals
  1. POGIT SVN with subgit and apache
    primarykey
    data
    text
    <p>I've started evaluating a piece of software called <a href="http://subgit.com/" rel="nofollow">subgit</a> which seamlessly allows you to interface a repo with either SVN or GIT.</p> <p>Throughout our organization we interface our repos using apache, and trying to combine this with GIT becomes somewhat troublesome.</p> <p>Overall we want to permit read-access without authentication, and write should be authenticated, this works fine with SVN but doesn't seem to be as straight-forward with GIT.</p> <p>In addition to this it would be neat to have apache identify whether it's a GIT/SVN request and figure out where to point the client so that you can use the same url regardless of what repo-system you're using.</p> <p>Below is the config, right now we've proper read-access w/o auth for svn and write-access with auth, but for GIT it's r/w without authentication.</p> <pre><code>ServerName android.subgit.domain.tld DocumentRoot /home/subgit/public_html CustomLog /home/subgit/logs/access_log combined SetEnv GIT_PROJECT_ROOT /home/subgit/repos/subgit-repo SetEnv GIT_HTTP_EXPORT_ALL SetEnv REMOTE_USER $REDIRECT_REMOTE_USER ScriptAlias /git/ /usr/local/libexec/git-core/git-http-backend/ &lt;LocationMatch "/svn"&gt; DAV svn SVNPath /home/subgit/repos/subgit-repo Include /etc/apache2/conf.d/auth-mysql AuthzSVNAccessFile /home/subgit/etc/subgit-repo &lt;LimitExcept GET PROPFIND OPTIONS REPORT&gt; Require valid-user &lt;/LimitExcept&gt; &lt;/LocationMatch&gt; &lt;LocationMatch "/git"&gt; Options +ExecCGI &lt;/LocationMatch&gt; &lt;Directory "/usr/local/libexec/git-core/git-receive-pack"&gt; Include /etc/apache2/conf.d/auth-mysql Require valid-user &lt;/Directory&gt; &lt;/VirtualHost&gt; </code></pre> <p>Any input would be appreciated!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload