`matlab.addons.install` of DocMaker hangs in headless CI on the license agreement

オープン
#40 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
matlab
領域
build-system

調査の方向性

Start by reading the toolbox packaging and release process, then inspect how the .mltbx artifact is built. The issue proposes adding resources/mpackage.json and installing with mpminstall(..., Prompt=false). Done when the release package can be installed in headless CI without an interactive license prompt.

索引モデルが issue の本文から書いたものです。

説明

matlab.addons.install waits for the user to accept the DocMaker license agreement and has no option to skip the prompt, so it hangs in headless CI.

mpminstall does support Prompt=false, but it needs the package to include resources/mpackage.json, and DocMaker doesn't ship one.

Reproduction Steps:
f = websave(fullfile(tempdir, "MATLAB_DocMaker.mltbx"), ...
    "https://github.com/mathworks/docmaker/releases/download/v0.8.0/MATLAB_DocMaker.mltbx");
matlab.addons.install(f)
Current Workaround:
unzip(f, fullfile(tempdir, "DocMaker"));
addpath(fullfile(tempdir, "DocMaker", "fsroot", "docmaker"));
Suggested Fix:

Ship DocMaker as a MATLAB package with resources/mpackage.json, so it can be installed with mpminstall(..., Prompt=false).

主要言語
MATLAB
スター
10
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mathworks/docmaker のほかの issue

mathworks/docmaker の issue をすべて見る

似ている issue

MATLAB の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。