Your message dated Wed, 20 Jun 2018 03:05:49 +0000 with message-id <[email protected]> and subject line Bug#869965: fixed in vim 2:8.1.0089-1 has caused the Debian Bug report #869965, regarding vim: please add syntax highlighting for debian/copyright files to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 869965: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869965 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: vim Version: 2:8.0.0197-5 Severity: normal Tags: patch Hi, A patch is attached that adds simple syntax highlighting for DEP-5 debian/copyright files. Regards, -- ,''`. : :' : Chris Lamb, Debian Project Leader `. `'` [email protected] / chris-lamb.co.uk `-diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 9c9c808..b1f916d 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -592,6 +592,13 @@ au BufNewFile,BufRead control \| setf debcontrol \| endif +" Debian Copyright +au BufNewFile,BufRead */debian/copyright setf debcopyright +au BufNewFile,BufRead copyright + \ if getline(1) =~ '^Format:' + \| setf debcopyright + \| endif + " Debian Sources.list au BufNewFile,BufRead */etc/apt/sources.list setf debsources au BufNewFile,BufRead */etc/apt/sources.list.d/*.list setf debsources diff --git a/runtime/syntax/debcopyright.vim b/runtime/syntax/debcopyright.vim new file mode 100644 index 0000000..dd34be4 --- /dev/null +++ b/runtime/syntax/debcopyright.vim @@ -0,0 +1,32 @@ +" Vim syntax file +" Language: Debian copyright file +" Maintainer: Chris Lamb <[email protected]> +" Last Change: 2017 Jul 28 + +" Standard syntax initialization +if exists("b:current_syntax") + finish +endif + +let s:cpo_save = &cpo +set cpo&vim + +syn case match + +syn match debcopyrightUrl "\vhttps?://[[:alnum:]][-[:alnum:]]*[[:alnum:]]?(\.[[:alnum:]][-[:alnum:]]*[[:alnum:]]?)*\.[[:alpha:]][-[:alnum:]]*[[:alpha:]]?(:\d+)?(/[^[:space:]]*)?$" +syn match debcopyrightKey "^\%(Format\|Upstream-Name\|Upstream-Contact\|Disclaimer\|Source\|Comment\|Files\|Copyright\|License\): *" +syn match debcopyrightEmail "[_=[:alnum:]\.+-]\+@[[:alnum:]\./\-]\+" +syn match debcopyrightEmail "<.\{-}>" +syn match debcopyrightComment "^#.*$" contains=@Spell + +hi def link debcopyrightUrl Identifier +hi def link debcopyrightKey Keyword +hi def link debcopyrightEmail Identifier +hi def link debcopyrightComment Comment + +let b:current_syntax = "debcopyright" + +let &cpo = s:cpo_save +unlet s:cpo_save + +" vim: ts=8 sw=2
--- End Message ---
--- Begin Message ---Source: vim Source-Version: 2:8.1.0089-1 We believe that the bug you reported is fixed in the latest version of vim, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. James McCoy <[email protected]> (supplier of updated vim package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Tue, 19 Jun 2018 22:44:05 -0400 Source: vim Binary: vim-common vim-gui-common vim-runtime vim-doc vim-tiny vim vim-gtk vim-gtk3 vim-nox vim-athena vim-gnome xxd Architecture: source Version: 2:8.1.0089-1 Distribution: unstable Urgency: medium Maintainer: Debian Vim Maintainers <[email protected]> Changed-By: James McCoy <[email protected]> Description: vim - Vi IMproved - enhanced vi editor vim-athena - Vi IMproved - enhanced vi editor - with Athena GUI vim-common - Vi IMproved - Common files vim-doc - Vi IMproved - HTML documentation vim-gnome - Vi IMproved - enhanced vi editor (dummy package) vim-gtk - Vi IMproved - enhanced vi editor - with GTK2 GUI vim-gtk3 - Vi IMproved - enhanced vi editor - with GTK3 GUI vim-gui-common - Vi IMproved - Common GUI files vim-nox - Vi IMproved - enhanced vi editor - with scripting languages suppo vim-runtime - Vi IMproved - Runtime files vim-tiny - Vi IMproved - enhanced vi editor - compact version xxd - tool to make (or reverse) a hex dump Closes: 869965 900476 Changes: vim (2:8.1.0089-1) unstable; urgency=medium . * New upstream release + New syntax highlighting for machine-readable debian/copyright files. (Closes: #869965) + Fix mis-highlighting of architectures in debian/control files. (Closes: #900476) * Change Maintainer to [email protected] * Add wildcard to binaries-have-file-conflict override between vim-tiny/vim-runtime to account for upstream releases. Checksums-Sha1: 3381727ee88ddf17b3dd43c60ae738559cdc6f93 2979 vim_8.1.0089-1.dsc 72ddfe50e0dc5292e24c82247ff9324c58eb5fac 13663344 vim_8.1.0089.orig.tar.gz e795c3ba7e35203ba70c2a28fdf5d1d572bee464 156884 vim_8.1.0089-1.debian.tar.xz 0b98a314a5687c7ec6fe8864fa14444f23d95026 15657 vim_8.1.0089-1_source.buildinfo Checksums-Sha256: 882ec2c8564a54d6615e8f73a1dff07096fb47917c8f7379db664fca2badb380 2979 vim_8.1.0089-1.dsc 54c5a3db5eae90616ff207c3165e674327979065885e002e3ea4b108d48d9a0c 13663344 vim_8.1.0089.orig.tar.gz 46c3ded6c5f8bfe635d29e5e2f09d727d0bb6dc39668e32c2ce803448cff8d7d 156884 vim_8.1.0089-1.debian.tar.xz a46f10e6059a84ea9821f102e71b101d26cdbbd1ac51391e3415d6de92768fe4 15657 vim_8.1.0089-1_source.buildinfo Files: 67b674468e6048dc9537213da95c696f 2979 editors optional vim_8.1.0089-1.dsc 6c3f42203d0cf83b9b2c920b79874d15 13663344 editors optional vim_8.1.0089.orig.tar.gz 00d81071fcb870fdc15c439cbc1f98c6 156884 editors optional vim_8.1.0089-1.debian.tar.xz 8c0a24ac89afaa1384737c27dbd8b664 15657 editors optional vim_8.1.0089-1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQKoBAEBCgCSFiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAlspwUlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIUHGphbWVzc2Fu QGRlYmlhbi5vcmcACgkQ3+aRrjMbo9vL0xAAkzN/TzgJmTwrYPFfEZtKXYniMDQa iLoqoLrTqJ7Tn3iPpPxsWel3mWZaj/jXSNu/zveVye4vw7+1cuuWWWPKJnRF2/4B 8dc7QOo5oi3TsZLUky6c23Cx4QIFtSccAshJhtt4h3AJsvQ3bvcF5QQNLTl9RlR9 wj3XavtWy59HO8pZrfww81fSfo0r7031M8rCHAAvH1zI5txsrE6y0D0E8anZ5cKB rpDCoImhULoXRuLSGS3HYkedXKjz+t4Ucs116ibbsuBH7mVV2xZbo0XALjq6VB+d H04Hdv5A95AUVVM4r9/LcJawllMhIIHdUf+rV8fHJv3eCGFzu9fzEE+LuwD1Ot1l rG3Fes2jrRWda1sl59maHoNJdTGclWWpaYkgi+2ULJcByYZwE5tuvWgsUZNvnNza s5YbG9X4rW8Iloi1hNrJrpvulRNsKjc2Ba3hr3DwM2X51Wm5flA/IVJyRr70NLQG 8HDJQp9fBWJDU1d0DZwn1o4DfuBEKAYkoG5U06XxSL/ykMJSDDD2VFRTViQF1gv1 nGJ+xuWJ+AbkwvmPz2H7ka6PQtcDXsEXqVjDATemjffsrDtnlcWU12D9j2CFTXM8 qc/+7bhVlp1b/DB+QErMVa1lTey3UOcXlxMgaEUjOARc7XTY0lFgzt8JMjGc7SPK 0iYDsumkVKaMWg8= =ndu4 -----END PGP SIGNATURE-----
--- End Message ---

