← Back to issue list

repo: always use host release and arch for Ubuntu

View original Github issue

Metadata

Project
snapcraft
Number
#3006
Type
pull request
State
merged
Author
cjp256
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #3006 (7045361ef): Ubuntu package sources now use the host release and architecture, queried separately; the ProjectOptions dependency and tests were updated.

Resolution: closed resolved

Reason: PR #3006 was merged as commit 7045361ef. It updated Ubuntu source formatting to query host release and architecture separately, removed the ProjectOptions parameter dependency, and adjusted tests.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- Remove dependency of ProjectOptions parameter. - Update format_sources_list() tp query release arch/release separately. Update tests accordingly. Signed-off-by: Chris Patterson <chris.patterson@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #3006 (7045361ef): Ubuntu package sources now use the host release and architecture, queried separately; the ProjectOptions dependency and tests were updated.
stealth/space-bunny-alpha — closed resolved Merged in #3006 (7045361ef): Ubuntu sources now query host release and arch separately, dropping the ProjectOptions parameter dependency; tests updated.
stealth/space-bunny-alpha — closed resolved Merged in #3006 (7045361ef): Ubuntu sources now use the host release and architecture, queried separately; the ProjectOptions dependency was removed and tests updated.
qwen/qwen3.6-35b-a3b — — Merged. Updated Ubuntu release/architecture handling by removing ProjectOptions dependency and refactoring format_sources_list() to query them separately. Tests updated and code issues fixed.
qwen3.6-35b-a3b-mtp-q6 — — Merged after author fixed formatting issues. Updates format_sources_list() to always use host release and architecture for Ubuntu, removing dependency on ProjectOptions parameter and updating related tests.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3831 project: use correct host arch when target arch is set snapcraft merged Merged as commit 33088d59d: Project now tracks host Debian architecture separately, so --target-arch no longer overwrites it.
71%