← Back to issue list

[Feature] Add support for maintainer scripts

View original Github issue

Metadata

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

Current evaluation

Feature request to add support for Debian maintainer scripts (postinst, postrm, prerm, preinst) in debcraft, allowing developers to define script contents and enabling helpers to inject content. No maintainer response or labels yet.

Suggested action: needs triage

Reason: The issue is a well-structured feature request from an external contributor with no maintainer response, labels, or comments after 126 days. The project is actively developed (recent commits for ubuntu 26.10 support, installdebconf helper, lintian-overrides), but this specific feature has not been acknowledged. Maintainer scripts are fundamental to Debian packages, making this a legitimate and impactful request that needs triage.

Impact: 65 Quick Win: 29.25 Staleness: 55 Complexity: 55 Confidence: 75 Support Request: 10

Issue body

A compliant debian binary package can have maintainer scripts (postinst, postrm, prerm, postrm) that are executed by the package management tool. https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#package-maintainer-scripts-and-installation-procedure These scripts are very common in Debian Packages and primordial for them to be properly managed in the Ubuntu distro. debcraft should be able to allow: - developers to write the contents of these scripts - allow various current and future helpers to inject contents to these scripts to lower the developers burden.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 65
Quick Win: 29.25
Staleness: 55
Complexity: 55
Confidence: 75
Support Request: 10
needs triage Feature request to add support for Debian maintainer scripts (postinst, postrm, prerm, preinst) in debcraft, allowing developers to define script contents and enabling helpers to inject content. No maintainer response or labels yet.
qwen/qwen3.6-35b-a3b
Staleness: 55
Complexity: 45
Confidence: 85
Support Request: 10
needs triage Feature request to add Debian maintainer script support to debcraft. Unlabelled, no maintainer response, and inactive for 85 days.
qwen3.6-35b-a3b-mtp-q6
Staleness: 50
Complexity: 55
Confidence: 90
Support Request: 5
needs triage Feature request to add Debian maintainer script support to debcraft. Unlabelled, zero comments, and no maintainer engagement after 72 days. Requires initial triage and prioritization.
qwen3.6-35b-a3b-mtp-q6
Staleness: 45
Complexity: 45
Confidence: 90
Support Request: 5
needs triage Adds Debian maintainer script support (postinst, postrm, prerm) to debcraft. Allows developers to define contents and helpers to inject them. Open, unassigned, inactive for 50 days, zero comments. Needs triage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#148 [Feature] Add support for triggers debcraft open Feature request to let debcraft install user-provided Debian triggers files into package control metadata. Depends on #145 (maintainer scripts). No maintainer response, unlabelled, inactive 126 days.
74%
#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.
72%