Track bundled third-party dependencies using common mechanism
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- git, github-actions, matlab
- Área
- build-system, ci-cd
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- MATLAB
- Estrellas
- 10
- Forks
- 3
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de mathworks/docmaker
-
`md2xml` fails on ` ` entities returned by the GitLab Markdown API (non-breaking spaces in source)Posiblemente ocupada @sreeharihegden la tomó hace 17 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Provide a docinit functionaliyQuizá libre de nuevo @k-deeley la tomó hace 64 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 54/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
-
Add license to GitHub releasePosiblemente ocupada @djmsampson la tomó hace 18 días. Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
Todos los issues de mathworks/docmaker
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
MohammadRaziei/ctoon#12 ·
-
easy first-contributor first-contributors good first issue help wanted matlab up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
fork-commit-merge/fork-commit-merge#8766 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
UniprJRC/DSwithMATLAB#253 ·
-
area: math-chaos priority: P1 size: S type: docs
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
ibra-kdbra/Math-Problems#309 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100