Provide build artifacts
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 28/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- perl
- Ambito
- build-system, ci-cd, release
Direzione di ricerca
Inizia leggendo la discussione #1304 e la configurazione di Travis CI e Dist::Zilla del repository, che sono i punti di ingresso indicati nell’issue. Confronta le proposte di build release-artifact e default-branch; il lavoro è completato quando esiste un modo concordato e testato per pubblicare artefatti precompilati utilizzabili senza richiedere l’intero ambiente di authoring.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
User story
As a package maintainer,
I would like to use pre-built artifacts for packaging,
so I can avoid pulling in the whole authoring environment as build dependencies.
Describe the solution you'd like
The idea is to save the build results for each successfully tested commit of the default git branch, and ask Travis CI to publish them somewhere (e.g. in a separate branch, or repo). That way package maintainers may decide between using these pre-built "git builds" as installation source, packaging the whole build system, or anything in between (e.g. drop the author plugins, and only package the rest).
- idea 1: save build directory (or tarball) of tagged releases as standard GitHub Releases
- idea 2: save build directory (or tarball) of each successfully built commit from the default git branch ("bleeding edge builds")
Describe alternatives you've considered
See the discussion #1304. That is originally about implementing the patching logic which can be executed during package build time, but also touches using vendor-specific dist.ini files, or just maintaining the diff for them (ideally the discussion could have taken place in an issue first, but I don't want to duplicate everything by copying text over here now).
I'm also not comfortable bringing in vendor-specific packaging details into the project scope, mostly because if a vendor would like to build Rex differently than upstream, that is great, but I think it still primarily is a decision and concern of the vendor. That may be rephrased as: "we supply how we intend Rex to be built; that's completely fine if you have a different opinion, and feel free to build it differently, but that's your choice".
Additional context
The build process of Rex relies on various Dist::Zilla plugins. Some of it is important only for authors (people who modify Rex itself), and strictly speaking only the rest are important for end-users (people who want to build and install Rex). Furthermore, there's a distinction between tagged releases and building from the default git branch.
OS packages for tagged releases can use pre-built sources e.g. from CPAN (while it would also be nice to upload these tarballs as GitHub Releases as well). But if you'd like write a package that builds Rex from source (like a specific commit or branch), the whole list of build dependencies has to be pulled in. That might impose a prohibitive cost on the packaging side, with relatively low returns in exchange (e.g. using Test::PerlTidy to ensure that the source code is tidy: it's mostly important for authors to keep the code style consistent, but less important for end-users who only want to run Rex).
- Lingua principale
- Perl
- Stelle
- 736
- Fork
- 217
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la 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 RexOps/Rex
-
is_redhat() misses Rocky/Alma/CentOS Stream/Oracle Linux lsb_release IDs -> pkg dies "OS/Provider not supported"Forse già presa @stantheman0128 l’ha presa 24 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
triage needed
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
triage needed
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
Issue simili
-
observablt-ci
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
elastic/golang-crossbuild#840 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
LMS-Community/slimserver#1701 · 6 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
RotherOSS/otobo#6286 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
fix(api): API v3 Product Read ignores request language (lc) for sample products and image URLsForse già presa @muntasir-396 l’ha presa 4 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
openfoodfacts/openfoodfacts-server#15042 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno