[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: New Upload Procedure



On 26 Nov 1997, Martin Mitchell wrote:

> Christian Schwarz <schwarz@monet.m.isar.de> writes:
> 
> > (2) A few people have suggested to relax the matching pattern for the
> > "fixes" tag in the changelog file. I agree that we should consider making
> > the patter case-insensitive and allowing white spaces:
> > 
> >            /fixes:\s*bug\#\d+\(,\s*bug\#\d+\)*/i
> > 
> > This would match
> > 
> >     * Recompiled with libc6, fixes: Bug#98765, Bug#98766
> >     * Removed `rm -rf /' from postrm script, FIXES:BUG#99999
> > 
> > but not
> > 
> >     * Fixed bug#1234 partially
> > 
> > Comments?
> 
> This is an improvement, however I still think requiring the 4 character
> Bug# tag before a bug number is clumsy. Searching for the # character
> should be sufficient, and is already common in most changelogs.
> 
> Thus I suggest:
> 
> 	/fixes:\s*\(bug\)?\#\d+\(,\s*\(bug\)?\#\d+\)*/i
> 
> ie match 'bug' 0 or 1 times, but require #.

Relaxing the syntax has been suggested by a few people right now (in
private mail to me).

In the previous discussion on debian-private some said that relaxing the
syntax is a bad idea since there might be cases where the script closes a
bug accidentially. 

It would be good to hear more opinions on this.

(Personally, I'd also vote for makeing the "bug" string optional, just as
Martin suggested.)


Thanks,

Chris

--                  Christian Schwarz
                     schwarz@monet.m.isar.de, schwarz@schwarz-online.com,
Debian is looking     schwarz@debian.org, schwarz@mathematik.tu-muenchen.de
for a logo! Have a
look at our drafts     PGP-fp: 8F 61 EB 6D CF 23 CA D7  34 05 14 5C C8 DC 22 BA
at    http://fatman.mathematik.tu-muenchen.de/~schwarz/debian-logo/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: