repo: add version support for build-packages
Metadata
Current evaluation
Merged build-package version support in snapcraft#1185 (commit 0405cb87e); follow-up 8eb2eb6 restored package version checks lost during a rebase.
Resolution: closed resolved
Reason: PR #1185 was merged as commit 0405cb87e, adding version-qualified build-package support while keeping apt_cache names version-free. Follow-up commit 8eb2eb6 restored the package version checks omitted during the rebase.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This is really just adjusting the use of apt_cache to not include
the version in the package name.
LP: #1671939
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged build-package version support in snapcraft#1185 (commit 0405cb87e); follow-up 8eb2eb6 restored package version checks lost during a rebase. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged as 0405cb87e: build-packages now accept version constraints, with apt_cache lookups stripped of versions (fixes LP #1671939). Version-check changes lost in the rebase were restored in follow-up commit 8eb2eb6. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged build-packages version support, keeping apt_cache package names version-free. The lost version-check changes were restored in commit 8eb2eb6. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after adjusting apt_cache to exclude package versions, adding version support for build-packages. Rebased changes were re-applied and tests passed. Approved by two reviewers. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes adding version support for build-packages by adjusting apt_cache to exclude version from package names. Modifications were restored after a rebase and passed autopkgtests despite minor Travis issues. |
Update history
No update history recorded yet.
Related work
-
Related To:
Launchpad#1671939
(confidence 95%)
Original Launchpad bug referenced by the pull request.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1671939 build-packages doesn't support specifying a version | snapcraft (launchpad) | closed | Versioned build-packages support was merged in snapcraft#1185 (0405cb87e), with follow-up 8eb2eb6 restoring installed-package version checks. | |
| #1157 repo: support versioned stage-packages | snapcraft | merged | Merged support for versioned stage-packages in canonical/snapcraft#1157 via commit ef4076821, resolving Launchpad bug #1666656. | |
| #3647 repo: add package repository handling (CRAFT-846) | snapcraft | merged | Merged package repository and PPA definitions/helpers into snapcraft 7.0 via #3647, porting code from #2911, #3341, #3359, and #3363. | |
| #1260 meta: version from git support. | snapcraft | merged | Merged PR #1260 in commit 1a936f40c, adding version: git support so Snapcraft derives project versions from Git tags. |