From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>,
zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: AIX dep.&doc fix; development guidelines
Date: Sat, 8 Apr 2000 22:09:33 +0000 [thread overview]
Message-ID: <1000408220933.ZM22700@candle.brasslantern.com> (raw)
In-Reply-To: <E12dezv-0000cE-00.2000-04-07-21-04-55@mail6.svr.pol.co.uk>
On Apr 7, 9:04pm, Peter Stephenson wrote:
} Subject: Re: PATCH: AIX dep.&doc fix; development guidelines
}
} Bart Schaefer wrote:
} > At the time an actual release is done, will the maintainer (hi, Peter)
} > please do a sweep of the ChangeLog and convert all the "zefram1XX" etc.
} > into the actual article numbers?
}
} Ouch. Script?
Hrm. Aassuming you have a directory ~/zsh-workers/mla/ in which you've
unpacked all the tarfiles from the mailing list archive, so that you
have files named for the article numbers, it should go something like:
-------------------------------------------------------------------
#! /usr/bin/perl
open(CHANGELOG, "ChangeLog") or die "can't open ChangeLog";
rename("ChangeLog","ChangeLog.orig") and open(STDOUT, ">ChangeLog")
or die "can't rewrite ChangeLog";
chdir("$ENV{'HOME'}/zsh-workers/mla")
or die "can't cd to mailing list archive";
while (<CHANGELOG>) {
if (/^\s+\* \b(\D\w+\B\d+:)/) {
open(ARTICLES, "fgrep -l $1 * |"
or die "can't grep mailing list archive";
@articles = sort {$b <=> $a} <ARTICLES>;
close(ARTICLES);
$article = unshift @articles;
s/$1/$article:/;
}
} continue {
print;
}
-------------------------------------------------------------------
This picks out the most recent article that references the sequence code,
which relies on the last mention of a sequence code like "zefram1"
appearing in the actual patch article. If somebody has quoted Zefram's
ChangeLog diff in a later article, it'll find that article instead.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
next prev parent reply other threads:[~2000-04-08 22:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-06 7:23 Sven Wischnowsky
2000-04-06 16:23 ` Zefram
2000-04-06 17:02 ` Bart Schaefer
2000-04-06 17:27 ` Zefram
2000-04-06 17:39 ` Bart Schaefer
2000-04-06 17:51 ` Zefram
2000-04-06 23:12 ` Bart Schaefer
2000-04-07 20:04 ` Peter Stephenson
2000-04-08 22:09 ` Bart Schaefer [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-04-07 8:38 Sven Wischnowsky
2000-04-05 16:52 Oliver Kiddle
2000-04-05 18:06 ` Bart Schaefer
2000-04-05 19:21 ` Peter Stephenson
2000-04-05 19:43 ` Peter Stephenson
2000-04-05 20:41 ` Bart Schaefer
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=1000408220933.ZM22700@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=pws@pwstephenson.fsnet.co.uk \
--cc=zsh-workers@sunsite.auc.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).