Development/Howto/CVS

From Mandriva Community Wiki

Jump to: navigation, search
CVS Guide

A guide to using Mandriva's CVS repository. Please note that the CVS repository has been deprecated in favor of SVN. You should only use the CVS repository to access things that have not yet been migrated to SVN. No new commits should be made to CVS; if you wish to modify something you should first import it to SVN.

Contents


[edit] How to retrieve a cvs module in read only mode

# use the module of your choice, here we are using rpmlint
# password is 'cvs'
cvs -d [email protected]:/cooker checkout rpmlint

[edit] Various CVS modules on this server

Tools cvs modules Comment
rpmlint rpmlint/
urpmi soft/urpmi/
Specs and patches of main SPECS/ Huge directory, please use the name of the packages
Specs and patches of contribs contrib-SPECS/
DrakX gi/
drakwizards soft/wizard_perl
upload script robot
most drakxtools gi/perl-install/standalone

[edit] Making an rpm of drakxtools from cvs

# password is 'cvs'
# this take some time
cvs -d [email protected]:/cooker checkout gi
cd gi/perl-install
make localrpm

[edit] Using a passwordless cvs connection

If you have cvs write access ( by having asked for a good reason to <cvs at mandriva.com> ), you can use an ssh connection to not type your password each time you do diff or a checkout.

To add your ssh identity, to your account on cvs.mandriva.com, you have to use the following command:

ssh <your_login>@cvs.mandriva.com update-ssh-key < <your public key> 

Then you can use your account without password for example to checkout the po module like this:

cvs -d <your_login>@cvs.mandriva.com:/cooker co po

And if you need to change your password on the cvs server, use (don't forget the -t):

ssh -t <your_login>@cvs.mandriva.com passwd

[edit] To read

Personal tools