From: Linus Torvalds <torvalds@osdl.org>
To: David Woodhouse <dwmw2@infradead.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>, Git Mailing List <git@vger.kernel.org>
Subject: Re: Kernel nightly snapshots..
Date: Thu, 5 May 2005 08:46:21 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.58.0505050834550.2328@ppc970.osdl.org> (raw)
In-Reply-To: <1115305813.16187.143.camel@hades.cambridge.redhat.com>
On Thu, 5 May 2005, David Woodhouse wrote:
>
> OK, I've changed my 'origin' to an rsync URL referring to the same
> place, to make sure I get tags correctly in future. 2.6.12-rc3-git1 is
> in the process of being built; if the attached script works and
> continues working when invoked from cron, we might even see nightly
> snapshots again as requested...
RELNAME=`cg-tag-ls | grep -v 'git' | tail -n1 | cut -f1 | sed s/^v//`
this seems to assume that cg-tag-ls outputs things in the right order,
which I'm not at all sure it does.
It looks like cg-tag-ls just does
cd .git/refs/tags
for tag in *; do
...
which means that the ordering will depend on the shell ordering or
globbing.
Bash does globbing alphabetically sorted (and documents that), and it's
quite possible that all other shells do too. Even so, that doesn't
actually mean that it would be sorted by release, since v2.6.2 will sort
_after_ v2.6.12.
So this _should_ work for a while, but will eventually (before a -rc10
happens or we get to v2.6.100 ;^) need something better. That something
better probably being to ignore any tags that don't point to commits, and
then sorting by the date of the commit object.
Linus
next prev parent reply other threads:[~2005-05-05 15:41 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-05 0:28 Kernel nightly snapshots Linus Torvalds
2005-05-05 2:06 ` H. Peter Anvin
2005-05-05 14:38 ` David Woodhouse
2005-05-05 14:44 ` Linus Torvalds
2005-05-05 15:10 ` David Woodhouse
2005-05-05 15:30 ` David Woodhouse
2005-05-05 16:40 ` Linus Torvalds
2005-05-07 12:39 ` David Woodhouse
2005-05-06 0:28 ` H. Peter Anvin
2005-05-06 7:29 ` David Woodhouse
2005-05-06 21:50 ` H. Peter Anvin
2005-05-06 21:51 ` Marcelo Tosatti
2005-05-22 11:50 ` Thomas Glanzmann
2005-05-22 11:59 ` David Woodhouse
2005-05-22 12:09 ` Thomas Glanzmann
2005-05-22 17:01 ` Russell King
2005-05-05 15:46 ` Linus Torvalds [this message]
2005-05-06 7:42 ` David Woodhouse
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.58.0505050834550.2328@ppc970.osdl.org \
--to=torvalds@osdl.org \
--cc=dwmw2@infradead.org \
--cc=git@vger.kernel.org \
--cc=hpa@zytor.com \
/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://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).