Felix Lechner pushed to branch master at lintian / lintian


Commits:
86dcea9b by Felix Lechner at 2019-08-27T13:53:40Z
Only complain about folders with contents when matching folders to check names.

After all tests were removed from 'source-changelog', an empty
directory remained. It does not match any current check names, but
also has no contents.

Hones the error condition to focus on folders with contents.

Gbp-Dch: ignore

- - - - -
3a9951e6 by Felix Lechner at 2019-08-27T13:53:40Z
Change combined check name to 'changelog' in Debian's 
'main' profile.

The two checks 'changelog-file' and 'source-changelog' were 
combined
when multi-faceted checks became available. They are now known as one
check with the name of 'changelog'.

Adds the new name to Debian's main profile, and removes the two old
ones.

Gbp-Dch: ignore

- - - - -
90f69f89 by Felix Lechner at 2019-08-27T13:53:41Z
Combine the checks changelog-file and source-changelog into a new check 
'changelog'.

The division between these two checks was always awkward because both
deal with changelogs. This combines them into one called 'changelog'.

With two separate checks, it was super difficult to move tags from one
to the other. It required reassignment of tag descriptions,
duplication of tests, plus a recalibration of expected tags in both
the new and the remaining test.  Finally, the Test-Against: statements
had to be adjusted to include only tags belonging to the respective
check.

None of that is necessary when tags are moved from the 'binary' facet
to the 'source' facet of the new changelog test, as will happen
shortly when native heuristics are are restricted to sources, and
version parsing moves there.

All checks related to changelogs are now grouped conveniently in one
check.

Parts can still be moved out but that will represent meaningful areas
of examination (for example, for versions) and not simply expose
program internals.

- - - - -
d5fe2ad9 by Felix Lechner at 2019-08-27T13:53:41Z
Reassign tag descriptions belonging to changelog-file to the new check 
changelog.

These tags are being merged into a new check called 'changelog'. This
changes the association in the tags descriptions.

Gbp-Dch: ignore

- - - - -
1a8a1903 by Felix Lechner at 2019-08-27T13:53:41Z
Reassign tags from source-changelog to changelog.

These tags are being merged into a new check called 'changelog'. This
changes the association in the tags descriptions.

Gbp-Dch: ignore

- - - - -
83b0e664 by Felix Lechner at 2019-08-27T13:53:41Z
Expand list of valid entrypoints in checks for multi-faceted subs.

Checks are no longer required to have a single entry point named run.
This allows all names that are currently possible.

Gbp-Dch: ignore

- - - - -
9c46e6e9 by Felix Lechner at 2019-08-27T13:53:42Z
Refactor all tests belonging to check 'changelog-file' for the check 
'changelog' instead.

This check is effectively being renamed to 'changelog'. Associates its
tests with the new check 'changelog' and moves them to their new
location.

Gbp-Dch: ignore

- - - - -
2caae76e by Felix Lechner at 2019-08-27T13:53:42Z
Move tests that did not exist in 'changelog' from 
'source-changelog'.

In an effort to combine tests for two checks being merged, copies all
tests that do not exists in the old check 'source-changelog' to the
new check 'changelog'.

Gbp-Dch: ignore

- - - - -
f5d974fc by Felix Lechner at 2019-08-27T13:53:42Z
Merge duplicate tests 'changelog-file-etch' appearing in both checks 
about to be merged.

This test existed in both checks being merged. Both tests had the same
contents and functionality. The expected tags were merged and
resorted.  The Tags-Against: statements were combined.

This commit is part of an effort to merge the checks 'changelog-file'
and 'source-changelog' into a new check called 'changelog'.

Gbp-Dch: ignore

- - - - -
36affafe by Felix Lechner at 2019-08-27T13:53:42Z
Merge duplicate tests 'changelog-file-etch-nmu' appearing in both 
checks about to be merged.

This test existed in both checks being merged. Both tests had the same
contents and functionality. The expected tags were merged and
resorted.  The Tags-Against: statements were combined.

This commit is part of an effort to merge the checks 'changelog-file'
and 'source-changelog' into a new check called 'changelog'.

Gbp-Dch: ignore

- - - - -
e4bb987e by Felix Lechner at 2019-08-27T13:53:42Z
Merge duplicate tests 'changelog-file-general' appearing in both checks 
about to be merged.

This test existed in both checks being merged. Both tests had the same
contents and functionality. The expected tags were merged and
resorted.  The Tags-Against: statements were combined.

This commit is part of an effort to merge the checks 'changelog-file'
and 'source-changelog' into a new check called 'changelog'.

Gbp-Dch: ignore

- - - - -
5f9d1c16 by Felix Lechner at 2019-08-27T13:53:42Z
Merge duplicate tests 'changelog-file-stable' appearing in both checks 
about to be merged.

This test existed in both checks being merged. Both tests had the same
contents and functionality. The expected tags were merged and
resorted.  The Tags-Against: statements were combined.

This commit is part of an effort to merge the checks 'changelog-file'
and 'source-changelog' into a new check called 'changelog'.

Gbp-Dch: ignore

- - - - -
546676a2 by Felix Lechner at 2019-08-27T13:53:42Z
Merge duplicate tests 'changelog-file-unreleased' appearing in both 
checks about to be merged.

This test existed in both checks being merged. Both tests had the same
contents and functionality. The expected tags were merged and
resorted.  The Tags-Against: statements were combined.

This commit is part of an effort to merge the checks 'changelog-file'
and 'source-changelog' into a new check called 'changelog'.

Gbp-Dch: ignore

- - - - -
55b2de4d by Felix Lechner at 2019-08-27T13:53:42Z
Merge duplicate tests 'legacy-foo++' appearing in both checks about to 
be merged.

This test existed in both checks being merged. Both tests had the same
contents and functionality. The expected tags were merged and
resorted.  The Tags-Against: statements were combined.

This commit is part of an effort to merge the checks 'changelog-file'
and 'source-changelog' into a new check called 'changelog'.

Gbp-Dch: ignore

- - - - -
bca228a4 by Felix Lechner at 2019-08-27T13:53:42Z
In test 'changelog-version-special-chars', add newly appearing tags.

This test existed only in one check. The tags appeared legitimately
after the two changelog checks were merged.

This commit is part of an effort to merge the checks 'changelog-file'
and 'source-changelog' into a new check called 'changelog'.

Gbp-Dch: ignore

- - - - -
9e26c94f by Felix Lechner at 2019-08-27T13:53:42Z
Remove duplicate test 'legacy-binary' from old check source-changelog.

This test existed in both checks being merged. Both tests had the same
contents, functionality, expected tags and test description. They were
identical.

The duplicate test was removed.

This commit is part of an effort to merge the checks 'changelog-file'
and 'source-changelog' into a new check called 'changelog'.

Gbp-Dch: ignore

- - - - -
2ed2da6b by Felix Lechner at 2019-08-27T13:53:42Z
Remove duplicate test 'legacy-fields' from old check source-changelog.

This test existed in both checks being merged. Both tests had the same
contents, functionality, expected tags and test description. They were
identical.

The duplicate test was removed.

This commit is part of an effort to merge the checks 'changelog-file'
and 'source-changelog' into a new check called 'changelog'.

Gbp-Dch: ignore

- - - - -
172d2aac by Felix Lechner at 2019-08-27T13:53:42Z
Remove duplicate test 'legacy-libbaz' from the old check 
source-changelog.

This test existed in both checks being merged. Both tests had the same
contents, functionality, expected tags and test description. They were
identical.

The duplicate test was removed.

This commit is part of an effort to merge the checks 'changelog-file'
and 'source-changelog' into a new check called 'changelog'.

Gbp-Dch: ignore

- - - - -


30 changed files:

- checks/changelog-file.desc → checks/changelog.desc
- checks/changelog-file.pm → checks/changelog.pm
- − checks/source-changelog.desc
- − checks/source-changelog.pm
- lib/Test/Lintian.pm
- profiles/debian/main.profile
- t/scripts/harness/sort-order.t
- − t/tags/checks/changelog-file/changelog-file-general/desc
- − t/tags/checks/changelog-file/changelog-file-stable/desc
- − t/tags/checks/changelog-file/changelog-file-unreleased/debian/changelog.in
- − t/tags/checks/changelog-file/changelog-file-unreleased/desc
- 
t/tags/checks/changelog-file/changelog-distribution-does-not-match-changes-file/desc
 → 
t/tags/checks/changelog/changelog-distribution-does-not-match-changes-file/desc
- 
t/tags/checks/changelog-file/changelog-distribution-does-not-match-changes-file/post_build.in
 → 
t/tags/checks/changelog/changelog-distribution-does-not-match-changes-file/post_build.in
- 
t/tags/checks/changelog-file/changelog-distribution-does-not-match-changes-file/tags
 → 
t/tags/checks/changelog/changelog-distribution-does-not-match-changes-file/tags
- t/tags/checks/changelog-file/changelog-file-become-native/debian/changelog.in 
→ t/tags/checks/changelog/changelog-file-become-native/debian/changelog.in
- t/tags/checks/changelog-file/changelog-file-become-native/desc → 
t/tags/checks/changelog/changelog-file-become-native/desc
- t/tags/checks/changelog-file/changelog-file-become-native/tags → 
t/tags/checks/changelog/changelog-file-become-native/tags
- 
t/tags/checks/changelog-file/changelog-file-consecutive-debian-revision-unrel/debian/changelog.in
 → 
t/tags/checks/changelog/changelog-file-consecutive-debian-revision-unrel/debian/changelog.in
- 
t/tags/checks/changelog-file/changelog-file-consecutive-debian-revision-unrel/desc
 → t/tags/checks/changelog/changelog-file-consecutive-debian-revision-unrel/desc
- 
t/tags/checks/changelog-file/changelog-file-consecutive-debian-revision-unrel/tags
 → t/tags/checks/changelog/changelog-file-consecutive-debian-revision-unrel/tags
- 
t/tags/checks/changelog-file/changelog-file-dch-wrong-name-native/debian/rules 
→ t/tags/checks/changelog/changelog-file-dch-wrong-name-native/debian/rules
- t/tags/checks/changelog-file/changelog-file-dch-wrong-name-native/desc → 
t/tags/checks/changelog/changelog-file-dch-wrong-name-native/desc
- t/tags/checks/changelog-file/changelog-file-dch-wrong-name-native/tags → 
t/tags/checks/changelog/changelog-file-dch-wrong-name-native/tags
- t/tags/checks/changelog-file/changelog-file-dch-wrong-name/debian/rules → 
t/tags/checks/changelog/changelog-file-dch-wrong-name/debian/rules
- t/tags/checks/changelog-file/changelog-file-dch-wrong-name/desc → 
t/tags/checks/changelog/changelog-file-dch-wrong-name/desc
- t/tags/checks/changelog-file/changelog-file-dch-wrong-name/orig/ChangeLog → 
t/tags/checks/changelog/changelog-file-dch-wrong-name/orig/ChangeLog
- t/tags/checks/changelog-file/changelog-file-dch-wrong-name/tags → 
t/tags/checks/changelog/changelog-file-dch-wrong-name/tags
- 
t/tags/checks/changelog-file/changelog-file-empty-entry-unrel/debian/changelog.in
 → t/tags/checks/changelog/changelog-file-empty-entry-unrel/debian/changelog.in
- t/tags/checks/changelog-file/changelog-file-empty-entry-unrel/desc → 
t/tags/checks/changelog/changelog-file-empty-entry-unrel/desc
- t/tags/checks/changelog-file/changelog-file-empty-entry-unrel/tags → 
t/tags/checks/changelog/changelog-file-empty-entry-unrel/tags


The diff was not included because it is too large.


View it on GitLab: 
https://salsa.debian.org/lintian/lintian/compare/8615b474d5fd0131baf5d7f16384b73b4c820381...172d2aacbe10a8878413a07bb9d8978829d0060f

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/compare/8615b474d5fd0131baf5d7f16384b73b4c820381...172d2aacbe10a8878413a07bb9d8978829d0060f
You're receiving this email because of your account on salsa.debian.org.


Reply via email to