Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Getting the CVS revision of Zsh
- X-seq: zsh-workers 26309
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Getting the CVS revision of Zsh
- Date: Wed, 14 Jan 2009 19:54:02 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=vqVRiFI4QWrPZVA3V0n7x3FSoyDPjHEXKY2JiBl23cY=; b=onIKxujDWSvT7FV8Rx68nMm858D+1fTjRFati31G2h420R7yTi73dUoKVw5Y+3smf5 zf/nTBD+2m+H3F1TXQemzpDVE+6sUNOaB6Ppg0sI6V+/IOORpUGlP11UI9UEgfTZ/6h2 cmST3xKjrR2T1K2pLqDxW3tg06ZexF3J/tfhU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=dzXXL2eJceKKlqhg4OY2X5Sob59+oG2wEPXyQqZT5eq/OPTnMxhnAIvPrVkYNMGUfs kL3JsILsMnQ6DmF9PzmcW2hCreZ+pRy8YHmz4mVMyc0eIzguzsuLy3ft8Ef/TRYtoavQ wRHO74Q7G/C7u8MVAX5cj117D1K1e0hofv0nw=
- In-reply-to: <090114085737.ZM18662@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <2d460de70901090301h6b309a7cm19c5ebfec989ff2c@xxxxxxxxxxxxxx> <2d460de70901140533icf13f94yc7f63f974b236f45@xxxxxxxxxxxxxx> <090114085737.ZM18662@xxxxxxxxxxxxxxxxxxxxxx>
2009/1/14 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>:
> On Jan 14, 2:33pm, Richard Hartmann wrote:
> }
> } My suggestion would be to introduce a new variable called
> } $ZSH_RELEASE which is only filled if the source zsh was
> } compiled from is tagged as a release.
> }
> } Thoughts?
>
> My thought is that all of this, including ZSH_PATCHLEVEL, should
> never have been bothered with in the first place.
>
> Either you're compiling zsh from source yourself, in which case you
> should know what you're compiling; or you're using a package that was
> installed by somebody else, in which case it's between you and that
> somebody if you're having bleeding-edge non-releases forced on you.
>
> If you're a packager like Debian or RedHat who occasionally ports
> individual patches backwards or sideways or makes your own stability
> patches, anything in these variables is going to be either wrong and
> misleading to the end user or fabricated and meaningless to the zsh
> developers upstream.
>
> I was holding my tongue on ZSH_PATCHLEVEL despite my annoyance that
> it uses the RCS $Revision: tag -- I mirror the zsh sources into my
> own local repository, which means that tag gets rewritten whenever
> I do a check-in, so my local build will rarely if ever match the
> "real thing", hence it's useless cruft to me -- and I suppose it's
> up to PWS if he wants to jump through the hoops to make something
> like this appear to work, but I'm completely unconvinced by the
> argument that they're in some way beneficial.
FWIW, I use a git import which doesn't do any keyword expansion, so
the define is empty in my case, which obviously breaks the build. I
don't know if you want to a) not care b) add some #ifdef to set it to
"unknown" or such or c) add some shell code for git to set it.
If b or c I can construct a patch.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author