Tags
(2026-08-26)
The way I do it is that I have a rancid configured to run using my home directory instead of the system directories, that way all the logins and changes in the audit system are associated to me, and the main repository is not poluted with a million interum versions that nobody is ever going to care about.
- Update rancid and then tag the rev you want to keep:
export CVSROOT=/home/david/rancid/CVS
rancid-run
cvs tag checkpoint
So if I'm in /home/david/rancid/switchset/configs, the tag command will tag the switch versions in configs, but not tag ../router.db and friends. If the router.db etc is important then you hav to run the tag command from the switchset directory. Or specify it explicitly in the command.
- Workie workie, and then update the config again:
[...]
rancid-run
[...]
rancid-run]
- Check diff against the fixed baseline:
cvs diff -r checkpoint
- Later you might want to know what the tags on the repository are.
Run cvs headand look at the Symbolic Names section:
[...]
RCS file: /home/david/rancid/CVS/switchset/router.db,v
Working file: router.db
head: 1.3
branch:
locks: strict
access list:
symbolic names:
checkpoint: 1.1
keyword substitution: kv
total revisions: 3
[...]
- And if you want to remove the tag from the repository:
cvs tag -d checkpoint