Add support for non-deployed "dev" packages
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with the package and publish command handling and the referenced %IPM.Storage.Module::Module.HaveToDeploy() and %IPM.Lifecycle.Module::%Package() entry points. Trace how the proposed modifier reaches packaging, then verify that non-deployed packages skip %MakeDeployed() while normal packages retain current behavior.
索引モデルが issue の本文から書いたものです。
説明
Link to the discussion thread
https://github.com/intersystems/ipm/discussions/1252
Describe the problem
We in HealthShare use IPM to package up modules that will be used for both development and production. Per https://github.com/intersystems/ipm/issues/624, this seems to be common among IPM users.
In addition to potentially selectively running code via or selectively applying configuration via , we would like to selectively deploy code depending on the branch from which the source code is packaged. For example, when packaging code from a particular testing and development branch, the package should not include any deployed code so that its source code can be inspected and edited for debugging purposes. However, when packaged from its main branch, the package should be production-ready (aka include deployed code). Currently, any module which is packaged via zpm "package" or zpm "publish" will deploy any resources marked with Deploy="True"
Describe the solution
Introduce a "dev" or "nondeployed" modifier to the package and publish commands that causes %IPM.Storage.Module::Module.HaveToDeploy() to return false so that ..MakeDeployed() is never run within %IPM.Lifecycle.Module::%Package().
Describe alternatives
- Developers could set up development + testing environments by installing modules from source code in dev mode, but this is not a recommended flow. It is much cleaner to load a tarball whose contents are based on a particular change to isolate the feature/bug fix being tested.
- Developers could maintain a separate module.xml for a module in different branches, with different
Deployattribute values.
- 主要言語
- ObjectScript
- スター
- 41
- フォーク
- 33
- 平均マージ
- 23時間 20分
- マージ済み PR(30日)
- 29
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
intersystems/ipm のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
intersystems/ipm#1338 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
intersystems/ipm#1241 ·
メンテナーはふだん 1 日以内に返信
-
CI checks on IRIS for Health Community 2025.3 failing: license expired対応中かも @isc-eneil が 2 日前に担当しました。 オープンbug
intersystems/ipm#1335 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
intersystems/ipm#1328 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 53/100
intersystems/ipm#1327 ·
メンテナーはふだん 1 日以内に返信
intersystems/ipm の issue をすべて見る
似ている issue
-
area: cli priority: P2 type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
appandflow/stim#6381 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1時間未満 初心者へのやさしさ 72/100
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
GustavoBaranda/chatflow-agent#240 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
5hyuns/maya-workflow-kit-for-blender#568 ·
メンテナーはふだん 1 日以内に返信
-
bug follow-up lane:backlog
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Sanne/incus-spawn#2620 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信