Seriously though, the UI is, as you know very well, limited. Inserting an "Are you sure?" is, of course, the purpose of those intermediate clicks. The UI forces the "Next/Done" button to be inconvenient. "Next/Done" are not created IN an App, it's done by the UI and placed after all the App page is rendered. Always lower right corner.
Just wanted to chime in here. @csteele possibly already knows this but I did some research on this myself because I wanted to move a manifest file. Once a user installs a package, it caches the location of that package manifest. There is NO way that HPM ever will change that cached link that I am aware of. I do not think it ever checks back on the repository manifest to see if things have changed, it is locked in. This is why I created a test version of the UnMatch feature myself and then asked for it to be added.
So, if an author such as @bptworld moves or deletes the package manifest file, anyone who has it installed will start getting errors that will never go away, even if you update the repository manifest. The UnMatch will make it stop and then if the package is in HPM still you can re-match it.
If you look through Dominic's messages you'll see he says: "Using the manifest location as the Key to the DB was something I'm kicking myself for." (Or words to that effect.)
And that's what Un-Match does.. it deletes that manifest from the DB.
By itself it's not a fix for much, if anything. Un-Match should be followed by something.. and because I feel like the most used case will be to shift Manifest organization, I've assumed that the developer will do the re-org and then tell his users to un-match followed by a Match Up.
Said another way.. reading the "other topic" this has been a need maybe 5 times in the life of HPM. I'm not imagining it will be used 10x more often
I wanted something as a developer and as a user also. Sometimes you don't know you need it until its there. I have a feeling it will get used more often than we think.
Used vs Need. I agree it will get clicked a number of times.. "Ohhh, shiny new button, let's see what it does." "? Doesn't do anything, let me try it again." On the 3rd or 4th attempt, they'll notice the list to un-match is smaller... and panic. Never once will the words "Follow with a Match Up" be read. (Where's my cynical emoji?)
I just Un-Matched three packages that I didn't want to ever update, and having them be matched in HPM made for extra notifications and the risk of accidentally updating them when using HPM otherwise.
The alternative was reconfiguring a bunch of stuff after uninstalling from HPM and manually reinstalling. As a user, un-match is much better.
As a dev, the ability to relocate repos or use it for maintaining different versions is going to be really useful.
I ran HPM updates and got the HPM 1.8.6 version installed BUT now HPM View Apps & Drivers shows both 1.8.4 and 1.8.6 installed! I ran Update, Uninstall, Repair (on both) and rebooted the Hub but both HPM versions are shown as installed in View Apps & Drivers. Apps Code only shows one set of code.
app:14442022-06-21 10:36:32.972 pm errorjava.lang.NullPointerException: Cannot get property 'repositories' on null object on line 3923 (method prefSettings)
app:14442022-06-21 10:36:32.952 pm debugRefreshing repository list
app:14442022-06-21 10:36:32.950 pm debugConverted update mode to Never
app:14442022-06-21 10:36:32.944 pm debugMigrating auto updater mode
app:14442022-06-21 10:36:32.941 pm debugAdding GitHub and PayPal URLs to manifests...
The "Repair" option simply freezes at "Repairing Package Your changes are currently in progress...please wait" Will try vmsman's fix and see if that works
Like some others, I couldn't get it to update and it seemed Hubitat Package Manager was broken, hence the joke "Rest in peace, Hubitat Package Manager".