summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-09-02Tweak CONTRIBUTING.rst a bitNiels Thykier1-6/+10
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-09-01Add CONTRIBUTING.rstNiels Thykier1-0/+191
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-09-01d/changelog: Document Fabian's changesNiels Thykier1-0/+4
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-09-01Dh_Lib.pm: Have isnative() use the cache better for d/changelogNiels Thykier2-12/+28
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-08-30debhelper (11.4~dyson1)Igor Pashev1-0/+6
2018-08-30Merge https://salsa.debian.org/debian/debhelperIgor Pashev105-7269/+14495
2018-08-12dh_link, dh_installdocs: Fix typosFabian Wolff2-2/+2
2018-08-09dh_installdeb: Ignore debian/*.conffiles [c12]Niels Thykier3-5/+18
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-08-08Regenerate POT and PO filesNiels Thykier6-1323/+1654
2018-08-08d/changelog: Add entry for Juhani Numminen's commitNiels Thykier1-0/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-08-08dh_installinit.1, dh_installsystemd.1: Fix typosJuhani Numminen2-2/+2
2018-08-06dh_installinit.1: Improve documentation of compat level related itemsNiels Thykier2-4/+13
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-08-06dh_md5sums: Support arbitrary numbers of conffiles to omitNiels Thykier2-19/+44
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-08-04d/changelog: Add changelog itemsNiels Thykier1-1/+7
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-08-04d/control: Provide dh-sequence-{dwz,installinitramfs,systemd}Niels Thykier1-1/+4
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-08-04dh: Support autoloading sequences via Build-DependsNiels Thykier2-1/+31
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-08-04dh: Refactor --with/--without handling of add-onsNiels Thykier1-19/+57
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-08-04autoconf,meson: Use usr/libexec dir by default [c12]Niels Thykier5-4/+30
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-08-04cmake: Explicitly set CMAKE_INSTALL_LIBDIRNiels Thykier2-1/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-08-01dh_dwz.1: dh_dwz is not experimental (any longer)Niels Thykier2-3/+8
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-30Release debhelper/11.3.5 into unstableNiels Thykier1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-30Dh_Lib.pm: Fix comment handling at EOF in d/controlNiels Thykier2-1/+12
A trivial work around for this bug is to add an empty line at the end of the file. Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-30Restore glob error handling for documentation dh_* toolsNiels Thykier6-5/+34
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-24Release debhelper/11.3.4 into unstableNiels Thykier1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-24Regenerate POT and PO filesNiels Thykier6-560/+754
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-24debhelper.pod: Rewrite main-doc-package changeNiels Thykier2-8/+27
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-24Dh_Lib: Correct assignment of $build_profilesNiels Thykier2-1/+9
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-23Release debhelper/11.3.3 into unstableNiels Thykier1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-23t: Fix warningNiels Thykier1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-23Regenerate POT and PO filesNiels Thykier6-1498/+1883
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-23d/changelog: Document deb822 parser related changesNiels Thykier1-0/+9
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-23Dh_Lib: Ensure (X-)Package-Type appear at most once per binaryNiels Thykier1-0/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-23Dh_Lib: Align binary package stanza parser with deb822 rulesNiels Thykier1-42/+74
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-23Dh_Lib: Align source stanza parser with deb822 rulesNiels Thykier1-22/+52
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-23Dh_Lib: Ensure package names are validNiels Thykier1-0/+9
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-23Dh_Lib: Avoid forking a shell for executable dh config filesNiels Thykier2-1/+3
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-23debhelper.pod: Make a dedicated subsection to exec config filesNiels Thykier3-4/+40
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-23Dh_Lib: Provide a more helpful error message for exec-config filesNiels Thykier2-1/+27
Apparently the exec-bit is set by default in WSL, so provide a more helpful error message when debhelper encounters a config file with the exec-bit that does not have a #!-line (and is not an ELF binary). Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-23Dh_Lib: Allow empty warning messages (for formatting purposes)Niels Thykier1-1/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-20d/changelog: UpdateDaniele Nicolodi1-0/+9
2018-06-20dh_installsystemd: Fix handling of symlinked alias units, add relevant testsDaniele Nicolodi2-2/+37
2018-06-20t/dh_installsystemd: Use consistent string quotingDaniele Nicolodi1-5/+5
2018-06-20dh_installsystemd: Fix --name option handlingDaniele Nicolodi1-1/+1
The last section of the helper generates maintainer scripts code blocks for mount, path, service, socket, target, and timer units. The filtering associated to the --name option incorrectly looks for file names with a ".tmpfile" suffix and not for a ".timer" suffix. Fix it.
2018-06-20dh_installsystemd: Fix handling of the undocumented --no-also optionDaniele Nicolodi1-6/+7
The --no-also option not only affected handling of the Also= directive but also inhibited handling of the Alias= directive. Fix it. Add a few comments.
2018-06-20dh_installsystemd: Improve error reporting if unit file is not foundDaniele Nicolodi1-3/+5
2018-06-20dh_installsystemd: Code cleanup, no functional changesDaniele Nicolodi1-82/+79
2018-06-16dh_installsystemd: SimplifyDaniele Nicolodi2-49/+43
Simplify and move to a function the code responsible to list all installed units. It is much simpler to refer to unit files simply as their file name without keeping track of their complete path as the later can be readily computed because all unit files must be installed into usr/lib/systemd/system. This removes some confusion and highlight a bug where code blocks for handling units installed at the wrong location would be emitted if relative file paths were specified on the command line. Fix the tests accordingly.
2018-06-16dh_installsystemd: Simplify error handlingDaniele Nicolodi1-16/+0
The intention was to carry on all possible work and report missing unit files specified on the command line at the end of execution. However, now the scripts fails immediately when it tries to read the content of the unit filed and the late check is never executed. Remove the late check.
2018-06-16dh_installsystemd: RefactorDaniele Nicolodi1-31/+48
Make code easier to grock by splitting operation into three phases. The number of binary packages should be small. Iterating three times through their names should not impact performances.
2018-06-16t/dh_installsystemd: Add tests for a simpler source packageDaniele Nicolodi4-9/+71
Extend the tests to verify that dh_installsystemd comand line arguments handling works in the simplified form allowed by source packages building only one binary package.