← Back to issue list

Allow getting the apt proxy from the user's apt settings

View original Github issue

Metadata

Project
craft-providers
Number
#828
Type
issue
State
open
Author
lengau
Labels
Type: Enhancement
Created
Updated
Closed

Current evaluation

Enhancement to use user's apt proxy settings in craft-providers. Open 353 days with no maintainer comments or activity.

Suggested action: needs triage

Reason: This enhancement request from maintainer lengau has had zero maintainer comments or activity for 353 days. While the feature is legitimate (enabling apt proxy support for corporate networks), no maintainer has acknowledged, prioritized, or responded to it. The codebase already has snapd proxy setup (base.py:_setup_snapd_proxy) but no apt proxy handling, confirming this is unimplemented.

Impact: 45 Quick Win: 24.75 Staleness: 75 Complexity: 45 Confidence: 65 Support Request: 15

Issue body

### What needs to get done If the user has an apt proxy configured, we should be able to use its proxy settings in two ways: 1. If a proxy is set directly, we should use that. 2. If a proxy is auto-detected using `Acquire::http::Proxy-Auto-Detect`, we should run that and set apt's proxy settings accordingly each time we warmup a machine. ### Why it needs to get done 1. To allow users on corporate networks that prevent use of `archive.ubuntu.com` without a proxy. 2. To improve the usability for users with slow networks but who have a local apt proxy.

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6
Impact: 45
Quick Win: 24.75
Staleness: 75
Complexity: 45
Confidence: 65
Support Request: 15
needs triage Enhancement to use user's apt proxy settings in craft-providers. Open 353 days with no maintainer comments or activity.
qwen/qwen3.6-35b-a3b
Staleness: 90
Complexity: 40
Confidence: 85
Support Request: 10
close stale Enhancement to read apt proxy settings from user configuration for corporate/local network support. Open for 308 days with no maintainer comments or activity.
qwen3.6-35b-a3b-mtp-q6
Staleness: 80
Complexity: 40
Confidence: 70
Support Request: 10
needs triage Enhancement to detect and use system apt proxy settings (direct or PAC) for corporate/local network support. Open for ~10 months with zero maintainer discussion or implementation progress.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 40
Confidence: 75
Support Request: 10
needs triage Enhancement to read apt proxy settings from user configuration for corporate/local proxy support. Open for ~9 months with no maintainer comments or activity.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#493 Use a craft-providers callback hook to set the apt proxy by an app config craft-application open Feature request to add an apt_proxy app config option and use a craft-providers callback hook to configure apt proxy in build instances. No maintainer response or labels; only a Jira bot comment. ProxyService exists but lacks apt_proxy config support.
73%