diff options
author | kibi-guest <> | 2007-10-01 19:05:22 +0000 |
---|---|---|
committer | kibi-guest <> | 2007-10-01 19:05:22 +0000 |
commit | acb0d2b0a4c17a73fd1e320960ddc4bad7923d82 (patch) | |
tree | 66f5cdcf042bc2a0c0f172b728519e380ab3760b /debian-control-mode.el | |
parent | 3dc006c8db5dbf4ea909e48a49527b5c7a7db963 (diff) |
Add support for XS-Vcs-* to debian-control-mode.el, closes: #422491
Diffstat (limited to 'debian-control-mode.el')
-rw-r--r-- | debian-control-mode.el | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/debian-control-mode.el b/debian-control-mode.el index 921d684..3130e33 100644 --- a/debian-control-mode.el +++ b/debian-control-mode.el @@ -32,6 +32,11 @@ ;;; Change Log: +;; V1.0 (2007-10-01) Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> +;; - Add "Homepage" field to source fields. +;; - Add "XS-Vcs-*" fields to source fields, patch contributed by +;; Rafael Laboissiere <rafael@debian.org> (Closes: #422491). + ;; V0.9 (2005-11-22) Peter S Galbraith <psg@debian.org> ;; - Make # the comment character. (Closes: #339868) @@ -149,10 +154,19 @@ (defvar debian-control-mode-package-name-keymap (make-sparse-keymap)) +;; An uptodate list can be found at: +;; http://svn.debian.org/wsvn/qa/trunk/pts/www/bin/common.py?op=file +(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" - "Homepage") + "Build-Conflicts" "Build-Conflicts-Indep" "Standards-Version" "Uploaders" + "Homepage" "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 |