Track bundled third-party dependencies using common mechanism
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 20/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- git, github-actions, matlab
- Domaine
- build-system, ci-cd
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- MATLAB
- Étoiles
- 10
- Forks
- 3
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de mathworks/docmaker
-
`md2xml` fails on ` ` entities returned by the GitLab Markdown API (non-breaking spaces in source)Peut-être pris @sreeharihegden l’a pris il y a 17 jours. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
mathworks/docmaker#39 · 1 commentaire · 1 personne assignée ·
-
Provide a docinit functionaliyPeut-être à nouveau libre @k-deeley l’a pris il y a 64 jours, et aucune pull request n’est ouverte. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
Difficulté 3/5 1-2 jours Accessibilité débutants 54/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
-
Add license to GitHub releasePeut-être pris @djmsampson l’a pris il y a 18 jours. Ouvertebug
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
Toutes les issues de mathworks/docmaker
Issues similaires
-
Bump ODEInterface_jll to rebuilt 0.0.2+2 (execstack fix) in 8 benchmark folder ManifestsPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
SciML/SciMLBenchmarks.jl#2044 · 2 commentaires ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
MohammadRaziei/ctoon#12 ·
-
easy first-contributor first-contributors good first issue help wanted matlab up-for-grabs
Difficulté 1/5 Moins d'une heure Accessibilité débutants 95/100
fork-commit-merge/fork-commit-merge#8766 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
UniprJRC/DSwithMATLAB#253 ·
-
area: math-chaos priority: P1 size: S type: docs
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
ibra-kdbra/Math-Problems#309 ·