Make the Ubuntu archive base URLs configurable
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start with internal/archive/archive.go and read how ubuntuURL and ubuntuPortsURL are selected for different architectures. Then trace how configuration is represented in chisel.yaml and how flags or environment variables are handled. Done means users can configure both archive base URLs, including for internal mirrors, without changing the binary, while GPG signature verification remains unaffected.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
The Ubuntu archive base URLs are hardcoded as constants in internal/archive/archive.go (ubuntuURL and ubuntuPortsURL), and there is no flag, environment variable, or chisel.yaml field to override them. The only way to point chisel at a different archive (e.g. an internal apt mirror) is to fork and patch the binary.
Motivation
Organizations commonly mirror the Ubuntu archive internally (for supply-chain integrity, reproducible/cached sources, and to avoid build time egress to the public internet). Today those users must maintain a fork of chisel solely to change two string constants, and re-patch on every upgrade. A supported way to override the archive base URL would remove that maintenance burden. Note there are two URLs depending on architecture —archive.ubuntu.com/ubuntu/ (amd64/i386) and ports.ubuntu.com/ubuntu-ports/ (other arches) — so any solution would need to cover both. GPG signature verification should be unaffected, since a mirror still serves Ubuntu's own signed InRelease and .debs verified against thepublic-keys pinned in chisel.yaml.
Additional context
Would you be open to supporting this?
- Lingua principale
- Go
- Stelle
- 434
- Fork
- 74
- Merge medio
- 1g 30m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di canonical/chisel
-
`mode` of a generated directory is random when it has a generated childForse già presa @Amadeus-22 l’ha presa 24 giorni fa. ApertaBug
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
-
cut fails on uncompressed debForse già presa @yuminn-k l’ha presa 29 giorni fa. ApertaBug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 42/100
-
`prefer` drops a path when the preferred package lists it `until: mutate`Forse già presa @18Abhinav07 l’ha presa 8 giorni fa. ApertaBug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
Tutte le issue di canonical/chisel
Issue simili
-
mcpx scan: flag unsafe tool namesForse già presa @zeyadbadawyy l’ha presa oggi. Apertaarea/scan enhancement good first issue priority/medium size/small
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
rohitgollarahalli/mcpx#45 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Mend: dependency security vulnerability
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Windows 主机
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Lee-xeo/Claude-Cage#1550 ·
I maintainer di solito rispondono entro 1 giorno
-
(bug) ui: spanPaint can index spans past their end (panic: index out of range)Forse già presa @MaxMiksa l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
I maintainer di solito rispondono entro 1 giorno