rancid-cvs(1)
π rancid-cvs β the manual page, but make it cute π
okay bestie, this is rancid-cvs(1) from the General Commands Manual section, and honestly? she's the setup queen. she gets your whole rancid world born. let's get into it π«Ά
β¨ NAME β¨
rancid-cvs β initialize CVS, Subversion or git and rancid group files and directories π
πΈ SYNOPSIS πΈ
rancid-cvs [-V] [-f config_file] [group [group ...]]
π¦ DESCRIPTION π¦
So. rancid-cvs creates the directories and router.db(5) for each rancid group, and it handles the whole revision control system situation β that's CVS, Subversion or git β in the location defined by the CVSROOT in rancid.conf(5). no cap, that's the job. π
β οΈ she must be run after the initial installation, and again whenever a rancid group is added. like, this is not optional, bestie.
Also important: if CVSROOT is a URL, rancid-cvs will not initialize the repository β the user has to do that themselves. it's giving "you're on your own for that part" π
Here's how the whole thing flows, fr fr:
rancid-cvs reads rancid.conf(5) to configure itself, then proceeds with the initialization. First the CVS, Subversion or git repository, if necessary β and then for each of the rancid groups, either those listed on the command line or those in the variable LIST_OF_GROUPS from rancid.conf(5) if the argument is omitted. main character energy, she handles both paths β¨
And here's the slay part: running rancid-cvs for groups which already exist will not cause problems. π
- if the group's directory already exists β the import into the revision control system is skipped π
- if its
router.db(5)already exists β it will not be altered π
idempotent queen, we love to see it.
The command-line options are as follows:
π OPTIONS π
-Vβ prints package name and version strings. that's it, that's the vibe β¨-f group_config_fileβ specify an alternativerancid.conf. heads up though: the globalrancid.conffile is read byrancid-run. π«Ά
okay and now for the actual life advice section:
The best method for adding groups is by adding the group name to LIST_OF_GROUPS in rancid.conf(5), then run rancid-cvs.
π Do not create the directories manually. allow rancid-cvs to do it. she's got it, let her cook π₯
π SEE ALSO π
cvs(1), git(1), rancid.conf(5), router.db(5), svn(1)
π CAVEATS π
okay this one's the plot twist, so listen up:
In the case of git, the groups are not exactly imported into the repository β rather, a new repository is created for it, due to the way that git handles, what it calls, sparse checkouts. π
Instead, each group is a separate repository under the CVSROOT directory. so like, they're all roommates in the CVSROOT house but each one has her own room π β¨ iykyk
and that's the whole page, bestie!! no notes. this was written way back on 18 December 2014, and it's still out here living its rancid-cvs(1) truth. periodt π
π¦πΈ
π¦ where this page comes from
- alpine 3.24: rancid-doc 3.14-r0 Β· BSD-3-Clause-No-Nuclear-License-2014
- debian bookworm: rancid 3.13-2+b1 Β· BSD-4-Clause
- debian trixie: rancid 3.14-1 Β· BSD-3-Clause
- epel 9: rancid 3.13-7.el9 Β· BSD with advertising
- fedora 43: rancid 3.13-16.fc43 Β· BSD-3-Clause
- fedora 43: rancid 3.14-1.fc43 Β· BSD-3-Clause
- fedora 44: rancid 3.13-17.fc44 Β· BSD-3-Clause
- fedora 44: rancid 3.14-1.fc44 Β· BSD-3-Clause
- nixos 26.05: rancid 3.13
- nixpkgs unstable: rancid 3.13
- ubuntu jammy: rancid 3.13-1 Β· BSD-4-Clause
- ubuntu noble: rancid 3.13-3 Β· BSD-4-Clause
- ubuntu questing: rancid 3.14-1
- ubuntu resolute: rancid 3.14-1build1 Β· BSD-3-Clause
- ubuntu stonking: rancid 3.14-1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms