You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
respect common.ignoreVersion from new system.host.XY.adapter.XY object (#2657)
* respect common.ignoreVersion from new system.host.XY.adapter.XY object
- closes#1930
* added functionality to ignore and recognize via cli
* added readme
* allow to specify ignore version as semver range
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -254,6 +254,18 @@ Furthermore, instances and their states will not move to another structure and w
254
254
Note, that instances are unique across the whole system and are thus not affected by the described problem. Also objects of `type` instance have a `common.host` attribute
255
255
to find the corresponding host.
256
256
257
+
### Ignoring specific adapter version
258
+
**Feature status:** New in 6.0.0
259
+
260
+
If you know, that a specific version of an adapter is not suitable for you, you may want to ignore this update to avoid accidentally installing it.
261
+
You can do so by using the cli command `iobroker version <adapter> --ignore <version>` and to recognize all updates again use `iobroker version <adapter> --recognize`.
262
+
If a version of an adapter is ignored, you will not be able to update to this specific version on this ioBroker host.
263
+
If you use a multihost environment you might need to execute the commands once per host.
264
+
265
+
Internally this will set `common.ignoreVersion` to the specified version on the `system.host.<hostName>.adapter.<adapterName>` object.
266
+
The version to be ignored can be specified via a semver range. So an absolute version is fine if you only want to ignore one specific update, e.g. `1.5.1`.
267
+
Another example, if you want to ignore all updates in the `1.5.x` range, you can specify `~1.5.0`.
`host.${hostname} Unknown packetName ${packetName}. Please install packages from outside the repository using "${tools.appNameLowerCase} url <url-or-package>"!`
0 commit comments