version number (was: Re: r112 - trunk)

Laurent Fousse laurent@komite.net
Thu, 25 Mar 2004 10:03:23 +0100


--TRYliJ5NKNqkz5bu
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le Thu, Mar 25, 2004 at 08:21:39AM +0100, Peter Palfrader =E9crivait:
> On Wed, 24 Mar 2004, Joost van Baal wrote:
>=20
> > 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
> >     };
> > };
> >=20
> > to the top of our example cabotrc?  This would enable splitting off
> > systemwide config from the per-user configuration.
>=20
> Sure, works for me.

Yes, but what kind of configuration do you want to make there ? Some
configuration options are probably never changed by the user and could
be put in the common system rc file, but it would need to be eval'd at
the end of the user cabotrc since you can't interpolate variable that
are not yet defined (I'm thinking of $CONFIG{'sendoutdir'} for
example).

> > Furthermore, the system-wide /etc/cabot/rc could have the tarball's
> > version number in it.
>=20
> Having the version in a conffile?  Please no.  Probably putting it in
> Cabot.pm would be the right thing, possibly with moving Cabot.pm to
> Cabot.pm.{in,am,ac,whatever} and letting auto* replace a @@VERSION@@.

I don't like the idea of having the version in a conffile too, but I
don't know how to do it with autotools.

I'd like to upload a debian package based on r115. Would you rather
like me to wait for some more fix (like the version issue) ?

--TRYliJ5NKNqkz5bu
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)

iD8DBQFAYqBbRoAVF6FpbSsRAgySAJ0WYsOsZijEBVsY0FuYOkXVLNLzCwCdEbR5
I0gF3yf2zHJXZmIq2uYxOjU=
=d+yl
-----END PGP SIGNATURE-----

--TRYliJ5NKNqkz5bu--