How to update a package in CVS
Example: package = muon_index
------ in a p-release (here p14) ------
addpkg muon_index p14-br
make changes
check it compiles and links
cd muon_index
cvs -n -q update
---> do only files that you think should have been modified are listed
with an 'M' before them ? If yes:
cvs commit -R -m "some comment on the changes"
cvs history -Tan muon_index
---> list all tags that are available
if latest tag for muon_index is p14-br-01, call yours p14-br-02:
cvs rtag -r p14-br p14-br-02 muon_index
once this is all done:
make a new release area,
check out p14-br-02 and check that is is OK
if last tag in p-release is p14-br:
The packages hasn't been updated in p14 yet (last tag
p14-br) so the last command
changes to:
cvs rtag -r p14-br p14-br-01 muon_index
---- in a t-release ---
addpkg -h muon_index
make changes
cvs -n -q update
---> do only files that you think should have been modified are listed
with an 'M' before them ? If yes (it's still a good idea at this point to check
if the code compiles and links):
cvs commit -R -m "some comment on the changes"
cvs history -Tan muon_index
---> list all tags that are available
if last tag is e.g. v01-01-02
cvs rtag v01-01-03 muon_index
to add a file
cd muon_index
cvs add directory/newfile
cvs -n -q update will show 'A' in front of this file
? means cvs does not know this file
to remove a file: cvs remove directory/myfile
initial release of a new package
ask release managers for a new package (give czars and their
logins/emails and purpose of package)
to check out the empty package do: addpkg -h --no-prune package_name
I am not sure the next command works:
cvs import -m 'initial import' [package name] [login] v00-00-00
Request a release
Webform
Daniela Bauer