feat: create debs for all declared packages
Metadata
Current evaluation
PR #54 merged, generating a .deb with package-specific control metadata for every declared package; it fixed #47 in commit 997cdf6.
Resolution: closed resolved
Reason: The approved PR was merged into the main branch as commit 997cdf6. Its implementation iterates through all declared packages and creates their Debian artifacts, resolving #47.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Iterate through all packages declared in the project file and
create a deb file, adding proper control metadata to each one.
Fixes #47
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint && make test`?
---
Output example:
```
$ debcraft pack --verbose
Starting debcraft, version 0.0.post402+g1927a3aae.d20251128
Logging execution to '/tmp/debcraft.log'
Failed to load plugin sdplug
Initializing lifecycle
Installing build-packages
Skipping pull for libpng1.6 (already ran)
Skipping build for libpng1.6 (already ran)
Skipping stage for libpng1.6 (already ran)
Skipping prime for libpng1.6 (already ran)
Packing...
Packed: libpng16-16t64_1.6.43-5build1_amd64.deb, libpng-dev_1.6.43-5build1_amd64.deb, libpng-tools_1.6.43-5build1_amd64.deb
```
Generated artifact:
```
$ dpkg-deb -I libpng-dev_1.6.43-5build1_amd64.deb
new Debian package, version 2.0.
size 120150 bytes: control archive=436 bytes.
577 bytes, 15 lines control
Package: libpng-dev
Source: libpng1.6
Version: 1.6.43-5build1
Architecture: all
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Installed-Size: 606
Section: libdevel
Priority: optional
Description: PNG library - development (version 1.6)
libpng is a library implementing an interface for reading and writing
PNG (Portable Network Graphics) format files.
.
This package contains the header and development files needed to build
programs and packages using libpng.
Original-Maintainer: Maintainers of libpng1.6 packages <libpng1.6@packages.debian.org>
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | PR #54 merged, generating a .deb with package-specific control metadata for every declared package; it fixed #47 in commit 997cdf6. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #54 (commit 997cdf6) makes debcraft build a .deb for every package declared in the project file, each with full control metadata; closes issue #47. Copilot follow-up test PRs #55-#57 remain open. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #54 (commit 997cdf6), adding Debian package generation for every declared package with proper control metadata and resolving #47. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged feature generating Debian packages for all declared project packages with proper control metadata, resolving issue #47. Approved by two reviewers. Follow-up PRs opened for remaining review comments. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Generates Debian packages for all declared project packages with correct control metadata, resolving issue #47. Enables multi-package deb creation via build output. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
debcraft#47
(confidence 100%)
PR #54 explicitly states that it fixes the multiple-package creation issue #47.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #43 feat: initial creation of deb package | debcraft | merged | Merged #43 as ae42e57, adding initial .deb creation by archiving control/data tarballs and fixing #37. Correct naming, metadata, and checksums remain follow-up work. | |
| #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. |