-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Guess I was forgetting to hit "Reply-All" today... resent to list.

Christopher G. Lewis wrote:
> Micah -
>
>   I haven't tested this yet, but I've been pondering on the impact of having
> a dependency on Hg for the actual build process of Wget.  Seems like an
> awful lot of trouble for a product that in the past has only needed
> Make|Nmake and a C compiler.

No dependency: that's what the "-" at the beginning of the line is for.
If hg is not present, it just says "1.12-devel".

>   Is it possible with Hg to create a file that consists of the TIP Output?
> We could then echo this back through this section of the make file rather
> then using Hg to create it.

I don't think so... at any rate, we don't want the tip, we want the
currently checked-out revision.

Note, FWIW, that Subversion also lacks a means of putting the latest
revision directly into a file, and requires you to use "svnversion" to
write to a file
(http://subversion.tigris.org/faq.html#version-value-in-source).

> What I'm concerned with is someone who downloads the source from a
> zip/tarball.  Requiring them to have Make|Nmake and a C compiler is
> reasonable.  Requiring a source control tool (Hg, svn, etc) is not.

Absolutely. And while I'll miss the information, I'm not going to force
people to grab Hg just for that.

However, most people who will be downloading source tarballs, zip files,
etc, will be downloading from us, and we have some control over the process.

AIUI, I believe I can hook the archive-generation from hg, and have it
add or modify a file to include the tag. I could modify Makefile.am to
use hg when it's available, and fallback to the file if present.

As to official or alpha distribution tarballs, those will have
otherwise-identifying information, and will not include the revision
information.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHFmZD7M8hyUobTrERCKP0AJ9gm3b+X4KN1lB2CsLY8YA/54sPeQCfQjYg
HxTe6lOERMLzHQD5gwj7Koo=
=DEuF
-----END PGP SIGNATURE-----

Reply via email to