Feature Request for custom software mirror
Metadata
Current evaluation
Feature request to add a global environment variable for custom APT mirrors in craft-providers build instances. No maintainer response or implementation yet.
Suggested action: needs triage
Reason: This is a new, unlabelled feature request with zero maintainer comments or labels after 141 days. No related issues or prior implementation work were found in the codebase or issue tracker. A maintainer needs to evaluate whether this enhancement aligns with craft-providers' roadmap and scope before deciding on next steps.
Impact:
40
Quick Win:
20.0
Staleness:
70
Complexity:
50
Confidence:
60
Support Request:
0
Issue body
### What needs to get done
It would be nice to have a global environment variable in craft-providers (similar to the legacy SNAPCRAFT_BUILD_ENVIRONMENT_PRIMARY_MIRROR in Snapcraft [[source code](https://github.com/canonical/snapcraft/blob/c4a7740477c95ca6722975237170522cf4f369a6/snapcraft_legacy/internal/build_providers/_base_provider.py#L369)]).
This variable should allow users to specify an APT mirror URL that will be automatically configured within the build instance. When set, the build environment should prioritize this mirror over the default archive.ubuntu.com and security.ubuntu.com entries in the sources.list.
### Why it needs to get done
Currently, users in specific geographical regions or restricted network environments face significant hurdles:
Network Reliability: In many scenarios, the default Ubuntu archives are either extremely slow or completely unreachable due to firewalls or routing issues.
Build Efficiency: Being able to point to a local or internal enterprise mirror significantly reduces latency and increases build speeds.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
40
Quick Win:
20.0
Staleness:
70
Complexity:
50
Confidence:
60
Support Request:
0
|
needs triage | Feature request to add a global environment variable for custom APT mirrors in craft-providers build instances. No maintainer response or implementation yet. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
50
Complexity:
30
Confidence:
90
Support Request:
5
|
needs triage | Feature request to add a global environment variable for custom APT mirrors in craft-providers build instances. Currently awaiting maintainer review with zero comments and no active development. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
65
Complexity:
40
Confidence:
85
Support Request:
10
|
needs triage | Feature request to add a global environment variable in craft-providers for custom APT mirrors in build instances. Aims to improve network reliability and build speed in restricted regions. Currently awaiting maintainer triage with no activity in 81 days. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
45
Complexity:
20
Confidence:
90
Support Request:
0
|
needs triage | Request to add a global environment variable in craft-providers for configuring custom APT mirrors in build instances. Submitted 71 days ago with no maintainer response or assignee. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.