1 / 13

CVS

CVS. Concurrent Version System. Mickaël DESPREZ NOVEMBRE 2000. PLAN. Pourquoi utilise t ’on CVS ? Utilisation courante Comment utiliser CVS ? Bibliographie Conclusion Question ?. Mickaël DESPREZ NOVEMBRE 2000. Pourquoi utilise t ’on CVS ?.

manelin
Download Presentation

CVS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CVS Concurrent Version System Mickaël DESPREZ NOVEMBRE 2000

  2. PLAN Pourquoi utilise t ’on CVS ? Utilisation courante Comment utiliser CVS ? Bibliographie Conclusion Question ? Mickaël DESPREZ NOVEMBRE 2000

  3. Pourquoi utilise t ’on CVS ? - Travailler à plusieurs sur les mêmes fichiers en même temps. - Gérer les versions des sources d ’un développement. - suivre les versions d ’un logiciel externe. - Gestion des branches de développement. Mickaël DESPREZ NOVEMBRE 2000

  4. Utilisation courante Développeur A Développement update checkout checkin référentiel Développeur B Mickaël DESPREZ NOVEMBRE 2000

  5. checkin résolution du conflit checkin update X conflit Le vrai développement avec CVS Développeur A référentiel Développeur B Mickaël DESPREZ NOVEMBRE 2000

  6. Comment utiliser CVS ? Pour utiliser CVS il faut tout d ’abord créer le référentiel : $ CVSROOT=:local:/home/cvs/master $ export CVSROOT $ cvs init Mickaël DESPREZ NOVEMBRE 2000

  7. Comment utiliser CVS ? (1) Commande de base : cvs [basic-options] <command> [cmd-options] [files] Commandes : import, chekout update, commit add, remove status, diff, log tag ... Mickaël DESPREZ NOVEMBRE 2000

  8. Comment utiliser CVS ? (2) Il faut importer ou créer un source : $ cvs import -m "enregistrement sous CVS" /home/toto Recup Vo Cette commande permet d ’importer un projet " toto " déjà existant Mickaël DESPREZ NOVEMBRE 2000

  9. Comment utiliser CVS ? (3) Pour pouvoir récupérer une copie de travail (checkout) : $ cvs co ir98 Un répertoire de travail (temporaire) "ir98" sera créé. Pour mettre à jour la base avec ses fichiers (checkin): $cvs commit Mickaël DESPREZ NOVEMBRE 2000

  10. Comment utiliser CVS ? (4) Décharger remettre à jour un fichier depuis le serveur CVS : $ cvs update chemin/fichier1 Procédure d ’ajout d ’un fichier : $ cvs add fichier1 Mickaël DESPREZ NOVEMBRE 2000

  11. Bibliographie - Man 1 cvs - CVS - Configuration et mise en œuvre - O ’REILLY - CVS-Site <http://www.cvshome.org/> Mickaël DESPREZ NOVEMBRE 2000

  12. Conclusion : - CVS : Ca Vous Simplifie la vie de groupe : update - CVS : Ca Vous Sauve la Vie : gestion de version - CVS : Ca Vous Signale ce qui se passe : update notice - CVS : C ’est Vraiment Super :-) Mickaël DESPREZ NOVEMBRE 2000

  13. Question : ? Mickaël DESPREZ NOVEMBRE 2000

More Related