← Back to issue list

Cannot automatically build a part from a Debian package source tree

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1918968
Type
issue
State
open
Author
~racb
Labels
Created
Updated
Closed

Current evaluation

Wishlist request for a snapcraft 'deb' part plugin that builds a Debian package from a source tree's debian/ directory and exposes it to stage-packages. Open since 2019 with no labels, no comments, and no maintainer response.

Suggested action: needs triage

Reason: The issue has no labels, zero comments, and no maintainer response in ~5.5 years, showing no sign of ever being categorised or prioritised. It is a legitimate feature request (no 'deb' part plugin exists in snapcraft's plugin set, and no related issue or PR was found in the corpus), so it should be assessed by a maintainer rather than closed as stale on inactivity alone.

Impact: 35 Quick Win: 15.75 Staleness: 88 Complexity: 55 Confidence: 65 Support Request: 15

Issue body

This is a Wishlist request. I have a source tree that supports building a Debian package. It has a debian/ directory with debian/control, debian/rules, etc. I can make a deb using "sbuild" or "debuild" and so on. I'd like to make a snap out of this. A straightforward way to do this is to use "stage-packages" and include the deb I'm building. However, I'd like the resulting snap to match my source tree, which isn't necessarily the same as the deb that's available in an apt repository being fetched from "stage-packages". One way to do achieve this is to build the deb locally first and then use the new package-repositories feature. However, this seems suboptimal because I have to write a wrapper that builds the deb, prepares a local apt repository, modifies snapcraft.yaml to point to it, and then calls snapcraft. And then facilities like Launchpad snap recipes become unavailable to me because they expect to be able to just run "snapcraft" and there's no mechanism to call my wrapper instead. It would be nice if snapcraft had a "deb" part plugin that does all of this for me. It would expect to find a debian/ directory, build the deb as appropriate, and make it available for use in stage-packages/build-packages as normal.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 35
Quick Win: 15.75
Staleness: 88
Complexity: 55
Confidence: 65
Support Request: 15
needs triage Wishlist request for a snapcraft 'deb' part plugin that builds a Debian package from a source tree's debian/ directory and exposes it to stage-packages. Open since 2019 with no labels, no comments, and no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 35
Confidence: 85
Support Request: 10
close stale Feature request for a snapcraft deb part plugin to automatically build Debian packages from source trees. Unlabeled, zero comments, inactive for over 5 years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 60
Confidence: 85
Support Request: 10
close stale Wishlist request for a snapcraft deb part plugin to build Debian packages from source trees. Unlabelled, zero comments, inactive for over five years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 65
Confidence: 90
Support Request: 10
close stale Wishlist request for a snapcraft 'deb' part plugin to build directly from a Debian source tree. Unaddressed for over 5 years with no maintainer interaction.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 90
close stale Request for a native snapcraft part plugin to automatically build Debian packages from source trees, eliminating manual wrapper scripts. Currently an untriaged wishlist item with zero comments and inactive for over five years.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.