← 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

Add support for propagating host APT proxies, including Proxy-Auto-Detect results refreshed during each machine warmup; the enhancement remains open and unimplemented.

Suggested action: keep open

Reason: The maintainer-authored enhancement is labeled Type: Enhancement and clearly defines both direct proxy propagation and execution of Acquire::http::Proxy-Auto-Detect during every warmup. Current code only refreshes snapd HTTP and HTTPS proxy settings through _setup_snapd_proxy, with no corresponding APT proxy handling, so the requested capability remains valid.

Evaluated by: mr-cal-bot

Impact: 66 Quick Win: 22 Complexity: 57 Confidence: 91 Actionability: 78

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
stealth/space-bunny-alpha
Impact: 66
Quick Win: 22
Complexity: 57
Confidence: 91
Actionability: 78
keep open Add support for propagating host APT proxies, including Proxy-Auto-Detect results refreshed during each machine warmup; the enhancement remains open and unimplemented.
stealth/space-bunny-alpha
Impact: 57
Quick Win: 21
Complexity: 52
Confidence: 72
Actionability: 75
keep open Add support for user-configured apt proxies, including executing Acquire::http::Proxy-Auto-Detect on each machine warmup. The enhancement remains open with no discussion or activity.
qwen3.6-35b-a3b-mtp-q6
Impact: 45
Quick Win: 25
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.

Update history

No update history recorded yet.

Related work

  • Related To: craft-providers#149 (confidence 88%)

    Commit 48fe5a2 added analogous snapd HTTP(S) proxy configuration, but no APT proxy implementation exists.

Related issues

No related issues found above the similarity threshold.