← Back to issue list

feat: add installdebconf helper

View original Github issue

Metadata

Project
debcraft
Number
#156
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #156 as commit 25668c2, adding installdebconf to copy debconf config and templates into the package control directory.

Resolution: closed resolved

Reason: The approved PR was merged into main as commit 25668c2, implementing the installdebconf helper and passing the listed lint and test checks.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged PR #156 as commit 25668c2, adding installdebconf to copy debconf config and templates into the package control directory.
stealth/space-bunny-alpha — closed resolved Merged PR #156 as commit 25668c2, adding installdebconf to copy debconf config and templates from debcraft/ or debian/ into the package control directory.
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 work

  • Related To: canonical/debcraft#146 (confidence 98%)

    Open umbrella issue for broader debconf support; this PR delivered its config/templates installation step.

  • Related To: canonical/debcraft#162 (confidence 95%)

    Follow-up work that added token substitution for debconf config scripts.

Related issues

Issue Project State Summary Similarity
#146 [Feature] Add support for debconf config script debcraft open Feature request to support debconf config scripts. The requested first step (deploying config/templates into the package control dir) shipped as the installdebconf helper in PR #156, with token substitution added in #162.
81%
#54 feat: create debs for all declared packages debcraft merged PR #54 merged, generating a .deb with package-specific control metadata for every declared package; it fixed #47 in commit 997cdf6.
74%
#147 [Feature] Add support for conffiles debcraft open Feature request to let debcraft authors declare conffiles per binary package and emit them in control metadata. Still unimplemented; only partial adjacent work landed in PR #156 (installdebconf helper).
71%
#48 packages: add deb support craft-parts merged Merged PR #48 as commit e28e84bb, adding Debian repository support to refresh package lists, fetch and unpack stage packages, and install build packages.
71%