Cannot automatically build a part from a Debian package source tree
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
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-
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/
Related branches
- Server Team CI bot: Approve (continuous-integration)
- Bryce Harrington: Approve
-
Diff: 1566 lines (+389/-618)36 files modifiedbin/self-test (+29/-16)
debian/bash-completion (+1/-0)
debian/changelog (+5/-0)
debian/control (+38/-0)
debian/copyright (+6/-0)
debian/extra/git-ubuntu.self-test (+3/-0)
debian/install (+9/-0)
debian/manpages (+1/-0)
debian/py3dist-overrides (+2/-0)
debian/rules (+4/-0)
debian/source/format (+1/-0)
debian/tests/control (+2/-0)
dev/null (+0/-18)
gitubuntu/__main__.py (+2/-12)
gitubuntu/build.py (+4/-12)
gitubuntu/clone.py (+2/-8)
gitubuntu/dsc.py (+1/-6)
gitubuntu/exportorig.py (+1/-6)
gitubuntu/git_repository.py (+16/-22)
gitubuntu/importer.py (+14/-19)
gitubuntu/importer_test.py (+19/-3)
gitubuntu/rich_history.py (+2/-2)
gitubuntu/source_builder_test.py (+2/-1)
gitubuntu/source_information.py (+7/-15)
gitubuntu/submit.py (+1/-6)
gitubuntu/test_fixtures.py (+21/-0)
gitubuntu/versioning.py (+5/-11)
setup.py (+1/-0)
snap-wrappers/wrappers/gbp (+1/-7)
snap-wrappers/wrappers/git-ubuntu (+1/-1)
snap-wrappers/wrappers/merge-changelogs (+3/-0)
snap-wrappers/wrappers/quilt (+1/-6)
snap-wrappers/wrappers/reconstruct-changelog (+3/-0)
snap-wrappers/wrappers/self-test (+3/-0)
snap.sh (+101/-0)
snap/snapcraft.yaml (+77/-447)
Changed in snapcraft: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |