[rancid] Re: Adding version tags into CVS/config files
john heasley
heas at shrubbery.net
Mon Sep 25 21:27:13 UTC 2006
To me, the more interesting bit is just the release, not the CVS revision.
That is simple as replacing @VERSION at . Also, hpuifilter -v will report
the version.
Mon, Sep 25, 2006 at 05:00:28PM -0400, Burton Windle:
>
>
> 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
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
More information about the Rancid-discuss
mailing list