Louis-Philippe Véronneau pushed to branch master at lintian / lintian
Commits:
37449c03 by Nilesh Patra at 2026-02-19T00:24:18+05:30
Check double quotes as well for appstream metadata check
The output comes up like the following with new libfyaml 0.9.4-1
---
{
"File": "appstream-metadata.metadata.xml",
"Validator": "1.1.2",
"Issues": [
{
"tag": "developer-info-missing",
"severity": "info",
"component": "org.debian.lintian.check.appstream.udev",
"explanation": "This component contains no `developer` element with
information about its auth\
or."
},
{
"tag": "metainfo-filename-cid-mismatch",
"severity": "warning",
"component": "org.debian.lintian.check.appstream.udev",
"explanation": "The metainfo filename does not match the component ID."
}
],
"Passed": "no"
}
It was earlier working with single quotes instead.
- - - - -
3d7e0b37 by Nilesh Patra at 2026-02-19T03:11:42+05:30
Add additional d/ch entry in changelog-file-invalid-date as a workaround for
#1128372
- - - - -
2 changed files:
- lib/Lintian/Check/AppstreamMetadata.pm
-
t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/debian/changelog.in
Changes:
=====================================
lib/Lintian/Check/AppstreamMetadata.pm
=====================================
@@ -88,7 +88,7 @@ sub installable {
system('appstreamcli', 'validate-tree', '--format=yaml',
'--no-net', $basedir);
};
- if ($output =~ m/'?Passed'?: '?no'?/) {
+ if ($output =~ m/['"]?Passed['"]?: ['"]?no['"]?/) {
my @yaml = YAML::XS::Load($output);
die
unless @yaml;
=====================================
t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/debian/changelog.in
=====================================
@@ -6,3 +6,10 @@
* Writes out "Sept" and "Thurs"; should be "Sep" and "Thu".
-- [% $author %] Thurs, 14 Sept 2017 10:47:43 +0000
+
+
+[% $source %] (0.0) unstable; urgency=low
+
+ * Lintian Test Suite.
+
+ -- [% $author %] Wed, 13 Sep 2017 10:47:43 +0000
View it on GitLab:
https://salsa.debian.org/lintian/lintian/-/compare/430441c8683f0117f5fb239bb27796e4f3e70233...3d7e0b374639633883bbf0057a119ebb3984e481
--
View it on GitLab:
https://salsa.debian.org/lintian/lintian/-/compare/430441c8683f0117f5fb239bb27796e4f3e70233...3d7e0b374639633883bbf0057a119ebb3984e481
You're receiving this email because of your account on salsa.debian.org.