intersystems / intersystems/ipm
Add a flag to disallow reinstallation of the same version
Open
prio: medium
- Dominant language
- ObjectScript
- Stars
- 41
- Forks
- 29
- Avg merge
- 23h 54m
- Merged PRs (30d)
- 4
Description
The default behavior will be backward-compatible, still permitting reinstallation.
In module.xml, an application that wants to suppress reinstallation of an already-installed version could have:
```
0
```
At the command level, a user trying to install such an application when they really know better can say:
```
zpm "install isc-supply-chain -DPermitReinstall=1"
```
If PermitReinstall=0 and you run the install command, rather than erroring out, there should just be a message saying " is already installed."
Contributor guide
Assessment
This issue has not been assessed yet.