Transcription commentée d'une session d'ajout d'un répertoire dans le repository CVS.

(ajout du répertoire Eval_CPCI du site intranet).
# déclaration du repository distant
# déclaration identique dans Cervisia, outil graphique de gestion de conf
w00-3415% setenv CVSROOT :ext:unx-1923.sfim.fr:/usr/cvsroot
# XXXXX reste a faire : comment insérer le rep directement sous public_html ?
# voir plus bas
# on va dans le répertoire de travail
w00-3415% cd Eval_CPCI/
# contenu du répertoire
w00-3415% ls
CPUBoard_comparison.html                ZT8101.pdf
Cartes_Moto                             adpp4001_rev02.pdf
Criteres_choix.html                     cPB-4305_Manual.pdf
DT64_Technical_Reference_Manual.pdf     cartes_Force
Eval_CPCI_1.html                        cartes_VMIC
Eval_CPCI_2.html                        ct8.dmesg.boot
Eval_CPCI_3.html                        ct8.pdf
Eval_CPCI_4.html                        generalcpci_rev9.ppt
Linux_HTT.html                          index.html
PP12001x_rev02.pdf                      manuels.html
PowerMacG5.pdf                          solectron_pertes.html
SMP.plus                                vmic.dmesg.boot
Samsung_1GB.html                        vmic.script.crash
ZT5515.pdf                              vmic.uname-a
# on retire les fichiers non gérés en conf (fichiers binaires)
w00-3415% ls *pdf *ppt > .cvsignore
w00-3415% cat .cvsignore
DT64_Technical_Reference_Manual.pdf
PP12001x_rev02.pdf
PowerMacG5.pdf
ZT5515.pdf
ZT8101.pdf
adpp4001_rev02.pdf
cPB-4305_Manual.pdf
ct8.pdf
generalcpci_rev9.ppt
# listing de répertoires de documentation (non gérés en conf)
w00-3415% ls cartes_Force/
20005392401000aa.pdf                    217821410000aa.pdf
217328420000ae.pdf                      220455420000aa.pdf
217490420000aa.pdf                      NDA_Roadmap_CPCI-7xx_190603_sagem.pdf
217778420000aa.pdf                      RG_CPCI_740_ab1.pdf
w00-3415% ls cartes_VMIC/
Help.txt        images          index.html      manuals         specs
w00-3415% ls Cartes_Moto/
5385.pdf        5385US~1.PDF    TAURUS~1.PDF
5385PR~1.PDF    Man_Taurus.pdf  TAURUS~1.ZIP
# on enlève les répertoires de documentation
w00-3415% cat >> .cvsignore
cartes_Force
cartes_VMIC
Cartes_Moto
^D
# et voilà l'import des fichiers
w00-3415% cvs import -m "init" Eval_CPCI tfh Initial
N Eval_CPCI/index.html
I Eval_CPCI/PP12001x_rev02.pdf
N Eval_CPCI/manuels.html
I Eval_CPCI/cPB-4305_Manual.pdf
I Eval_CPCI/ct8.pdf
I Eval_CPCI/DT64_Technical_Reference_Manual.pdf
I Eval_CPCI/ZT5515.pdf
I Eval_CPCI/ZT8101.pdf
I Eval_CPCI/cartes_Force
N Eval_CPCI/Eval_CPCI_1.html
N Eval_CPCI/solectron_pertes.html
I Eval_CPCI/adpp4001_rev02.pdf
N Eval_CPCI/Eval_CPCI_2.html
N Eval_CPCI/CPUBoard_comparison.html
N Eval_CPCI/Criteres_choix.html
I Eval_CPCI/cartes_VMIC
N Eval_CPCI/Eval_CPCI_3.html
N Eval_CPCI/vmic.uname-a
I Eval_CPCI/generalcpci_rev9.ppt
N Eval_CPCI/Linux_HTT.html
I Eval_CPCI/PowerMacG5.pdf
N Eval_CPCI/Samsung_1GB.html
N Eval_CPCI/vmic.script.crash
N Eval_CPCI/vmic.dmesg.boot
N Eval_CPCI/SMP.plus
N Eval_CPCI/Eval_CPCI_4.html
N Eval_CPCI/.cvsignore
N Eval_CPCI/ct8.dmesg.boot
I Eval_CPCI/Cartes_Moto

No conflicts created by this import

w00-3415% dirs
/dos_d/recup/public_html/Eval_CPCI ~
w00-3415% cd ..
w00-3415% ls
Docs_CVS        Install_FreeBSD Win_Lin         notes_LDAP      proces_SCO
Docs_NSS        Install_Linux   fichiers_conc   notes_SNMP      templates
Eval_CPCI       PostGres        fichiers_moto   perso           tftp
Html_Help       Unix            links           photos          toolbars
# on sauvegarde le répertoire de travail initial
w00-3415% mv Eval_CPCI/ Eval_CPCI.ori
# et on récupère les fichiers gérés en conf
w00-3415% cvs co Eval_CPCI
cvs checkout: Updating Eval_CPCI
U Eval_CPCI/.cvsignore
U Eval_CPCI/CPUBoard_comparison.html
U Eval_CPCI/Criteres_choix.html
U Eval_CPCI/Eval_CPCI_1.html
U Eval_CPCI/Eval_CPCI_2.html
U Eval_CPCI/Eval_CPCI_3.html
....
w00-3415% cd Eval_CPCI
w00-3415% pushd ../Eval_CPCI.ori/
# puis les éléments non gérés en conf
w00-3415% mv Cartes_Moto/ cartes_* ../Eval_CPCI
w00-3415% cp generalcpci_rev9.ppt ../Eval_CPCI
w00-3415% cp PowerMacG5.pdf ../Eval_CPCI
# session en important au "bon" endroit dans cvsroot
w00-3415% pwd
/dos_d/recup/public_html/Docs_NSS
w00-3415% cvs import -m "init" public_html/Docs_NSS tfh Initial
I public_html/Docs_NSS/Docs_divers
I public_html/Docs_NSS/pres_NSS
I public_html/Docs_NSS/pres_banc_test
I public_html/Docs_NSS/reunions_3P.html
I public_html/Docs_NSS/NSS-SW.html
I public_html/Docs_NSS/PTS_NSS
I public_html/Docs_NSS/Datasheets/External_test_bench_Datasheet-v0.2.doc
I public_html/Docs_NSS/Datasheets/Reference_Application_Datasheet-v0.2.doc
N public_html/Docs_NSS/index.html
N public_html/Docs_NSS/protocoles.html
N public_html/Docs_NSS/.cvsignore
cvs server: Importing /usr/cvsroot/public_html/Docs_NSS/Datasheets
N public_html/Docs_NSS/Datasheets/.cvsignore
N public_html/Docs_NSS/Datasheets/External_test_bench_Datasheet-v0.2.htm
N public_html/Docs_NSS/Datasheets/Reference_Application_Datasheet-v0.2.htm
cvs server: Importing /usr/cvsroot/public_html/Docs_NSS/IVC_overview
N public_html/Docs_NSS/IVC_overview/IVC perimeter definition.htm

No conflicts created by this import

w00-3415%

$Id: session_ajout.html,v 1.6 2004/02/12 09:49:07 herbelot Exp $