Repository Names
- Need to be less than 14 characters
--
NickJSinanis - 26 Jun 2006
Tracker_Control Migration
1) project creation
2) give rights and make some initial configs
- export CVSROOT=:kserver:isscvs.cern.ch:/local/reps/Tracker_Ctrl
- cd /tmp
- cvs co CVSROOT
- cd CVSROOT
- modify writers ( all developers/admins must be included)
- commitavail ( add from cmscvs-avail file, without .admin and module_contacts entries )
- tagavail (nothing done, admin w'll do it )
- modules ( from cmscvs )
- get and modify logMail.py and tagMail.py
- chmod a+x logMail.py tagMail.py
- cvs add logMail.py tagMail.py
- echo "ALL \$CVSROOT/CVSROOT/logMail.py %s" >> loginfo
- echo "ALL \$CVSROOT/CVSROOT/tagMail.py" >> taginfo
- echo 'logMail.py could not check out logMail.py !' >> checkoutlist
- echo 'tagMail.py could not check out tagMail.py !' >> checkoutlist
3) give anonymous access
- echo "anonymous" >> readers
- echo "anonymous:yaSGxdkGkeapA" >> passwd ( encrypted from there )
4) Commit changes
- cvs ci -m "commit new settings" .
5) copy the directory(ies) in new tree :
*Before, ask to
cvs.support@cernNOSPAMPLEASE.ch to increase quota if repository > 50Mb
- login on lxplus as cvstrack ( username & login given when the repositiry has been created )
- cd /afs/cern.ch/project/cvs/reps/Tracker_Ctrl
- rsync -avz -e ssh --rsync-path=/usr/local/bin/rsync --exclude "CVSROOT/" --exclude ".admin" root@cmscvs:/cvs_server/repositories/Tracker_Control/ .
Or in fact, we can considere that the directories to migrate are theses seen with viewcvs. Get, modify and run ~graymond/public/update_it_repos
6) enable access from outside cern
7) Clean up on cmscvs
- mv /cvs_server/repositories/Tracker_Control /cvs_server/repositories.migrate/
- remove entry in /opt/Packages/viewcvs/viewcvs.conf
Tools
Docs
cmscvs migration
Todo
* generic accounts seems mot working for check in
Saved tarballs
* all migred/obsolete repositories are available in tar format on castor ( /castor/cern.ch/user/g/graymond/cmsvs_repositories )
-- Main.graymond - 28 Jun 2006