← Back to issue list

[Feature] Add support for debconf config script

View original Github issue

Metadata

Project
debcraft
Number
#146
Type
issue
State
open
Author
hector-cao
Labels
Status: Triaged
Created
Updated
Closed
—

Current evaluation

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.

Suggested action: close resolved

Reason: The requested first step was implemented in commit 25668c2 (merged PR #156, "feat: add installdebconf helper"), followed by d3b754c (PR #162) adding token substitution. debcraft/helpers/installdebconf.py calls install_package_control for both "config" and "templates", which is precisely the 'deploy a config/templates files for a package' step described in the body, and the helper is registered as "installdebconf" in InstallHelpers so it runs during builds. The issue body is only a bot sync notice and no maintainer reply, so the work landed without cross-linking back to the issue. Only the narrower first step was delivered, not full debconf front-end support, but the stated scope is met.

Evaluated by: mr-cal-bot

Impact: 50 Quick Win: 28 Complexity: 28 Confidence: 93 Actionability: 78

Issue body

One important feature for the Ubuntu/Debian package management is to configure a package installation with debconf A package can provide the config script as debconf front-end to interactively ask users at package installation about the installations options and fill the debconf datebase. The first step for debcraft is to allow developers to deploy a config/templates files for a package.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 50
Quick Win: 28
Complexity: 28
Confidence: 93
Actionability: 78
close resolved 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.
stealth/space-bunny-alpha
Impact: 55
Quick Win: 39
Complexity: 25
Confidence: 99
Actionability: 95
close resolved Debconf config/template deployment is implemented and merged: the installdebconf helper copies these files into the package control directory and runs in the lifecycle.
stealth/space-bunny-alpha
Impact: 55
Quick Win: 33
Complexity: 30
Confidence: 92
Actionability: 85
close resolved Feature request to support debconf config scripts. Implemented: the installdebconf helper (PR #156, commits 25668c2 and d3b754c) now deploys config and templates files into the package control directory, wired into the lifecycle.
qwen/qwen3.6-35b-a3b
Impact: 70
Quick Win: 39
Complexity: 30
Confidence: 90
Actionability: 80
close resolved Feature request to add debconf config script support. Resolved by merged PR #156 which added the installdebconf helper for deploying config and templates files.
qwen/qwen3.8-27b
Impact: 20
Quick Win: 12
Staleness: 70
Complexity: 40
Confidence: 85
Support Request: 10
close stale 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.
qwen/qwen3.6-35b-a3b
Staleness: 45
Complexity: 30
Confidence: 85
Support Request: 0
keep open Feature request to add support for debconf config scripts in package management. Currently triaged but inactive for 85 days with no further discussion or implementation progress.
qwen3.6-35b-a3b-mtp-q6
Staleness: 55
Complexity: 60
Confidence: 70
Support Request: 5
keep open Feature request to add debconf config script support for Ubuntu/Debian package management in debcraft. Currently triaged and synced to Jira, awaiting implementation or further discussion.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: debcraft#156 (confidence 95%)

    Merged PR #156 (commit 25668c2) added the installdebconf helper, copying debconf config and templates from debcraft/ or debian/ into the package control directory, matching the issue's stated first step.

  • Related To: debcraft#162 (confidence 80%)

    Follow-up commit d3b754c (PR #162) added token substitution to installdebconf templates (DEB_HOST_NAME/DEB_BUILD_NAME/DEB_TARGET_NAME), further extending the same feature.

Related issues

Issue Project State Summary Similarity
#156 feat: add installdebconf helper debcraft merged Merged PR #156 as commit 25668c2, adding installdebconf to copy debconf config and templates into the package control directory.
81%
#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).
77%