ioBroker.js-controller icon indicating copy to clipboard operation
ioBroker.js-controller copied to clipboard

Make adapters pinnable in CLI

Open Grothesk242 opened this issue 3 years ago • 3 comments

While you can ignore a certain adapter update in the Admin Gui, the same adapter shows as updateable in the CLI

iobroker update -u
Used repository: beta
Adapter    "nuki-extended": 2.5.0    , installed 2.4.0  [Updatable]

I'd prefer to have these adapters marked as 'pinned' or something similar. Command could be

iobroker pin <ADAPTER>
iobroker unpin <ADAPTER>

Grothesk242 avatar May 31 '22 20:05 Grothesk242

I Need this too

BenAhrdt avatar Feb 09 '24 17:02 BenAhrdt

Best thing would be if the admin funcationality and the controller functioanlity are in sync - meaning if ignored via admin, controller ignores the update too and vice versa. I will look into it how admin performs the version ignore and post details here for later implementation.

foxriver76 avatar Mar 18 '24 19:03 foxriver76

Okay admin writes in the system.adapter.xy object a property common.ignoreVersion with the update to ignore. As we recently noticed, we will introduce the adapter object as per host, so controller will likely respect it right from there in the next release and admin needs a very small adaption then.

https://github.com/ioBroker/ioBroker.admin/blob/27c9de12993611797b0cd099ef42cef4c9952fb4/packages/admin/src/src/tabs/Adapters.jsx#L2321-L2338

https://github.com/ioBroker/ioBroker.js-controller/pull/2620 needs to be merged first

foxriver76 avatar Mar 19 '24 07:03 foxriver76