Package: dpkg-dev-el Version: 26.10-1 Severity: wishlist Tags: patch Although the XS-Vcs-* fields are not yet official in Debian, they are already largely used and the PTS understands them. The patch attached below adds support in debian-control-mode for these fields. The list of accepted VCS names was obtained from one of the PTS scripts [1]. You might also block this bug by #391023, filed against the developers-reference pacakge.
1. http://svn.debian.org/wsvn/qa/trunk/pts/www/bin/common.py?op=file Rafael Laboissiere -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.17-2-686 (SMP w/1 CPU core) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash
--- elisp/dpkg-dev-el/debian-control-mode.el-orig 2007-05-06 11:16:13.000000000 +0200 +++ elisp/dpkg-dev-el/debian-control-mode.el 2007-05-06 13:19:24.000000000 +0200 @@ -149,9 +149,17 @@ (defvar debian-control-mode-package-name-keymap (make-sparse-keymap)) +(defvar debian-control-vcs-names + '("Arch" "Bzr" "Cvs" "Darcs" "Git" "Hg" "Mtn" "Svn") + "Valid VCS names for the XS-Vcs-* field.") + (defvar debian-control-source-fields + (append '("Section" "Priority" "Maintainer" "Build-Depends" "Build-Depends-Indep" - "Build-Conflicts" "Build-Conflicts-Indep" "Standards-Version" "Uploaders") + "Build-Conflicts" "Build-Conflicts-Indep" "Standards-Version" "Uploaders" + "XS-Vcs-Browser") + (mapcar (lambda (elt) (concat "XS-Vcs-" elt)) + debian-control-vcs-names)) "Valid source package field names, collected from several policy sections.") (defvar debian-control-binary-fields