Track bundled third-party dependencies using common mechanism
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 20/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- git, github-actions, matlab
- Bereich
- build-system, ci-cd
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- MATLAB
- Sterne
- 10
- Forks
- 3
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus mathworks/docmaker
-
`md2xml` fails on ` ` entities returned by the GitLab Markdown API (non-breaking spaces in source)Evtl. vergeben @sreeharihegden hat das vor 17 Tagen übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
mathworks/docmaker#39 · 1 Kommentar · 1 zugewiesene Person ·
-
Provide a docinit functionaliyEvtl. wieder frei @k-deeley hat das vor 64 Tagen übernommen, und es ist kein Pull Request offen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 54/100
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
-
Add license to GitHub releaseEvtl. vergeben @djmsampson hat das vor 18 Tagen übernommen. Offenbug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
Alle Issues in mathworks/docmaker
Ähnliche Issues
-
Bump ODEInterface_jll to rebuilt 0.0.2+2 (execstack fix) in 8 benchmark folder ManifestsEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
SciML/SciMLBenchmarks.jl#2044 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
MohammadRaziei/ctoon#12 ·
-
easy first-contributor first-contributors good first issue help wanted matlab up-for-grabs
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 95/100
fork-commit-merge/fork-commit-merge#8766 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
UniprJRC/DSwithMATLAB#253 ·
-
area: math-chaos priority: P1 size: S type: docs
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
ibra-kdbra/Math-Problems#309 ·