Add support for non-deployed "dev" packages
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 50/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- ObjectScript
- Stelle
- 41
- Fork
- 33
- Merge medio
- 23h 20m
- PR unite (30g)
- 29
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di intersystems/ipm
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
intersystems/ipm#1338 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
intersystems/ipm#1241 ·
I maintainer di solito rispondono entro 1 giorno
-
CI checks on IRIS for Health Community 2025.3 failing: license expiredForse già presa @isc-eneil l’ha presa 2 giorni fa. Apertabug
intersystems/ipm#1335 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
intersystems/ipm#1328 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 53/100
intersystems/ipm#1327 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di intersystems/ipm
Issue simili
-
area: cli priority: P2 type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
appandflow/stim#6381 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 72/100
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
GustavoBaranda/chatflow-agent#240 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
5hyuns/maya-workflow-kit-for-blender#568 ·
I maintainer di solito rispondono entro 1 giorno
-
bug follow-up lane:backlog
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Sanne/incus-spawn#2620 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno