← Back to issue list

Allow grammar for `package-repositories`

View original Github issue

Metadata

Project
rockcraft
Number
#1036
Type
issue
State
open
Author
lengau
Labels
—
Created
Updated
Closed
—

Current evaluation

Feature request to support architecture-conditional grammar for apt repository URLs, enabling amd64/arm64 builds with deb-src; it remains open and untriaged with no comments or implementation evidence.

Suggested action: needs triage

Reason: The issue is open, has no labels, and has zero comments, so it has not received maintainer triage. Its body clearly identifies the URL field, provides amd64/else examples, and explains the deb-src multi-architecture failure, but repository inspection found no grammar-specific resolving change and package repositories are still passed through the existing craft-application path.

Evaluated by: mr-cal-bot

Impact: 48 Quick Win: 15 Complexity: 58 Confidence: 78 Actionability: 72

Issue body

### What needs to get done Allow us to use grammar for at least the url field of `package-repositories`. ### Why it needs to get done If I want to enable `deb-src` and build a rock for both amd64 and arm64, I need something like this: ``` package-repositories: - type: apt formats: [deb, deb-src] components: - main - restricted - universe - multiverse suites: - questing url: http://archive.ubuntu.com/ubuntu key-id: F6ECB3762474EDA9D21B7022871920D1991BC93C - type: apt formats: [deb, deb-src] components: - main - restricted - universe - multiverse suites: - questing url: http://ports.ubuntu.com/ key-id: F6ECB3762474EDA9D21B7022871920D1991BC93C ``` But this then causes issues with apt because the architecture isn't available. It would be nice to be able to say: ``` package-repositories: - type: apt formats: [deb, deb-src] components: - main - restricted - universe - multiverse suites: - questing url: - to amd64: http://archive.ubuntu.com/ubuntu - else: http://ports.ubuntu.com key-id: F6ECB3762474EDA9D21B7022871920D1991BC93C ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 48
Quick Win: 15
Complexity: 58
Confidence: 78
Actionability: 72
needs triage Feature request to support architecture-conditional grammar for apt repository URLs, enabling amd64/arm64 builds with deb-src; it remains open and untriaged with no comments or implementation evidence.
qwen/qwen3.6-35b-a3b
Impact: 40
Quick Win: 14
Complexity: 50
Confidence: 75
Actionability: 70
needs triage Feature request to allow conditional grammar for the url field in package-repositories based on architecture, avoiding duplicate entries for amd64 vs arm64.
qwen/qwen3.8-27b
Impact: 40
Quick Win: 16
Staleness: 75
Complexity: 60
Confidence: 55
Support Request: 10
needs triage Feature request to allow architecture-conditional URLs in package-repositories (e.g. amd64 vs arm64) so deb-src builds work across architectures. Open 283 days, no labels, no comments, no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 45
Confidence: 85
Support Request: 10
needs triage Feature request to add conditional grammar for the url field in package-repositories config to avoid duplication across architectures. Currently unlabelled and inactive for 8 months.
qwen3.6-35b-a3b-mtp-q6
Staleness: 80
Complexity: 50
Confidence: 90
Support Request: 10
needs triage Feature request to allow conditional grammar for the url field in package-repositories config to reduce multi-arch duplication. Currently unlabelled and inactive for over 7 months.
qwen3.6-35b-a3b-mtp-q6
Staleness: 60
Complexity: 65
Confidence: 90
Support Request: 10
needs triage Feature request to allow conditional grammar for the url field in package-repositories config to avoid duplication across architectures. Currently unlabelled and awaiting maintainer assessment.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.