← Back to issue list

[Feature] Add support for conffiles

View original Github issue

Metadata

Project
debcraft
Number
#147
Type
issue
State
open
Author
hector-cao
Labels
—
Created
Updated
Closed
—

Current evaluation

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).

Suggested action: keep open

Reason: Maintainer @cmatsuoka explicitly commented 'Partial supported added in #156, more PRs to follow', acknowledging the request is valid and partially addressed, so it must stay open. Grepping the repo at pinned HEAD e176a54 shows zero occurrences of 'conffiles'/'conffile' in code, schema, or docs, confirming the core feature is still missing — PR #156 only added the installdebconf helper (debcraft/helpers/installdebconf.py, run in services/lifecycle.py:107) which handles debconf config/templates, not conffiles. Remaining uncertainty is design (schema field vs. convention-based `<pkg>.conffiles` file placement, path validation), which keeps actionability below 80.

Evaluated by: mr-cal-bot

Impact: 55 Quick Win: 20 Complexity: 45 Confidence: 80 Actionability: 65

Issue body

Configuration files of a package are special and so need special treatment at package installation and upgrades. They are part of the package control data and managed by the Debian package management tool: https://man7.org/linux/man-pages/man5/deb-conffiles.5.html debcraft need to allow developers to specify a list of configuration files for each binary package and list them in the conffiles that is part of the package control metadata.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 55
Quick Win: 20
Complexity: 45
Confidence: 80
Actionability: 65
keep 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).
qwen/qwen3.6-35b-a3b
Impact: 60
Quick Win: 25
Complexity: 40
Confidence: 75
Actionability: 70
keep open Feature request to add conffiles support for Debian package configuration files. Partial related work in PR #156 (installdebconf helper), but full conffiles implementation not yet completed.
qwen/qwen3.8-27b
Impact: 50
Quick Win: 25
Staleness: 25
Complexity: 50
Confidence: 70
Support Request: 0
keep open Feature request to add support for Debian conffiles (config files) in debcraft package metadata. Partial support added in PR #156 (installdebconf helper); more PRs to follow per maintainer comment.
qwen/qwen3.6-35b-a3b
Staleness: 20
Complexity: 40
Confidence: 85
Support Request: 10
keep open Feature request to add conffiles support to debcraft for managing package configuration files. Partial support was recently added in PR #156, with more work planned.
qwen3.6-35b-a3b-mtp-q6
Staleness: 20
Complexity: 40
Confidence: 90
Support Request: 10
keep open Feature request to add Debian conffiles support to debcraft. Partial implementation added in PR #156, with more PRs planned by a maintainer.

Update history

No update history recorded yet.

Related work

  • Related To: debcraft#156 (confidence 92%)

    Merged PR (commits 25668c2, d3b754c) adding the installdebconf helper cited by the maintainer as partial support; handles debconf control files, not conffiles.

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.
77%
#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.
71%