version number (was: Re: r112 - trunk)
Joost van Baal
joostvb@mdcc.cx
Wed, 24 Mar 2004 19:42:23 +0100
--Z+4AIOC3PbWQhL6C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Mar 24, 2004 at 07:10:11PM +0100, Peter Palfrader wrote:
> On Wed, 24 Mar 2004, Joost van Baal wrote:
> > On Wed, Mar 24, 2004 at 11:04:26AM -0700, Peter Palfrader wrote:
> > > Author: weasel
> > > Date: 2004-03-24 11:04:10 -0700 (Wed, 24 Mar 2004)
> > > New Revision: 112
> > <snip>
> > > --- trunk/TODO 2004-03-24 18:00:21 UTC (rev 111)
> > > +++ trunk/TODO 2004-03-24 18:04:10 UTC (rev 112)
> > > @@ -9,6 +9,10 @@
> >=20
> > > + - Do away with outdated Revision variables, instead have a global
> > > + version number.
> >=20
> > O my, I'd love to handle that one. One more joostvb timesink detected
> > here...
> >=20
> > Expect fixed in a couple of days.
>=20
> Great.
How about adding
my $systconfig =3D /etc/cabot/rc';
if (-f $systconfig) {
unless (scalar eval `cat $systconfig`) {
die "Couldn't parse $systconfig: $EVAL_ERROR\n" if $EVAL_ERROR
};
};
to the top of our example cabotrc? This would enable splitting off
systemwide config from the per-user configuration.
Furthermore, the system-wide /etc/cabot/rc could have the tarball's
version number in it. I could create a file rc in our repository, which
gets installed as /usr/local/etc/cabot/rc per default. ( /etc/cabotrc
in the Debian package, off course, using ./configure's --systconfdir .)
Bye,
Joost
--Z+4AIOC3PbWQhL6C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAYdaPBgac8paUV/ARAt+zAJ4v2UXh2bRT3YjoXm5Mn1qHsLtzMQCfVGI3
Clp5ZLPe2hOWi1CSKdSw2xQ=
=vd6Y
-----END PGP SIGNATURE-----
--Z+4AIOC3PbWQhL6C--