Proposed changes to dh_systemd_*

Niels Thykier niels at thykier.net
Thu Mar 10 17:14:45 GMT 2016


Hi,

I am proposing the following individual patches:

 1) dh_systemd_start: Default to -R in compat 10
  - For consistency with dh_installinit, which changed the same default
    in compat 10.

 2) dh_systemd_*: Limit the directory scanning to /lib/systemd/system,
    which is the only path that satisfies the constraints of the scan.

 3) dh_systemd_*: Add a "DH PROMISE" so dh knows when it can safely
    optimise out the commands.
    - Arguably, this is mostly interesting if these helpers are merged
      into debhelper at some point.

 4) d/control: Use HTTPS links for the Vcs fields.

Testing: I have only tested that the init-system-helpers and passes its
own test suite.  Which, AFAICT, sums up to "no testing" because the test
suite does not cover these scripts.

Thanks,
~Niels

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dh_systemd_start-Default-to-R-in-compat-10.patch
Type: text/x-patch
Size: 2006 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20160310/db0b17b0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-dh_systemd_-Do-not-traverse-the-entire-package-tree.patch
Type: text/x-patch
Size: 1398 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20160310/db0b17b0/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-dh_systemd_-Add-DH-promise-to-avoid-being-called-for.patch
Type: text/x-patch
Size: 1346 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20160310/db0b17b0/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Update-Vcs-fields-to-use-https.patch
Type: text/x-patch
Size: 986 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20160310/db0b17b0/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20160310/db0b17b0/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list