-
69ce6c43
by Felix Lechner
at 2019-09-26T12:39:25Z
In Lintian::Collect, cache result of method unfolded_fields; prevents duplicate tags.
The method unfolded_field could previously not be called multiple
times because it can trigger a tag. That tag could then appear
multiple times.
This adds caching to the method. The tag is only emitted when the
value is added to the cache, i.e. in the first invocation. There no
longer a risk of duplicate tags.
The method can now be invoked multiple times in one check or even in
multiple checks.
Gbp-Dch: ignore
-
14fa5a80
by Felix Lechner
at 2019-09-26T12:40:24Z
Split check/fields.pm into smaller components; invoke parts through old script.
This is the first step to divide the massive check 'fields' into
smaller components. They are invoked from the original script, meaning
they are not independent checks, in Lintian terminology.
Splitting the tests and the tags will take place later after it is
clear that no subchecks or tags need to be assigned to different
components. Then a '*.desc' file can be added, and the new check will
stand on its own.
This pattern may also be used for other large checks, such as files.
-
1d40cf38
by Felix Lechner
at 2019-09-26T12:40:32Z
Adjust literal tests for new tag output order.
In Lintian's output, tags appear in the order they are emitted.
Adjusts literal tests for changes is check execution order.
This commit contains no substantive changes.
Gbp-Dch: ignore