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

Re: closing bugs in changelog



Teófilo Ruiz Suárez <teo@adala.org> wrote:

> El  1-abr-2003 a las 15:33:39, Frank Küster escribió:
> > Jesus Climent <jesus.climent@hispalinux.es> schrieb:
> > 
> > > On Tue, Apr 01, 2003 at 02:26:30PM +0200, Frank Küster wrote:
> > >> Hi all,
> > >> 
> > >> is there any automatic behind the (Closes: #12345) in the changelog? Is
> > >> this parsed after upload to close bugs? 
> > >
> > > Sure it is.
> > 
> > So what should I read to learn about this? E.g. to not bother you with
> > questions like "Is (Closes: #12345, #67890) valid syntax?"
> 
> From Developer's reference:
> 
> Technically speaking, the following Perl regular expression is what is
> used: 
> 
>        /closes:\s*(?:bug)?\#\s*\d+(?:,\s*(?:bug)?\#\s*\d+)*/ig

It will also be highlighted in Emacs with dpkg-dev-el installed if
it's correctly entered.  (And there's a menu entry to add a Closes
statement.)

Peter



Reply to: