Subversion¶
As of October 2020 Opalstack supports manual Subversion repository creation via svnadmin and repo access via svn+ssh. Support for HTTPS access to repositories is coming soon!
To create a Subversion repo:¶
-
Create a new shell user. You can use an existing shell user if you wish.
-
Log in to SSH as your shell user.
-
Run the following command to create your repository. This example will create a repo named
myrepoin the root of the shell user's home directory:svnadmin create ~/myrepo
To access a Subversion repo:¶
-
Open a terminal window on your local machine
-
Use the
svncommand to access the repo over the svn+ssh protocol. This example will check out themyreporepository that was created in the example in step 3 above, usingmyuseras the shell user name: svn checkout svn+ssh://myuser@opalN.opalstack.com:/home/myuser/myrepo
If you're using a GUI Subversion client that supports svn+ssh then you can configure your repo connection to use that same connection URL.
