Make the package check world aware of ignored files
Una pull request collegata è già stata integrata.
- #69 di @saecki — integrata
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- github-actions, rust
- Ambito
- build-system, ci-cd
Direzione di ricerca
Start by locating the package validation flow and any existing GitHub Actions workflows in the repository. Check how submitted package files are made available to validation, then identify how to invoke the latest Typst compiler on a template. Done means a CI check compiles the submitted template and reports failures before its package PR can merge.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
As described in the title, it would be of tremendous help for package and template authors if there was a GitHub CI check implemented that verified that a submitted template actually compiles with the latest version of Typst, given the files that are submitted in the PR.
For instance, if a resource is missing (e.g. a logo that was excluded due to .gitignore), or if there is some issue with the Typst source code (e.g. absolute/relative paths, etc), this would be caught by the GitHub CI check automatically.
I've personally been hit by this twice or thrice (see e.g. typst/packages#6341 typst/packages#3130 typst/packages#3143 typst/packages#6340), and having such a check would ensure that a template for a package always compiles before the PR is merged into the Typst Universe ecosystem.
This would also help relieve some of the effort currently placed on @elegaanz and others reviewing the submitted packages and templates.
From https://github.com/typst/packages/pull/6341#issuecomment-6744938052
Ah yes, .gitignore files are a bit of a footgun in packages. Sorry that it was not caught in the previous review.
Having all of these things in ones head may be possible, but that effort is better spent on automated checks, so that Ana and others reviewing can focus on the larger issues and give better feedback on canonical use of Typst.
Lets build these checks to help the Typst ecosystem flourish even more ❤️
With joy and gratitude.
/Robin
Moved here from https://github.com/typst/packages/issues/6358
- Lingua principale
- Rust
- Stelle
- 37
- Fork
- 9
- Merge medio
- 7g 3h
- PR unite (30g)
- 6
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 typst/package-check
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
typst/package-check#94 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
typst/package-check#95 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
typst/package-check#91 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
typst/package-check#90 · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
typst/package-check#73 · 1 commento ·
Tutte le issue di typst/package-check
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Input: placeholder drawn in the text colour when the empty Input is focused but not yet editedAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pierreaubert/gpui-toolkit#114 ·
I maintainer di solito rispondono entro 1 giorno
-
BibLaTeX `type` keys like `phdthesis`, `mathesis`, `techreport` are printed raw instead of localizedAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
remove the use of `forget`Apertagood first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
compiler
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
HerringtonDarkholme/hd-lang#1853 ·
I maintainer di solito rispondono entro 1 giorno