Nilesh Patra pushed to branch master at lintian / lintian


Commits:
b6d55301 by Nilesh Patra at 2026-05-21T23:14:22+05:30
Avoid crash when d/rules is absent with `Build-Driver` not equal to 
`debian-rules` (Closes: #1137245)

- - - - -
1dfe10e4 by Nilesh Patra at 2026-05-21T23:48:41+05:30
Add test to run lintian on package with debputy in full integration mode 
(without d/rules)

- - - - -
ec18db42 by Nilesh Patra at 2026-05-21T23:48:41+05:30
Adjust existing test hints for debputy

- - - - -


8 changed files:

- lib/Lintian/Check/Debhelper.pm
- + 
t/recipes/checks/debhelper/package-uses-debputy-build-driver-full-integration/build-spec/debian/changelog.in
- + 
t/recipes/checks/debhelper/package-uses-debputy-build-driver-full-integration/build-spec/debian/control.in
- + 
t/recipes/checks/debhelper/package-uses-debputy-build-driver-full-integration/build-spec/fill-values
- + 
t/recipes/checks/debhelper/package-uses-debputy-build-driver-full-integration/eval/desc
- + 
t/recipes/checks/debhelper/package-uses-debputy-build-driver-full-integration/eval/hints
- + 
t/recipes/checks/debhelper/package-uses-debputy-build-driver-full-integration/eval/post-test
- t/recipes/checks/debhelper/package-uses-debputy-build-driver/eval/hints


Changes:

=====================================
lib/Lintian/Check/Debhelper.pm
=====================================
@@ -489,6 +489,8 @@ sub source {
             $dcontrol->item->pointer,
             join(', ', @systems)
         );
+        $self->hint('package-does-not-use-debhelper');
+        return;
     } elsif (%build_systems) {
         my @systems = sort keys %build_systems;
         $self->pointed_hint('debian-build-system', $drules->pointer,


=====================================
t/recipes/checks/debhelper/package-uses-debputy-build-driver-full-integration/build-spec/debian/changelog.in
=====================================
@@ -0,0 +1,6 @@
+[% $source %] ([% $version %]) unstable; urgency=low
+
+  * Lintian Test Suite.
+  * Test: [% $testname %]
+
+ -- [% $author %]  [% $date %]


=====================================
t/recipes/checks/debhelper/package-uses-debputy-build-driver-full-integration/build-spec/debian/control.in
=====================================
@@ -0,0 +1,14 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %], debputy
+Build-Driver: debputy
+
+Package: [% $source %]
+Architecture: [% $package_architecture %]
+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.


=====================================
t/recipes/checks/debhelper/package-uses-debputy-build-driver-full-integration/build-spec/fill-values
=====================================
@@ -0,0 +1,4 @@
+Testname: package-uses-debputy-build-driver-full-integration
+Skeleton: upload-builder-only
+Description: Package builds without debian/rules
+Default-Build-Depends: debputy


=====================================
t/recipes/checks/debhelper/package-uses-debputy-build-driver-full-integration/eval/desc
=====================================
@@ -0,0 +1,2 @@
+Testname: package-uses-debputy-build-driver-full-integration
+Check: debhelper


=====================================
t/recipes/checks/debhelper/package-uses-debputy-build-driver-full-integration/eval/hints
=====================================
@@ -0,0 +1,2 @@
+package-uses-debputy-build-driver-full-integration (source): 
package-does-not-use-debhelper
+package-uses-debputy-build-driver-full-integration (source): 
debian-build-system debputy [debian/control]


=====================================
t/recipes/checks/debhelper/package-uses-debputy-build-driver-full-integration/eval/post-test
=====================================
@@ -0,0 +1 @@
+s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/


=====================================
t/recipes/checks/debhelper/package-uses-debputy-build-driver/eval/hints
=====================================
@@ -1,2 +1,2 @@
-package-uses-debputy-build-driver (source): package-does-not-use-debhelper 
[debian/rules]
+package-uses-debputy-build-driver (source): package-does-not-use-debhelper
 package-uses-debputy-build-driver (source): debian-build-system debputy 
[debian/control]



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/compare/f8dfcec4bffb8916099fccb6d239010eaae290a8...ec18db42839939621af1b878894c49bcd1147cc4

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/compare/f8dfcec4bffb8916099fccb6d239010eaae290a8...ec18db42839939621af1b878894c49bcd1147cc4
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


Reply via email to