autopkgtest-helper 0.1
Package Information
| Description | shell library helper for autopkgtest A POSIX shell library for debian/tests scripts. Available functions support: - test flows start a service, run the code under test against it, and clean up afterwards. - a fake CA to generate certificates The core provides a temporary working root with guaranteed teardown (also on failure and on signals), background daemon management, readiness polling instead of sleeping, free-port selection, throw-away CA and server certificates, and reversible changes to system files. Log files of the daemons are printed and saved as autopkgtest artifacts when a test fails. The library is meant to be used for testing other software that depends on a service, not for testing the services themselves. This is meant to be a team effort, feel free to open MRs on salsa for new functions and consider joining the team by subscribing to the package on tracker.d.o. |
|---|---|
| Maintainer | Marc Haber <mh+debian-packages@zugschlus.de> |
| Changed By | Marc Haber <mh+debian-packages@zugschlus.de> |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/debian/autopkgtest-helper.git (browse) |
| Closes | #1154545 |
| Tracker | https://tracker.debian.org/pkg/autopkgtest-helper |
| Uploaded | 1 hour ago |
New Package Report
.changes
| Source | autopkgtest-helper |
|---|---|
| Version | 0.1 |
| Changed-By | Marc Haber <mh+debian-packages@zugschlus.de> |
| Architecture | source all |
| Distribution | unstable |
| Date | Sat, 21 Nov 2026 10:05:05 +0100 |
Changelog
autopkgtest-helper (0.1) unstable; urgency=medium . * Initial release (Closes: #1154545) * rewrite ldap autopkgtest to also work on salsa.
.dsc
| Section | devel |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | autopkgtest-helper deb devel optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: autopkgtest-helper Upstream-Contact: Marc Haber <mh+debian-packages@zugschlus.de> Files: * Copyright: 2026 Marc Haber <mh+debian-packages@zugschlus.de> License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 0 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 0 hours ago.
Report
DFSG NEW review for autopkgtest-helper version 0.1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 0 minor
- debian/watch: absent (native package)
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
debian/copyright is DEP-5 with the correct Format URL and a single Files: * stanza: Copyright: 2026 Marc Haber and License: GPL-2+, with the GPL-2 text referenced from /usr/share/common-licenses/GPL-2. That matches the SPDX-License-Identifier: GPL-2.0-or-later headers in lib/fixtures.sh and both modules and the AUTHOR line of the man page, and the stanza covers everything else (autopkgtest scripts and their LDIF/Python data). No other holder, licence, vendored code or non-free term occurs anywhere in the tree.
Packaging
Small, clean single-binary arch:all package: compat 14 with a bare dh $@, an install file and manpages file that put fixtures.sh, modules/ and the section-7 man page in the intended places, no patches, no maintainer scripts, no RC-bug or upgrade concerns. The four DEP-8 stanzas declare the packages their scripts actually use (plus @), and Standards-Version 4.7.4 and the changelog are current. The native source format is defensible for a Debian-specific test helper whose upstream is its maintainer, and the autopkgtest scripts deliberately live only in the source package.
Issues
None.
Verified ◂
- Read every file in the tree: lib/fixtures.sh, lib/modules/{ldap,syslog}.sh, doc/autopkgtest-helper.7, all of debian/ (control, rules, changelog, copyright, install, manpages, salsa-ci.yml, source/format, tests/control, tests/{core,tcp,ldap,syslog}, tests/data/*.ldif and echo-{server,client}.py). No .pc/, no debian/patches, no maintainer scripts, no other top-level files.
- The prescan listed no files to account for: its only result was that every holder it found is named in debian/copyright (it scanned 4 files, i.e. debian/copyright and the three files carrying the SPDX/copyright headers).
- Grep for Copyright, (C), ©, SPDX-License-Identifier, permission/licence wordings, and for other author names found only Marc Haber mh+debian-packages@zugschlus.de; the licence is GPL-2+ everywhere and no third-party, non-free or unclear-provenance content is present.
- No built files, minified code, PDFs, archives or generated documentation: everything is hand-written shell, roff, Python or LDIF source, so every file has its preferred form for modification.
- No upstream LICENSE/COPYING file exists, but that is not a defect here: the licence is stated in each library file's header and asserted for all files by
Files: *, and the GPL-2 full text is on the system. - Packaging mechanics: dh_install(1) installs a directory source as a subdirectory of the destination (its EXAMPLES show
plugins usr/share/my-prog), solib/modules usr/share/autopkgtest-helper/yields usr/share/autopkgtest-helper/modules/, matching the library's default FX_LIBDIR; dh_installman takes doc/autopkgtest-helper.7 to man7. - At compat 14 dh_gencontrol applies relationship substvars itself (debhelper-compat-upgrade-checklist), so
Depends: ${misc:Depends},is redundant but harmless; I checked the trailing comma too: dpkg-gencontrol substitutes it to,, Dpkg::Deps::deps_parse's split drops the empty element, and dpkg-gencontrol deletes the resulting empty field (/usr/bin/dpkg-gencontrol:363). - DEB-8 control: the scripts use openssl (core, tcp, ldap --tls), python3 (tcp, syslog), socat (syslog), slapd/ldap-utils (ldap) and
@; all are declared. procps in the ldap stanza is not invoked by the test, which is a harmless extra test dependency; nothing needed is missing. - Standards-Version 4.7.4 is current for this system's 4.7.x Policy; changelog distribution unstable, version 0.1 (native, no Debian revision) and a consistent date; Vcs-* and Homepage agree.
- debian/salsa-ci.yml only includes the salsa pipeline recipe and sets two variables; no build-time fetch of it happens.
- There is no
debian/watch, and the package is native, so none is needed. - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (GPL-2).
Not confirmed ◂
- File modes: I could not stat debian/rules (Policy 4.9 requires it executable) or the autopkgtest scripts and debian/tests/data/echo-client.py (invoked directly by the tcp test), since the available tools do not expose permissions.
- The archive reader showed only the tarball's top-level directory, so I could not diff autopkgtest-helper_0.1.tar.xz against the unpacked tree.
Proposed changes ◂
None.