[rancid] Re: Adding version tags into CVS/config files
rancid at gheek.net
Mon Sep 25 21:04:07 UTC 2006
I decided instead waiting to see if people wanted it I will create the
few lines of code to insert exactly what I suggested into the files.
I am writing them now. There will be an option to enable it if you want.
The code won't be the most elegant but hopefully it will get the job
done for many people.
-Lance <lance at gheek.net>
On Mon, Sep 25, 2006 at 05:00:28PM -0400, Burton Windle wrote:
> On Mon, 25 Sep 2006, Lance Vermilion wrote:
> > Hey all,
> > I have seen the question "What version of (rancid/clogin/etc) am I
> > running?" come up a few different times. I know that each script has its
> > own version etc. It would be nice to have something like what is below
> > add at the top of each config. This would make it extremely clear what
> > was used to collect the configs and what versions are being used.
> Speaking from experience as one of those people who has recently asked
> that same question...
> I checked the rancid script for a -v, -V, or --version argument first,
> then went searching the text of the script for a (non-CVS) version. I
> never thought of checking the CVS repo for the RANCID version; having an
> argument to the program (or in this case, the script) and have it spit out
> the version would be, IMHO, very handy (and more in-line with other Unixy
> apps, so more likey to be stumbled upon by the typical admin).
> Having to dig in the CVS repo is, I would think, unlikey to get found
> without some handholding, be it FAQ or list.
> Burton Windle bwindle at fint.org
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
More information about the Rancid-discuss