mint icon indicating copy to clipboard operation
mint copied to clipboard

Update cache for individual mods

Open Buckminsterfullerene02 opened this issue 2 years ago • 10 comments

For the length of my mod list the update cache process takes multiple minutes and usually it's just one mod I actually care about getting an update for.

Also, don't think I should make a seperate issue for such a minor thing, but wouldn't you agree that "Update mods" is a more user friendly name for the button? It's not exactly clear to most users that updating the cache would be checking for updates/updating your mods. I know it's got the hover text but I still believe that mentioning a technical word when it doesn't need to be mentioned isn't the best 🙂

Buckminsterfullerene02 avatar Aug 16 '23 22:08 Buckminsterfullerene02

There's another endpoint that lists sequential mod update events to significantly reduce update requests: https://docs.mod.io/#get-mods-events

Only issue is it might not list dependency changes and that's one of the things that needs to be checked.

trumank avatar Aug 16 '23 22:08 trumank

Ok looks like it does show dependency updates under the general MOD_EDITED even type and also works on hidden mods the user has authority to see, so this endpoint should work fine.

trumank avatar Aug 16 '23 23:08 trumank

Cache updates are now significantly less expensive with 1de3e6a5a0431b40695ad741bd22b1669db3b3d0. I have not yet changed the interface so leaving this open for now.

trumank avatar Aug 31 '23 02:08 trumank

I want to still request this feature again, because my mod list has like 200 entries and the vast majority of them don't get updated, so it would be excellent if there was a button to update specific mods and their dependencies when I see them updated in mod.io (I subscribe to the mods I use there even with integration enabled to keep track). Maybe my use case is a bit extreme, though tbh I don't think I'm the only one with a long modlist.

Skjold avatar Nov 29 '23 18:11 Skjold

This feature has already been implemented in the next version months ago, that truman is procrastinating on releasing (for various reasons). If you pressure him to do it he will eventually 😂

Buckminsterfullerene02 avatar Nov 29 '23 22:11 Buckminsterfullerene02

Can you describe how can I build the master branch on Windows or is it too complicated? I'm familiar with CLI.

Skjold avatar Nov 30 '23 01:11 Skjold

Assuming you have cargo installed, you just need to clone the repo and then run cargo run --release inside of it to build and run.

Buckminsterfullerene02 avatar Nov 30 '23 19:11 Buckminsterfullerene02

This feature has already been implemented in the next version months ago, that truman is procrastinating on releasing (for various reasons). If you pressure him to do it he will eventually 😂

Where is this feature? I built the latest revision from Cargo and I don't see the option to update individual mods.

Tenome avatar Dec 09 '23 05:12 Tenome

Once you have built from source, the following will happen:

  1. Press update cache, it will do the full update that takes ages like normal
  2. Any subsequent presses of this button will only update any mods that have changed

Buckminsterfullerene02 avatar Dec 10 '23 16:12 Buckminsterfullerene02

I see, thanks.

Tenome avatar Dec 12 '23 21:12 Tenome