feat: add installdebconf helper
Metadata
Current evaluation
Merged after approval. Adds an installdebconf helper to copy debconf config and templates to the package control directory. Core functionality implemented while deferring token replacement and cleanup to future updates. CI checks passed.
Suggested action: —
No scores available.
Issue body
Install debconf config and templates files from `debcraft/` or `debian/`
to the package control directory.
Missing features to be addressed in separate PRs:
* `#DEBHELPER#` token replacement in config scripts
* postrm debconf cleanup generation
* debian/po/ translation merging via po2debconf
* Token substitution (`#DEB_HOST_NAME#`, `#ENV.NAME#`, `#PACKAGE#`, -D/--define)
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint && make test`?
---
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval. Adds an installdebconf helper to copy debconf config and templates to the package control directory. Core functionality implemented while deferring token replacement and cleanup to future updates. CI checks passed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged feature adding installdebconf helper to copy debconf config and template files from debcraft or debian directories into the package control directory. Token replacement, postrm cleanup, translation merging, and variable substitution are deferred to future updates. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #146 [Feature] Add support for debconf config script | debcraft | open | Feature request for debconf config/templates deployment in debcraft. Triaged (Jira DEBCRAFT-67), and the core functionality has since been implemented via merged installdebconf helper PRs #156 and #162. No activity for about 4 months. | |
| #153 feat: install lintian-overrides file | debcraft | merged | Merged following approval and passing CI checks. Introduces utility functions to install package-specific files, including lintian-overrides, from debcraft or debian directories. Adjusts control file staging to support install helpers. Resolves #144. | |
| #162 feat(installdebconf): token substitution | debcraft | merged | Merged an update implementing token substitution for template config files in dh_installdebconf. Approved, passed CI, and closed issue 159. The change adds 216 lines across 5 files to enable environment variable lookup. | |
| #121 feat: add helpers to install copyright and changelogs | debcraft | merged | Merged. Introduces install-phase helpers to automatically deploy Debian copyright and changelog files into built binary packages. Approved by two reviewers, passed CI checks, and added 316 lines across 11 files. |