-
9e5fa8cc
by Felix Lechner
at 2019-08-20T02:42:58Z
In t/defaults/desc, remove the default source format.
>From now on, the source format will be handled by the skeletons.
Removes the source-format from the general defaults.
Gbp-Dch: ignore
-
abf7c321
by Felix Lechner
at 2019-08-20T05:32:00Z
In test suite, use a default 3.0 source format; add default version numbers.
Adds the version number 1.0 to the native skeletons for uploads and
sources as well as for the skeletons for deb and changes.
Adds the version numbers 1.0-1 to the non-native skeletons for uploads
and sources.
The version numbers seemed relatively common in the tests and could
probably be removed from many individual specifications, provided that
the code portions requiring the field to be present is modified.
Adds also adds the appropriate 3.0 source formats to the upload and
source skeletons.
-
b1e68efd
by Felix Lechner
at 2019-08-20T13:48:09Z
Keep some tests at source format 1.0.
They were either intended for source format 1.0 or their output would
be less meaningful under the 3.0 format.
Keeps these tests at source format 1.0.
Gbp-Dch: ignore
-
e55d8701
by Felix Lechner
at 2019-08-20T13:48:09Z
Turn the test 'changelog-file-become-native' into native.
The test will not work with a non-native skeleton. Apparently, the
explicit version declaration in source format 3.0 enables stricter
controls:
dpkg-source: error: can't build with source format '3.0 (quilt)': non-native package version does not contain a revision
Turns this test into a native test to retain the existing
functionality.
Gbp-Dch: ignore
-
f07d3443
by Felix Lechner
at 2019-08-20T13:48:09Z
For test phppear-pearok, remove executable permissions from d/control.
After the switch to source format 3.0, the test will generate this tag:
+phppear-pearok (source): package-file-is-executable debian/control
The permissions seemed to be a genuine defect for a test related to
PHP Pear. Removed the executive permissions from the file.
Gbp-Dch: ignore
-
e04c8106
by Felix Lechner
at 2019-08-20T13:48:09Z
In test family patch-systems-quilt-general, adjust patches to prevent dpkg-source from causing build failures.
Removed the file traversal in the quilt patch series. It triggered
this error:
dpkg-source: error: patch-systems-quilt-general-1.0/debian/patches/series contains an insecure path: ../../debian-patch
dpkg-buildpackage: error: dpkg-source -iNEVER_MATCH_ANYTHING -INEVER_MATCH_ANYTHING --auto-commit --before-build . subprocess returned exit status 25
make: *** [Makefile:26: product] Error 25
Removed references to non-existent patches from the quilt series file.
They triggered this error:
dpkg-source: info: applying some-nonexistent-patch
dpkg-source: info: the patch has fuzz which is not allowed, or is malformed
dpkg-source: info: if patch 'some-nonexistent-patch' is correctly applied by quilt, use 'quilt refresh' to update it
dpkg-source: error: cannot read patch-systems-quilt-general-1.0/debian/patches/some-nonexistent-patch: No such file or directory
dpkg-buildpackage: error: dpkg-source -iNEVER_MATCH_ANYTHING -INEVER_MATCH_ANYTHING --auto-commit --before-build . subprocess returned exit status 2
make: *** [Makefile:26: product] Error 2
Removed references to patches that would overwrite existing files from
the quilt series file. They triggered this error:
dpkg-source: warning: the series file (patch-systems-quilt-general-1.0.orig.oFGqYi/debian/patches/series) contains unsupported options ('-p0', line 2); dpkg-source might fail when applying patches
dpkg-source: info: using patch list from debian/patches/series
The next patch would create the file debian/some-file,
which already exists! Skipping patch.
1 out of 1 hunk ignored
dpkg-source: info: the patch has fuzz which is not allowed, or is malformed
dpkg-source: info: if patch 'some-file' is correctly applied by quilt, use 'quilt refresh' to update it
dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -E -b -B .pc/some-file/ --reject-file=- < patch-systems-quilt-general-1.0.orig.oFGqYi/debian/patches/some-file subprocess returned exit status 1
dpkg-buildpackage: error: dpkg-source -iNEVER_MATCH_ANYTHING -INEVER_MATCH_ANYTHING --auto-commit -b . subprocess returned exit status 2
make: *** [Makefile:26: product] Error 2
These changes retain as much functionality as possible. Testing these
packages may also not make sense under source format 1.0 any more.
Gbp-Dch: ignore
-
909c1f91
by Felix Lechner
at 2019-08-20T13:48:09Z
For legacy-binary family of tests, change skeleton to upload-non-native.
Otherwise, the version number triggers the error:
dpkg-source: error: can't build with source format '3.0 (quilt)': non-native package version does not contain a revision
It would have been possible to adjust the tags, but many valuable tags
would have been lost. Made the tests non-native instead.
Gbp-Dch: ignore
-
4fffe6e6
by Felix Lechner
at 2019-08-20T13:48:09Z
For legacy-fields family of tests, change skeleton to upload-non-native.
Otherwise, the version number triggers the error:
dpkg-source: error: can't build with source format '3.0 (quilt)': non-native package version does not contain a revision
It would have been possible to adjust the tags, but many valuable tags
would have been lost. Made the tests non-native instead.
Gbp-Dch: ignore
-
d8b3285b
by Felix Lechner
at 2019-08-20T13:48:09Z
For legacy-filenames family of tests, change skeleton to upload-non-native.
Otherwise, the version number triggers the error:
dpkg-source: error: can't build with source format '3.0 (quilt)': non-native package version does not contain a revision
It would have been possible to adjust the tags, but many valuable tags
would have been lost. Made the tests non-native instead.
Gbp-Dch: ignore
-
680e0519
by Felix Lechner
at 2019-08-20T13:48:09Z
For legacy-libbaz family of tests, change skeleton to upload-non-native.
Otherwise, the version number triggers the error:
dpkg-source: error: can't build with source format '3.0 (quilt)': non-native package version does not contain a revision
It would have been possible to adjust the tags, but many valuable tags
would have been lost. Made the tests non-native instead.
Gbp-Dch: ignore
-
ad0686f5
by Felix Lechner
at 2019-08-20T13:48:09Z
For legacy-maintainer-scripts family of tests, change skeleton to upload-non-native.
Otherwise, the version number triggers the error:
dpkg-source: error: can't build with source format '3.0 (quilt)': non-native package version does not contain a revision
It would have been possible to adjust the tags, but many valuable tags
would have been lost. Made the tests non-native instead.
Gbp-Dch: ignore
-
231ffff3
by Felix Lechner
at 2019-08-20T13:48:09Z
Revert "Add newly appearing tag 'older-source-format' to tests that trigger it."
This reverts commit dcc7ef827ef7a2e20d8e7d8bc4fd4ad0f0e8a392. Includes
adjustments for test deleted since then.
Removes tags recently added for the check for 'older-source-format'.
Includes a correction for the test debian-symlink, for which two tags
were removed in the original commit. Those tags are not added here.
Gbp-Dch: ignore
-
8a17bbd4
by Felix Lechner
at 2019-08-20T13:48:09Z
Revert "Specify explicit source format for tests using literal match strategy."
This reverts commit aaa63314eaa2a5ae597d0bc0ca5c3d554059a281.
Similar to the previous commit, but for tests using the 'literal'
match strategy.
Gbp-Dch: ignore
-
cfb3960f
by Felix Lechner
at 2019-08-20T13:48:10Z
Revert "Modify expected output for literal tests using new source format."
This reverts commit 044487b37a95e861eca47006cec5999fb3021b05.
Similar to the previous commit, but for tests using the 'literal'
match strategy.
Gbp-Dch: ignore
-
9828aed9
by Felix Lechner
at 2019-08-20T13:48:10Z
Revert "Fix test debconf/debconf-config-not-executable for new tag older-source-format."
This reverts commit 8b806ed705bd8eb9d833acc6f38ae8c2dfb2b040.
Similar to the previous commit, but for a test that does not run on
recent versions of Debian.
Gbp-Dch: ignore
-
7e36343d
by Felix Lechner
at 2019-08-20T13:48:10Z
Remove older-output-format from a test added since the tag was introduced.
The test changelog-file-unreleased-signed-changes was added since the
new tag 'older-output-format' appeared. Pretty much every test
triggered it, including this one. With the default now at source
format 3.0, the tag no longer appears.
Removes the tag 'older-output-format from one test.
Gbp-Dch: ignore
-
7ea45961
by Felix Lechner
at 2019-08-20T13:48:10Z
Re-adds legitimate older-source-format tags for tests kept at source format 1.0.
In six tests, the tag older-source-format continues to be legitimate.
Four cruft-related tests were not converted to 3.0, as that seemed to
correspond more closely with their function and the author's intent.
Then there are two tracking tests for the generic setups offered by
dh_make in 2005 and 2008 that are generally not modified.
For these tests, the reversal of commit aa7108b9 is not appropriate.
Re-adds the tags that were removed by the revert.
Also includes one tag for debian-source-dir/debian-source-dir-general,
which is a test that removes the format supplied by the templates. It
will always test at an implied 1.0 format.
Gbp-Dch: ignore
-
5a9ad012
by Felix Lechner
at 2019-08-20T13:51:25Z
Adjust tags for test family control-file-rules-requires-root-binary-targets.
The changes are just different classification tags for source format.
Gbp-Dch: ignore
-
50ff5750
by Felix Lechner
at 2019-08-20T13:51:25Z
Adjust tags for test family control-file-rules-requires-root-no.
The changes are just different classification tags for source format.
Gbp-Dch: ignore
-
a7e7af3f
by Felix Lechner
at 2019-08-20T13:51:25Z
Adjust tags for test family debhelper-compat-old.
The changes are just different classification tags for source format.
Gbp-Dch: ignore
-
107cd7ca
by Felix Lechner
at 2019-08-20T13:51:26Z
Adjust tags for test family legacy-binary.
The changes simply reflect that this family of was converted to use a
non-native skeleton.
Gbp-Dch: ignore
-
04c7edd0
by Felix Lechner
at 2019-08-20T13:51:26Z
Adjust tags for test family legacy-fields.
The changes simply reflect that this family of was converted to use a
non-native skeleton.
Gbp-Dch: ignore
-
e60ef493
by Felix Lechner
at 2019-08-20T13:51:26Z
Adjust tags for test family legacy-filenames.
The changes simply reflect that this family of was converted to use a
non-native skeleton.
Gbp-Dch: ignore
-
b3aa889e
by Felix Lechner
at 2019-08-20T13:51:26Z
Adjust tags for test family legacy-libbaz.
The changes simply reflect that this family of was converted to use a
non-native skeleton.
Gbp-Dch: ignore
-
ae90392a
by Felix Lechner
at 2019-08-20T13:51:26Z
Adjust tags for test family legacy-maintainer-scripts.
The changes simply reflect that this family of was converted to use a
non-native skeleton.
Gbp-Dch: ignore
-
7b121d84
by Felix Lechner
at 2019-08-20T13:51:26Z
Adjust tags for test family legacy-scripts.
The changes simply reflect that this family of was converted to use a
non-native skeleton.
Gbp-Dch: ignore
-
50c02e92
by Felix Lechner
at 2019-08-20T13:51:26Z
Adjust tags for test family patch-systems-quilt-general.
The changes simply reflect that this family of was converted to use a
non-native skeleton. One tag disappeared because the quilt series
files were modified to prevent build failures from dpkg-source.
Gbp-Dch: ignore
-
8a8f9db4
by Felix Lechner
at 2019-08-20T13:55:42Z
Adjust tags for test changelog-file-become-native.
This test is now native and no longer emits a tag intended for
non-native packages.
Gbp-Dch: ignore
-
5783a3a3
by Felix Lechner
at 2019-08-20T13:55:51Z
Adjust tags for test debian-source-dir-classifications.
This just shows an appropriate change in classification tags for
source format.
Gbp-Dch: ignore
-
179ef9bd
by Felix Lechner
at 2019-08-20T13:55:52Z
Adjust tags for test filename-length-really-really-really-really-long-package-name.
Using source format "3.0 (non-native)", the longest name of any member
is, at 111 characters:
filename-length-really-really-really-really-long-package-name_1.0.and.a.really.long.version.too-1.debian.tar.xz
While with source format "1.0", the longest name is, at 107
characters:
filename-length-really-really-really-really-long-package-name_1.0.and.a.really.long.version.too.orig.tar.gz
The difference in the lengths of these two filenames is the reason for
the tag change herein.
Gbp-Dch: ignore
-
d7c46229
by Felix Lechner
at 2019-08-20T13:55:52Z
Adjust literal output of tests using that match strategy.
Gbp-Dch: ignore
-
884df5ee
by Felix Lechner
at 2019-08-20T13:58:38Z
Do not require version fields in individual test specifications.
The skeletons now provide default version numbers. It is no longer
necessary to specify a version number unless it is different from the
default. No longer requires the field to be present in each
specification.
Om addition, calculates parsed version portions only when a version is
present.
The test runner may in the future randomize version numbers for more
variety and broader coverage.
Finally, allows values from skeletons to override the overall
defaults. That was previously not possible due to the order in which
values were filled.
Gbp-Dch: ignore
-
fa46a569
by Felix Lechner
at 2019-08-20T14:00:00Z
Remove default native version 1.0 from 651 test specifications.
A standard version number 1.0 for native packages is now supplied by
the skeleton. Individual settings are only needed to override the
default.
Removes the fields from tests that explicitly specified the default
value.
Gbp-Dch: ignore
-
19332351
by Felix Lechner
at 2019-08-20T14:00:00Z
Remove default non-native version 1.0-1 from 90 test specifications.
A standard version number 1.0-1 for non-native packages is now
supplied by the skeleton. Individual settings are only needed to
override the default.
Removes the fields from tests that explicitly specified the default
value.
Gbp-Dch: ignore