This is an automated email from the git hooks/post-receive script. abe pushed a commit to branch master in repository lintian.
commit d4b55b4c7b3a8458590c26a543f32b7ee6151976 Author: Axel Beckert <a...@deuxchevaux.org> Date: Fri Apr 17 01:39:19 2015 +0200 Recognize user@host:path.git URIs in Vcs-Git (Closes: #778323) Signed-off-by: Axel Beckert <a...@deuxchevaux.org> --- checks/fields.pm | 2 +- debian/changelog | 1 + .../debian/debian/control.in | 16 ++++++++++++++++ t/tests/fields-not-malformed-vcs-fields/desc | 8 ++++++++ t/tests/fields-not-malformed-vcs-fields/tags | 1 + 5 files changed, 27 insertions(+), 1 deletion(-) diff --git a/checks/fields.pm b/checks/fields.pm index 33dadd9..e54df82 100644 --- a/checks/fields.pm +++ b/checks/fields.pm @@ -208,7 +208,7 @@ my %VCS_VALID_URIS = ( bzr => qr;^(?:sftp|(?:bzr\+)?ssh)://;, cvs => qr;^(?:-d\s*)?:(?:ext|pserver):;, hg => qr;^ssh://;, - git => qr;^(?:git\+)?ssh://;, + git => qr;^(?:git\+)?ssh://|^[\w.]+@[a-zA-Z0-9.]+:[/a-zA-Z0-9.];, svn => qr;^(?:svn\+)?ssh://;, ); diff --git a/debian/changelog b/debian/changelog index 297e366..cc5ec34 100644 --- a/debian/changelog +++ b/debian/changelog @@ -42,6 +42,7 @@ lintian (2.5.31) UNRELEASED; urgency=medium deprecated from lintian4python. + [AB] Remove "dev" from list of suffixes to trigger rc-version-greater-than-expected-version (Closes: #732246) + + [AB] Recognize user@host:path.git URIs in Vcs-Git (Closes: #778323) * checks/files.{desc,pm}: + [BR] Rename compressed-objects.inv to file-should-not-be-compressed and use it for doxygen diff --git a/t/tests/fields-not-malformed-vcs-fields/debian/debian/control.in b/t/tests/fields-not-malformed-vcs-fields/debian/debian/control.in new file mode 100644 index 0000000..dd1ac04 --- /dev/null +++ b/t/tests/fields-not-malformed-vcs-fields/debian/debian/control.in @@ -0,0 +1,16 @@ +Source: {$source} +Priority: extra +Section: {$section} +Maintainer: {$author} +Standards-Version: {$standards_version} +Build-Depends: debhelper (>= 9) +Vcs-Git: g...@git.debian.org:foobar.git + +Package: {$source} +Architecture: {$architecture} +Depends: $\{misc:Depends\} +Description: {$description} + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/tests/fields-not-malformed-vcs-fields/desc b/t/tests/fields-not-malformed-vcs-fields/desc new file mode 100644 index 0000000..92122a8 --- /dev/null +++ b/t/tests/fields-not-malformed-vcs-fields/desc @@ -0,0 +1,8 @@ +Testname: fields-not-malformed-vcs-fields +Sequence: 6000 +Description: Test not malformed VCS-* fields (especially #778323) +Version: 1.0 +Test-For: + vcs-field-uses-not-recommended-uri-format +Test-Against: + vcs-field-uses-unknown-uri-format diff --git a/t/tests/fields-not-malformed-vcs-fields/tags b/t/tests/fields-not-malformed-vcs-fields/tags new file mode 100644 index 0000000..8dedba6 --- /dev/null +++ b/t/tests/fields-not-malformed-vcs-fields/tags @@ -0,0 +1 @@ +W: fields-not-malformed-vcs-fields source: vcs-field-uses-not-recommended-uri-format vcs-git g...@git.debian.org:foobar.git -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/e1yitrm-0003ku...@moszumanska.debian.org