From 75808db17caf8b960b351e3408e74142f4c85aac Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:42:30 +0200 Subject: Adding upstream version 2.117.0. Signed-off-by: Daniel Baumann --- .../style/all-caps/build-spec/debian/control.in | 18 ++++++++++++++++++ .../fields/style/all-caps/build-spec/fill-values | 3 +++ t/recipes/checks/fields/style/all-caps/eval/desc | 2 ++ t/recipes/checks/fields/style/all-caps/eval/hints | 1 + .../style/go-import-path/build-spec/debian/control.in | 19 +++++++++++++++++++ .../style/go-import-path/build-spec/fill-values | 3 +++ .../checks/fields/style/go-import-path/eval/desc | 5 +++++ .../checks/fields/style/go-import-path/eval/hints | 1 + .../lower-case-component/build-spec/debian/control.in | 18 ++++++++++++++++++ .../style/lower-case-component/build-spec/fill-values | 3 +++ .../fields/style/lower-case-component/eval/desc | 2 ++ .../fields/style/lower-case-component/eval/hints | 1 + .../style/shy-prefix/build-spec/debian/control.in | 19 +++++++++++++++++++ .../fields/style/shy-prefix/build-spec/fill-values | 3 +++ t/recipes/checks/fields/style/shy-prefix/eval/desc | 2 ++ t/recipes/checks/fields/style/shy-prefix/eval/hints | 1 + 16 files changed, 101 insertions(+) create mode 100644 t/recipes/checks/fields/style/all-caps/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/style/all-caps/build-spec/fill-values create mode 100644 t/recipes/checks/fields/style/all-caps/eval/desc create mode 100644 t/recipes/checks/fields/style/all-caps/eval/hints create mode 100644 t/recipes/checks/fields/style/go-import-path/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/style/go-import-path/build-spec/fill-values create mode 100644 t/recipes/checks/fields/style/go-import-path/eval/desc create mode 100644 t/recipes/checks/fields/style/go-import-path/eval/hints create mode 100644 t/recipes/checks/fields/style/lower-case-component/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/style/lower-case-component/build-spec/fill-values create mode 100644 t/recipes/checks/fields/style/lower-case-component/eval/desc create mode 100644 t/recipes/checks/fields/style/lower-case-component/eval/hints create mode 100644 t/recipes/checks/fields/style/shy-prefix/build-spec/debian/control.in create mode 100644 t/recipes/checks/fields/style/shy-prefix/build-spec/fill-values create mode 100644 t/recipes/checks/fields/style/shy-prefix/eval/desc create mode 100644 t/recipes/checks/fields/style/shy-prefix/eval/hints (limited to 't/recipes/checks/fields/style') diff --git a/t/recipes/checks/fields/style/all-caps/build-spec/debian/control.in b/t/recipes/checks/fields/style/all-caps/build-spec/debian/control.in new file mode 100644 index 0000000..3035904 --- /dev/null +++ b/t/recipes/checks/fields/style/all-caps/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: [% $rules_requires_root %] +HOMEPAGE: [% $homepage %] + +Package: [% $source %] +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs: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/recipes/checks/fields/style/all-caps/build-spec/fill-values b/t/recipes/checks/fields/style/all-caps/build-spec/fill-values new file mode 100644 index 0000000..c6948f5 --- /dev/null +++ b/t/recipes/checks/fields/style/all-caps/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: all-caps +Description: All caps spelling of field names. diff --git a/t/recipes/checks/fields/style/all-caps/eval/desc b/t/recipes/checks/fields/style/all-caps/eval/desc new file mode 100644 index 0000000..ae8925f --- /dev/null +++ b/t/recipes/checks/fields/style/all-caps/eval/desc @@ -0,0 +1,2 @@ +Testname: all-caps +Check: fields/style diff --git a/t/recipes/checks/fields/style/all-caps/eval/hints b/t/recipes/checks/fields/style/all-caps/eval/hints new file mode 100644 index 0000000..c9500f7 --- /dev/null +++ b/t/recipes/checks/fields/style/all-caps/eval/hints @@ -0,0 +1 @@ +all-caps (source): cute-field HOMEPAGE vs Homepage [debian/control:8] diff --git a/t/recipes/checks/fields/style/go-import-path/build-spec/debian/control.in b/t/recipes/checks/fields/style/go-import-path/build-spec/debian/control.in new file mode 100644 index 0000000..7dde207 --- /dev/null +++ b/t/recipes/checks/fields/style/go-import-path/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: [% $rules_requires_root %] +Homepage: [% $homepage %] +XS-Go-Import-Path: some-path + +Package: [% $source %] +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs: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/recipes/checks/fields/style/go-import-path/build-spec/fill-values b/t/recipes/checks/fields/style/go-import-path/build-spec/fill-values new file mode 100644 index 0000000..4fd14b5 --- /dev/null +++ b/t/recipes/checks/fields/style/go-import-path/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: go-import-path +Description: Go-Import-Path vs GO-Import-Path (false positive) diff --git a/t/recipes/checks/fields/style/go-import-path/eval/desc b/t/recipes/checks/fields/style/go-import-path/eval/desc new file mode 100644 index 0000000..f55916d --- /dev/null +++ b/t/recipes/checks/fields/style/go-import-path/eval/desc @@ -0,0 +1,5 @@ +Testname: go-import-path +Check: fields/style +Test-Against: + cute-field +See-Also: Bug#965966 diff --git a/t/recipes/checks/fields/style/go-import-path/eval/hints b/t/recipes/checks/fields/style/go-import-path/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/fields/style/go-import-path/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/fields/style/lower-case-component/build-spec/debian/control.in b/t/recipes/checks/fields/style/lower-case-component/build-spec/debian/control.in new file mode 100644 index 0000000..c4bb5aa --- /dev/null +++ b/t/recipes/checks/fields/style/lower-case-component/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-requires-root: [% $rules_requires_root %] +Homepage: [% $homepage %] + +Package: [% $source %] +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs: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/recipes/checks/fields/style/lower-case-component/build-spec/fill-values b/t/recipes/checks/fields/style/lower-case-component/build-spec/fill-values new file mode 100644 index 0000000..2a356cb --- /dev/null +++ b/t/recipes/checks/fields/style/lower-case-component/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: lower-case-component +Description: Component of field name in lower case diff --git a/t/recipes/checks/fields/style/lower-case-component/eval/desc b/t/recipes/checks/fields/style/lower-case-component/eval/desc new file mode 100644 index 0000000..4b65289 --- /dev/null +++ b/t/recipes/checks/fields/style/lower-case-component/eval/desc @@ -0,0 +1,2 @@ +Testname: lower-case-component +Check: fields/style diff --git a/t/recipes/checks/fields/style/lower-case-component/eval/hints b/t/recipes/checks/fields/style/lower-case-component/eval/hints new file mode 100644 index 0000000..98a87d5 --- /dev/null +++ b/t/recipes/checks/fields/style/lower-case-component/eval/hints @@ -0,0 +1 @@ +lower-case-component (source): cute-field Rules-requires-root vs Rules-Requires-Root [debian/control:7] diff --git a/t/recipes/checks/fields/style/shy-prefix/build-spec/debian/control.in b/t/recipes/checks/fields/style/shy-prefix/build-spec/debian/control.in new file mode 100644 index 0000000..9c4dc3d --- /dev/null +++ b/t/recipes/checks/fields/style/shy-prefix/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: [% $rules_requires_root %] +Homepage: [% $homepage %] +Xs-Python-Version: >= 2.7 + +Package: [% $source %] +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs: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/recipes/checks/fields/style/shy-prefix/build-spec/fill-values b/t/recipes/checks/fields/style/shy-prefix/build-spec/fill-values new file mode 100644 index 0000000..360ca26 --- /dev/null +++ b/t/recipes/checks/fields/style/shy-prefix/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: shy-prefix +Description: Second letter lowercase in field name with XS- prefix diff --git a/t/recipes/checks/fields/style/shy-prefix/eval/desc b/t/recipes/checks/fields/style/shy-prefix/eval/desc new file mode 100644 index 0000000..82a5b4d --- /dev/null +++ b/t/recipes/checks/fields/style/shy-prefix/eval/desc @@ -0,0 +1,2 @@ +Testname: shy-prefix +Check: fields/style diff --git a/t/recipes/checks/fields/style/shy-prefix/eval/hints b/t/recipes/checks/fields/style/shy-prefix/eval/hints new file mode 100644 index 0000000..c4a8860 --- /dev/null +++ b/t/recipes/checks/fields/style/shy-prefix/eval/hints @@ -0,0 +1 @@ +shy-prefix (source): cute-field Xs-Python-Version vs XS-Python-Version [debian/control:9] -- cgit v1.2.3