version number (was: Re: r112 - trunk)

Peter Palfrader peter@palfrader.org
Thu, 25 Mar 2004 10:32:56 +0100


--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, 25 Mar 2004, Laurent Fousse wrote:

> 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.
>=20
> Yes, but what kind of configuration do you want to make there ?

Hmm, preable, and other texts which eventually should become config
options.

>                                                                 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).
>=20
> > > 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@@.
>=20
> 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.
>=20
> 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) ?

The version issue should be fixed now, can you test?

Peter
--=20
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
    messages preferred.    | : :' :      The  universal
                           | `. `'      Operating System
 http://www.palfrader.org/ |   `-    http://www.debian.org/

--GvXjxJ+pjyke8COw
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)

iD8DBQFAYqdIz/ccs6+kS90RAiTXAJ95Oj8ZjFMkDx7E+AkOv/l4MFvWWwCeIuwx
gVrWfkAT+TRd2Pzh5XWfYrc=
=hGiG
-----END PGP SIGNATURE-----

--GvXjxJ+pjyke8COw--