Make the Ubuntu archive base URLs configurable
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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?
- Lenguaje dominante
- Go
- Estrellas
- 434
- Forks
- 74
- Merge medio
- 1 d 30 min
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de canonical/chisel
-
`mode` of a generated directory is random when it has a generated childPosiblemente ocupada @Amadeus-22 la tomó hace 24 días. AbiertoBug
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
-
cut fails on uncompressed debPosiblemente ocupada @yuminn-k la tomó hace 29 días. AbiertoBug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 42/100
-
`prefer` drops a path when the preferred package lists it `until: mutate`Posiblemente ocupada @18Abhinav07 la tomó hace 8 días. AbiertoBug
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
Todos los issues de canonical/chisel
Issues similares
-
mcpx scan: flag unsafe tool namesPosiblemente ocupada @zeyadbadawyy la tomó hoy. Abiertoarea/scan enhancement good first issue priority/medium size/small
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
rohitgollarahalli/mcpx#45 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Mend: dependency security vulnerability
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
Windows 主机
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Lee-xeo/Claude-Cage#1550 ·
Los mantenedores suelen responder en 1 día
-
(bug) ui: spanPaint can index spans past their end (panic: index out of range)Posiblemente ocupada @MaxMiksa la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 92/100
Los mantenedores suelen responder en 1 día