Feeds:
Posts
Comments

Archive for the ‘computer’ Category

Serveurs SVN

Subversion (SVN) est un outil informatique qui permet de gérer la collaboration sur des documents et en particulier des textes. Il automatise (jusqu’à un certain point!) la mise en commun des modifications et systématise l’archivage. Son utilisation nécessite un logiciel sur la machine de chaque collègue (“client svn”) mais aussi un logiciel (“serveur svn”) tournant sur une machine constamment connectée à internet.

Quelques serveurs publics que je connais:

  1. Les services numériques de la PLM (plateforme mathématique en ligne de mathrice, accessible avec les identifiants PLM ou par invitation) – j’y ai rencontré des problèmes d’ouverture de mes projets mais les informaticiens de mathrice ont été très réactifs;
  2. Au département de mathématiques d’Orsay, le serveur FOSA (accessible sur demande auprès du service informatique) –  j’ai arrêté de m’en servir après son arrêt de durée indéterminée.
  3. La forge Enseignement supérieur et Recherche.

Any additional information, link, corrections are welcome.

Some information on using SVN with the PLM:

A. Using an existing repository

1. You should make sure that you have a svn (subversion) client installed on your computer. (I have svntortoise which does this through clicks but works only on windows). For basic concepts and terminology see this glossary.

2. Then create on your computer an EMPTY folder (let us call it your local folder) where you want to work (don’t put your work there yet). Make this your current folder.

3. If your svn client accepts line commands, you should execute (usually in a linux terminal/window):

svn checkout https://svn.math.cnrs.fr/YOUR-REPOSITORY-NAME

When you do so, you will be prompted for identification – these are your PLM’s identifiers. Hopefully, your svn client will connect to the svn server on the PLM and copy everything in the repository (“depot”) into the current (empty) folder.

4. You can then overwrite the file “perturbation-lemma.tex” in your local folder using the one you worked on.

When “publish” (for Sylvain and me) your modifications, you should execute (in your local folder)

svn commit -m “brief description of the changes” .

(the final dot means that all modified files selected for versioning by svn are transfered).

the text after -m will be recorded for documentation.

5. When you want to update your local folder with what’s on the repository, you should execute (in your local folder)

svn update

6. When you create a new file (say newone.tex) in your local folder and you want it to be uploaded to the repository at the next commit you have to tell svn by executing (in your local folder):

svn add newone.tex

B. Managing repositories through the web interface

1. Logging on the web interface

– You should go to the page: https://portail.math.cnrs.fr/
– Click on the button (top right): connexion
– On the new page, click on the button “mon compte PLM”
– Then you enter your login and password and push the button
– This brings you back to https://portail.math.cnrs.fr/

2. Managing your repositories

– Click the button “Services numériques”
– On the new page, click on “Système de gestion de version”
– The svn manager web page should appear with a list of the project on which you have some rights. If you click on one some information should appear on the right column (I don’t know what information exactly for you).

Read Full Post »