From e31847ed7ea48ec2080cbdb6a452ceaae08e2bbb Mon Sep 17 00:00:00 2001 From: aba Date: Sat, 16 Jun 2007 19:49:27 +0000 Subject: [PATCH] Add XS-Vcs-*; #391023 git-svn-id: svn://anonscm.debian.org/ddp/manuals/trunk/developers-reference@4655 313b444b-1b9f-4f58-a734-7bb04f332e8d --- debian/changelog | 1 + developers-reference.sgml | 55 ++++++++++++++++++++++++++++++++++++++- 2 files changed, 55 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index f23e0d0..3891360 100644 --- a/debian/changelog +++ b/debian/changelog @@ -15,6 +15,7 @@ developers-reference (3.3.9) unstable; urgency=low * Fix typo. Closes: #405453 * More details on how to write documentation. Thanks, Josh Triplett. Closes: #422750 + * Add XS-Vcs-*. Thanks to Stefano Zacchiroli. Closes: #391023 -- Andreas Barth Sat, 16 Jun 2007 11:41:41 -0600 diff --git a/developers-reference.sgml b/developers-reference.sgml index ee8366f..fd11da6 100644 --- a/developers-reference.sgml +++ b/developers-reference.sgml @@ -7,7 +7,7 @@ %dynamicdata; - + @@ -3928,6 +3928,59 @@ until that is available. /^ Homepage: [^ ]*$/, as this allows packages.debian.org to parse it correctly.

+ + + Version Control System location +

+There are additional fields for the location of the Version Control System +in debian/control. + XS-Vcs-Browser +

+Value of this field should be a http:// URL pointing to a +web-browsable copy of the Version Control System repository used to +maintain the given package, if available. +

+The information is meant to be useful for the final user, willing to +browse the latest work done on the package (e.g. when looking for the +patch fixing a bug tagged as pending in the bug tracking +system). + XS-Vcs-* +

+Value of this field should be a string identifying unequivocally the +location of the Version Control System repository used to maintain the +given package, if available. * identify the Version Control +System; currently the following systems are supported by the package +tracking system: arch, bzr (Bazaar), cvs, +darcs, git, hg (Mercurial), mtn +(Monotone), svn (Subversion). It is allowed to specify different +VCS fields for the same package: they will all be shown in the PTS web +interface. +

+The information is meant to be useful for a user knowledgeable in the +given Version Control System and willing to build the current version of +a package from the VCS sources. Other uses of this information might +include automatic building of the latest VCS version of the given +package. To this end the location pointed to by the field should better +be version agnostic and point to the main branch (for VCSs supporting +such a concept). Also, the location pointed to should be accessible to +the final user; fulfilling this requirement might imply pointing to an +anonymous access of the repository instead of pointing to an +SSH-accessible version of the same. +

+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 +XS-Vcs-Browser field described above is also shown. + + Source: vim + Section: editors + Priority: optional + <snip> + XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-vim/trunk/packages/vim + XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim + + -- 2.30.2