Difference between revisions of "Sysop SVN"
From A-Eskwiki
(→Checkout) |
m |
||
Line 1: | Line 1: | ||
− | Op de [[Sysop]] [[SVN]] staan twee repositories: [[Sysdoc|doc]] en [[Sysop Scripts|scripts]]. | + | Op de '''[[Sysop]] [[SVN]]''' staan twee repositories: [[Sysdoc|doc]] en [[Sysop Scripts|scripts]]. |
== Checkout maken == | == Checkout maken == |
Revision as of 12:22, 18 September 2012
Op de Sysop SVN staan twee repositories: doc en scripts.
Checkout maken
Autorisatie
Om checkouts te maken is een aantal stappen vereist. Maak allereerst een speciale ssh-key voor je SVN checkout
$ ssh-keygen -t rsa -f ~/.ssh/id_svn_rsa
Zet jezelf in `~svnsysop/.ssh/authorized_keys` op square door er de volgende regel aan toe te voegen:
command="svnserve -t --tunnel-user $gebruikersnaam",no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty $public-key
Checkout
Voeg aan `~/.ssh/config` de volgende regels toe:
Host svnhost Hostname square User svnsysop IdentityFile ~/.ssh/id_svn_rsa
Ga naar de map waar je de checkout wil (bijvoorbeld `~/sysop/scripts`) en voer het volgende uit:
$ svn checkout svn+ssh://svnhost/var/lib/svn/sysop/trunk/scripts .