Deprecate secret "PermitDowngrade" flag

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
領域
cli, tooling

調査の方向性

IPM のコードベースで "PermitDowngrade" のすべてのインスタンスを検索し、まず関連する install と uninstall の動作を調査します。flag を削除するか非推奨にし、既存の動作に変更がないことを確認してから、削除または非推奨としてマークすべきドキュメントを GitHub Wiki と Stack Overflow で検索します。

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

説明

enhancement good first issue prio: medium usability

The secret "PermitDowngrade" flag should be deprecated (removed from IPM codebase).
This is because by allowing users to downgrade without making them uninstall the module first leads to more complications than good.
For example, if a module was at 1.1.0 and the install command is used to downgrade to 1.0.0, classes that were added in 1.1.0 will not be deleted, and will linger after the "downgrade".
Moving forward, if an user wants to downgrade a module, they must first run the uninstall command, and then run the install command with their desired version.

Work involved:

  • Search for all instances of "PermitDowngrade" in the IPM code base and remove them.
  • Test to make sure existing behavior has not changed.
  • If documentation exists for the PermitDowngrade flag, remove it from all sources (Github Wiki, Stack Overflow, etc.) or at least update to say deprecated.
主要言語
ObjectScript
スター
41
フォーク
33
平均マージ
23時間 20分
マージ済み PR(30日)
29

環境構築

はじめの一歩

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

intersystems/ipm のほかの issue

intersystems/ipm の issue をすべて見る

似ている issue

CLI の issue をもっと見る

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

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