zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk (Zsh hackers list)
Subject: Re: Getting the CVS revision of Zsh
Date: Wed, 14 Jan 2009 17:22:35 +0000	[thread overview]
Message-ID: <200901141722.n0EHMZwf002944@news01.csr.com> (raw)
In-Reply-To: <090114085737.ZM18662@torch.brasslantern.com>

(I've moved this to zsh-workers, there doesn't seem to be anything left
of use to general users.)

Bart Schaefer wrote:
> 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.

If that was what was going on, I would agree, but I did this on the
understanding that someone, for what ever reasons, might ship an
intermediate CVS checkout substantially unchanged as a development
package.  In fact, I thought this was basically what Debian did.
("Ship" might also mean "install for local users because they need a bug
fix or new feature before the release", or something of that kind.)
Then $ZSH_PATCHLEVEL tells you where it came from and what you can do
with it.  It gives the developers more information, too, if some
packaged is tracking CVS, without the package maintainers getting
involved.  It's worse than making a proper release, but better than not
having any idea about the provenance of the shell.

If someone is really bundling individual patches with zsh, so that it is
different from any CVS checkout, then I would urge them to alter
$ZSH_PATCHLEVEL to avoid exactly the sort of confusion you describe.  I
can add a config option to fix a patchlevel if this is useful.

> 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

Surely you can turn keyword expansion off on that file, if you want?
However, if you're never going to use it anyway then it *is* useless
cruft to you, of course.  By this definition a large part of the shell
is useless cruft to me, too.

Actually, I suspect I *will* use this myself occasionally.  It answers
those occasional development questions "did I install the version with
that bug fix, or did I just compile it, or am I dreaming again?"  No,
this is not a typical user case but for a few dozen bytes it's worth
it.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


  parent reply	other threads:[~2009-01-14 17:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2d460de70901090301h6b309a7cm19c5ebfec989ff2c@mail.gmail.com>
     [not found] ` <200901091121 .n09BLVvZ006382@news01.csr.com>
     [not found] ` <200901091121.n09BLVvZ006382@news01.csr.com>
     [not found]   ` <2d460de70901090348t3ea9e25fi29a7165ee42ae5e5@mail.gmail.com>
     [not found]     ` <200901091158.n09BwPii006839@news01.csr.com>
     [not found]       ` <2d460de7090 1090441i7ef1795bs42ed98fe0f33c9ba@mail.gmail.com>
     [not found]         ` <200901091258.n09CwS7T007 471@news01.csr.com>
     [not found]       ` <2d460de70901090441i7ef1795bs42ed98fe0f33c9ba@mail.gmail.com>
     [not found]         ` <200901091258.n09CwS7T007471@news01.csr.com>
     [not found]           ` <2d460de70901090507i7c3179e4u1e2def459f214566@mail.gmail.com>
2009-01-09 20:13             ` Peter Stephenson
2009-01-09 22:33               ` Richard Hartmann
2009-01-10 21:43                 ` Peter Stephenson
2009-01-13  5:25               ` Jun T.
2009-01-13 10:09                 ` Peter Stephenson
2009-01-14  3:48                   ` Jun T.
     [not found] ` <2d460de70901140533icf13f94yc7f63f974b236f45@mail.gmail.com>
     [not found]   ` <090114085737.ZM18662@torch.brasslantern.com>
2009-01-14 17:22     ` Peter Stephenson [this message]
2009-01-14 23:36       ` Clint Adams
2009-01-15 14:38         ` Peter Stephenson
2009-01-14 18:54     ` Mikael Magnusson
2009-01-15 19:43       ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200901141722.n0EHMZwf002944@news01.csr.com \
    --to=pws@csr.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).