|
Contents
|
C-h m | Display the keys binding |
g | status update |
U | update |
a | add file |
A | add file recursively |
c | commit (C-x cc) |
m | mark file |
u | unmark file |
diff on the forge: https://forge.in2p3.fr/projects/calice/repository/revisions/1609/diff
$ svn diff -r BASE:1606 | diffstat $ svn diff -r BASE:1606 > myPatch $ patch -p0 < myPatch (see man patch)
There is help here
For read-write access people must create there own key and send the public one. Next we must provide it to Loïc Tortaywith a login and precise it is for Calice project.
Next, we can test the key doing:
$ ssh svn-calice
Here is a link to add building keys (there are english explanations too on the same web site).
For read-only access send the private key with instructions. Remind that consulation is granted via viewvc.
We need to build the /.ssh/config file:
Host svn-calice-group svn-calice Hostname svn.in2p3.fr User calice IdentityFile ~/.ssh/id_rsa_group_ro_cvs-in2p3-fr
We need to build the /.ssh/config file:
Host svn-calice Hostname svn.in2p3.fr User nroche PasswordAuthentication no IdentityFile ~/.ssh/svnNRoche_dsa IdentitiesOnly yes RSAAuthentication yes PubkeyAuthentication yes ForwardX11 no ForwardAgent no
Finaly, we can use SVN:
<< ubuntu # aptitude install subversion == # yum install subversion >> slc $ svn co svn+ssh://svn-calice/calice (enter password twice)
Provide theses files:
$ find /home/calice/Applications/nroche/ -type f /home/calice/Applications/nroche/etc/ssh_config /home/calice/Applications/nroche/etc/.ssh/id_rsa_nroche_cvs-in2p3-fr /home/calice/Applications/nroche/bin/ssh
Host svn-calice Hostname svn.in2p3.fr User nroche IdentityFile ~/Applications/nroche/etc/.ssh/id_rsa_nroche_cvs-in2p3-fr IdentitiesOnly yes
#! /bin/sh exec /usr/bin/ssh -F $HOME/Applications/nroche/etc/ssh_config "$@"
Provide also theses files for confort:
$ find /home/calice/Desktop/outils\ svn/ -type f /home/calice/Desktop/outils svn/svn_gastaldi.desktop /home/calice/Desktop/outils svn/svn_nroche.desktop /home/calice/Desktop/outils svn/README.txt
[Desktop Entry] Version=1.0 Type=Application Terminal=false Icon[en_US]=gnome-network-properties Name[en_US]=svn terminal nroche Exec=sh -c 'cd "$HOME/Sources/calice" && \ env "PATH=$HOME/Applications/nroche/bin:$PATH" \ EDITOR=/usr/bin/gedit \ /usr/bin/gnome-terminal --profile=nroche' Name=nroche svn Comment=Terminal to issue svn commits for nroche Icon=gnome-network-properties
Now we can test:
$ PATH=$HOME/Applications/nroche/bin:$PATH $ ssh -v svn-calice debug1: Reading configuration data /home/calice/Applications/nroche/etc/ssh_config debug1: identity file /home/calice/Applications/nroche/etc/.ssh/id_rsa_nroche_cvs-in2p3-fr type -1 debug1: Trying private key: /home/calice/Applications/nroche/etc/.ssh/id_rsa_nroche_cvs-in2p3-fr Enter passphrase for key '/home/calice/Applications/nroche/etc/.ssh/id_rsa_nroche_cvs-in2p3-fr':
Home | Up |