Re: Migrate from Git to SVN on Fedora server

Nathan Hartman <[email protected]>
Newsgroups gmane.comp.version-control.subversion.user
Message-ID <CAJT2EHocJm6TE_-diiXHDRqD6CShikHC5XMh1c7G-UyBdA+sWw@mail.gmail.com>
On Tue, May 21, 2024 at 6:55 AM Jeffrey Walton <[email protected]> wrote:

> Hi Everyone,
>
> I'd like to migrate some source code from Git to SVN on my Fedora
> server. The rub is, I'd like to use Nginx instead of Apache.
>
> I think I can switch the repo from Git to SVN by performing the
> following at the server:
>
>     cd /var/test-src
>     find . -name '.git' -exec rm -rf {} \;
>     svnadmin create /var/test-src
>
> That should stand up the SVN server on the existing source code (that
> was formerly under Git). Also see
> <https://stackoverflow.com/a/4798034>.
>
> What I am less sure about is, how to put a Nginx web front-end on the
> SVN repo. What I have come across is using Apache+Nginx with Nginx in
> a proxy configuration. I would prefer to have a purely Nginx web
> server.
>
> Does anyone have a recommendation for a Nginx web front-end?
>
> Thanks in advance.
>

Hi Jeffrey,

The reason why you can find setups that use Apache-only or Apache+Nginx,
but not Nginx alone, is because access to Subversion repositories through
Apache requires use of an Apache module (mod_dav_svn). Currently there
isn't such a module for Nginx.

Hope this helps,
Nathan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.