Track bundled third-party dependencies using common mechanism
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- git, github-actions, matlab
- Ambito
- build-system, ci-cd
Direzione di ricerca
No source files are named; start by locating the existing buildtool bootstrap task and wherever Git submodules and manually copied assets are currently wired in, then look at the CI workflow that would call bootstrap before build, test and package. Map each dependency in the proposal to its pinned archive, expected files and license entry, and use build/dependencies as the disposable target. Done means a clean checkout can run bootstrap, build, test and package without network access after the download step.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Proposed third-party dependency model
Rather than using a mixture of Git submodules and manually copied assets, use the same release-based bootstrap mechanism for all third-party dependencies.
Current measured clone sizes are approximately:
- cmark-gfm: 7 MB
- github-markdown-css: <1 MB
- gemoji: 26 MB
- MathJax: 183 MB
This matters particularly for gemoji and MathJax, where DocMaker consumes only a small part of the upstream repository.
The proposal is to maintain a small dependency manifest containing, for each dependency:
- upstream repository
- pinned release/version
- immutable release/archive URL
- SHA-256 checksum
- files/directories DocMaker consumes
- license information
A buildtool bootstrap task would then use the same process for every dependency:
- Download the complete pinned release/archive.
- Verify its SHA-256 checksum.
- Extract it to a temporary location.
- Copy only the explicitly listed files/directories into build/dependencies.
- Perform any subsequent generation steps, such as generating the gemoji C mapping.
The downloaded/extracted material would be disposable and excluded from Git.
A clean GitHub runner would therefore be able to:
- checkout DocMaker;
- run buildtool bootstrap;
- build;
- test;
- package.
The same bootstrap task would provide the development environment when opening a fresh DocMaker MATLAB Project checkout.
Normal build/test/package operations can remain network-independent once bootstrap is complete. CI and developer machines could optionally cache the downloaded release archives.
Advancing a dependency then becomes a consistent process for all third-party components: update the pinned version/URL/checksum, rerun bootstrap, build and test. If the upstream release changes its layout or removes an expected file, bootstrap fails rather than silently packaging a different asset.
This gives a single reproducible and auditable dependency mechanism while avoiding large repository clones where DocMaker uses only a small subset of the upstream content.
- Lingua principale
- MATLAB
- Stelle
- 10
- Fork
- 3
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun 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 mathworks/docmaker
-
`md2xml` fails on ` ` entities returned by the GitLab Markdown API (non-breaking spaces in source)Forse già presa @sreeharihegden l’ha presa 17 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Provide a docinit functionaliyForse di nuovo libera @k-deeley l’ha presa 64 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 54/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Add license to GitHub releaseForse già presa @djmsampson l’ha presa 18 giorni fa. Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
Tutte le issue di mathworks/docmaker
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
MohammadRaziei/ctoon#12 ·
-
easy first-contributor first-contributors good first issue help wanted matlab up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
fork-commit-merge/fork-commit-merge#8766 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
UniprJRC/DSwithMATLAB#253 ·
-
area: math-chaos priority: P1 size: S type: docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
ibra-kdbra/Math-Problems#309 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100