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

Bug#339826: devref: Please discuss Homepage padding more fully



Package: developers-reference
Version: 3.3.6
Severity: normal

Section 6.2.4, "Upstream home page", should be more explicit about
what adding the extra space does.  Explain that packages.debian.org/
uses <pre> tags if m/^  Homepage:/ (or however it works).   And
document anything else that works specially for these.

FYI there are presently 340 packages which follow this best practice,
and 1232 which have a homepage pseudo-field which does not follow this
best practice.

There are an additional 200 packages that contain "homepage" but don't
even attempt to use the homepage pseudo-field format.

A lintian bug follows..

Goswin came up with this, which finds the first case of nonconforming
packages:

  grep-dctrl -F Description " Homepage:" -s Package,Description /var/lib/apt/lists/* | grep-dctrl -v -F Description "  Homepage:"

And I came up with the following to find the same:

  apt-cache dumpavail |grep -c '^ Homepage:'

And the following to find the second class of packages (this isn't relevant for devref bug, but only for the lintian one):

  apt-cache dumpavail |grep -i 'homepage' |grep -vE '^ {1,2}Homepage:'



Reply to: