Track bundled third-party dependencies using common mechanism
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- git, github-actions, matlab
- 領域
- build-system, ci-cd
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- MATLAB
- スター
- 10
- フォーク
- 3
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mathworks/docmaker のほかの issue
-
`md2xml` fails on ` ` entities returned by the GitLab Markdown API (non-breaking spaces in source)対応中かも @sreeharihegden が 17 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
Provide a docinit functionaliy再び着手できるかも @k-deeley が 64 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 54/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
Add license to GitHub release対応中かも @djmsampson が 18 日前に担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
mathworks/docmaker の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
MohammadRaziei/ctoon#12 ·
-
easy first-contributor first-contributors good first issue help wanted matlab up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
fork-commit-merge/fork-commit-merge#8766 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
UniprJRC/DSwithMATLAB#253 ·
-
area: math-chaos priority: P1 size: S type: docs
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
ibra-kdbra/Math-Problems#309 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100