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

Re: the one-space Homepage:



On Sun, 14 Jan 2007 08:18:22 +0000
Neil Williams <linux@codehelp.co.uk> wrote:

> On Sun, 14 Jan 2007 08:18:48 +0200
> Leonard Norrgård <vinsci@refactor.fi> wrote:
>
> > One of the reasons people use one space in front of Homepage: is
> > probably because the developer reference asks the maintainer to make
> > sure it matches the regexp /^ Homepage: [^ ]*$/, "which allows
> > packages.debian.org to parse it correctly.":
>
[...]
>
> (From the New Maintainer's
> Guide: "Line 12 is where the long description goes. This should be a
> paragraph which gives more details about the package. Column 1 of each
> line should be empty. There must be no blank lines, but you can put a
> single . (dot) in a column to simulate that." [1]) Which infers that as
> column one must always be empty
>
[...]
>
> The Developer's Reference (the only source of this two space prefix) is
> recommending two spaces but specifying a reg exp that only matches a
> one space prefix.

My understanding is that the line have to match the given regex *after* the
line itself have had its first character -- which should always be empty, as
stated above -- stripped.

--
KiyuKo <eof AT kiyuko DOT org>
Resistance is futile, you will be garbage collected.

Attachment: pgpBGNY2K55WV.pgp
Description: PGP signature


Reply to: