Add support for non-deployed "dev" packages
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 50/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- ObjectScript
- Star
- 41
- Fork
- 33
- Merge trung bình
- 23 giờ 20 phút
- Pull request đã merge (30 ngày)
- 29
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của intersystems/ipm
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
intersystems/ipm#1338 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
intersystems/ipm#1241 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CI checks on IRIS for Health Community 2025.3 failing: license expiredCó thể đã có người làm @isc-eneil đã nhận 2 ngày trước. Đang mởbug
intersystems/ipm#1335 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
intersystems/ipm#1328 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 53/100
intersystems/ipm#1327 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của intersystems/ipm
Issue tương tự
-
area: cli priority: P2 type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
appandflow/stim#6381 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 72/100
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
GustavoBaranda/chatflow-agent#240 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Hidden joints can't be re-shownĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
5hyuns/maya-workflow-kit-for-blender#568 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug follow-up lane:backlog
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Sanne/incus-spawn#2620 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày