Modules that failed to install should not be considered "installed"

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
領域
cli

調査の方向性

Start by tracing the zpm install command and the code that records or reports installed modules; the issue does not name specific files or tests. Reproduce by interrupting an install with Ctrl+C, then check how a subsequent install handles the incomplete module. Done means failed installs are shown as troubled or are uninstalled when transactions are enabled.

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

説明

bug

Describe the bug

If you attempt to install a module and it fails to install, the module is displayed in zpm "list" as having been installed. This is problematic for the following reasons:

  • For a base module, it seems like install has succeeded even though it hasn't
  • For a dependency, if you go to install the base module again, it won't try to reinstall the dependency that previously failed to completely install, which could result in other downstream failures

To Reproduce

Steps to reproduce the behavior:

  1. Run IPM command zpm "install "
  2. Ctrl + C to quit the process to leave some modules with incomplete installs
  3. Attempt installing again.

Expected behavior

If a module fails to install, either indicate it is in a "troubled" state or uninstall it if transactions are enabled.

主要言語
ObjectScript
スター
40
フォーク
31
平均マージ
23時間 20分
マージ済み PR(30日)
29

環境構築

はじめの一歩

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

intersystems/ipm のほかの issue

intersystems/ipm の issue をすべて見る

似ている issue

CLI の issue をもっと見る

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

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