repo: add version support for build-packages
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after adjusting apt_cache to exclude version from package names, adding version support for build-packages. Changes were restored post-rebase and passed autopkgtests despite minor Travis environment issues. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3221 repo: install requested build-package versions | snapcraft | merged | Merged fix for unimplemented build-package version installation. Explicitly specifies apt package versions and enables downgrades to resolve LP: #1887960. Approved and passed CI checks. | |
| #3411 repo: only install build packages marked for installation | snapcraft | merged | Merged a fix updating apt_cache.get_marked_packages() to exclude packages marked for deletion. The function now only returns packages intended for installation, letting apt handle removals. Approved and merged after passing CI. | |
| #3099 repo: always refresh cache when build packages are required | snapcraft | merged | Merged to ensure the package cache refreshes whenever a requested build package is not already installed. Approved by one reviewer, modifying eight files with 199 additions and 120 deletions. | |
| #43 packages: add support to apt cache operations | craft-parts | merged | Merged PR adding apt cache operations for package retrieval. Approved by two reviewers and passed CI. Follows snapcraft standards and is planned for future migration to a separate project. | |
| #891 repo: apt-mark new build-packages as automatically installed | snapcraft | merged | Merged. Marks new build packages as automatically installed to enable cleanup via apt-get autoremove. Approved, updated with integration tests, rebased to resolve conflicts, minor fixes applied, and merged. | |
| #217 repo: add support for package repositories | rockcraft | merged | Added support for package repositories. Merged after approval by two reviewers and passing CI checks. Modified 16 files (+346/-31), resolving CRAFT-1553 and enabling downstream testing. | |
| #1157 repo: support versioned stage-packages | snapcraft | merged | Support for versioned stage-packages was successfully merged after approval from two reviewers. The contributor addressed feedback and resolved a local CLA issue, delivering a +94/-8 line change across four files. | |
| #2023 repo: catch error due to broken build packages | snapcraft | merged | Resolved broken build package errors by introducing BuildPackagesNotInstalledError and falling back to apt-get for detailed conflict messages. Merged after reviewer approval and passing CI checks. | |
| #3035 repo: fix resolution of virtual build packages | snapcraft | merged | Merged fix for virtual build package resolution regression. Ensures proper resolution and versioning persistence for build and stage packages, adds logging, and includes unit and spread tests. Approved and passed CI. | |
| #3177 repo: consider virtual pkgs for cache invalidation | snapcraft | merged | Merged. Updates cache invalidation to include virtual packages, adding a warning to discourage their use for deterministic builds. Refactors AptCache logic for better separation of concerns. Approved by one reviewer and passed CI. |