intersystems / intersystems/ipm

Add a flag to disallow reinstallation of the same version

Open
#889 1 comment 0 reactions 1 assignee Claimed by @isc-dchui View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.