From a36353a9c52d9b209044374445c68eb78a22ce0b Mon Sep 17 00:00:00 2001 From: hertzog Date: Sat, 8 Dec 2007 18:06:16 +0000 Subject: [PATCH] Document the Homepage field. Thanks, Christian Perrier. Closes: #445642 git-svn-id: svn://anonscm.debian.org/ddp/manuals/trunk/developers-reference@4806 313b444b-1b9f-4f58-a734-7bb04f332e8d --- debian/changelog | 1 + developers-reference.sgml | 33 ++++++++------------------------- 2 files changed, 9 insertions(+), 25 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5097a9d..a366ede 100644 --- a/debian/changelog +++ b/debian/changelog @@ -41,6 +41,7 @@ developers-reference (3.3.9) unstable; urgency=low * Mention Alioth as the main resource for VCS repositories and deprecate cvs.debian.org. * Remove XS- prefix for Vcs-* fields since dpkg now supports them. + * Document the Homepage field. Thanks, Christian Perrier. Closes: #445642 -- Raphael Hertzog Sat, 04 Aug 2007 17:51:06 +0200 diff --git a/developers-reference.sgml b/developers-reference.sgml index dedfb10..4c33b9e 100644 --- a/developers-reference.sgml +++ b/developers-reference.sgml @@ -7,7 +7,7 @@ %dynamicdata; - + @@ -3983,29 +3983,10 @@ this about this particular package, if you have information related to both). Upstream home page

-We recommend that you add the URL for the package's home page to the -package description in debian/control. This information -should be added at the -end of description, using the following format: - - . - Homepage: http://some-project.some-place.org/ - -Note the spaces prepending the line, which serves to break the lines -correctly. To see an example of how this displays, see . -

-If there is no home page for the software, this should naturally be -left out. -

-Note that we expect this field will eventually be replaced by a proper -debian/control field understood by dpkg and -&packages-host;. If you don't want to bother migrating the -home page from the description to this field, you should probably wait -until that is available. - Please make sure that this line matches the regular expression - /^ Homepage: [^ ]*$/, - as this allows packages.debian.org to parse it correctly.

+We recommend that you add the URL for the package's home page in the +Homepage field of the Source section in +debian/control. Adding this information in the package +description itself is considered deprecated.
@@ -4050,7 +4031,8 @@ In the following example, an instance of the field for a Subversion repository of the vim package is shown. Note how the URL is in the svn:// scheme (instead of svn+ssh://) and how it points to the trunk/ branch. The use of the -Vcs-Browser field described above is also shown. +Vcs-Browser and Homepage fields described above is +also shown. Source: vim Section: editors @@ -4058,6 +4040,7 @@ how it points to the trunk/ branch. The use of the <snip> Vcs-Svn: svn://svn.debian.org/svn/pkg-vim/trunk/packages/vim Vcs-Browser: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim + Homepage: http://www.vim.org -- 2.30.2