strongbox icon indicating copy to clipboard operation
strongbox copied to clipboard

Installs the Incorrect Version of Deadly Boss Mods from wowinterface.com

Open Ironlenny opened this issue 2 years ago • 6 comments

I'm running TBC classic which has a release version of "DBM-2.5.38-bcc", but strongbox keeps downloading the retail version. I've had to pin the addon so it won't try to download it, and keep it updated manually.

Addon link: https://www.wowinterface.com/downloads/info8814#info

Ironlenny avatar Jun 29 '22 00:06 Ironlenny

hey @Ironlenny , thanks for opening a ticket.

Strongbox uses the wowinterface API for discovering an addon's latest releases. Unfortunately wowinterface.com is a bit ... weird. They didn't handle the transition to Classic/Classic-TBC very well and their addon web pages (like https://www.wowinterface.com/downloads/info8814#info) often have more releases on it than what is available via the API.

Their addon web pages often have lists of previous releases that are not available via the API, too.

There is also a discrepancy of about ~7k addons that are not available via the API that are on the website. It's not clear why.

I spent some time earlier this year tackling these and other problems and built https://github.com/ogri-la/strongbox-catalogue-builder. It's an effort to scrape every last bit of addon information from wowi's API and website that I can with plans to extend it to the github catalogue as well. I'm currently using it to build the wowinterface catalogue weekly but I need to publish the larger set of wowinterface data somehow and have Strongbox make use of it. I have nothing too important planned for next month's release, so I'll take it on then.

For now you're stuck doing what you're doing with manual updates, sorry.

torkus avatar Jun 29 '22 14:06 torkus

That sucks. Thanks for the explanation. I don't envy you dealing with Wow interface's funky api.

Ironlenny avatar Jul 05 '22 03:07 Ironlenny

I know this is error prone, but have you considered doing a simple sanity check on the file name? Mod authors typically append 'bcc' and 'classic' to non-retail versions.

Ironlenny avatar Jul 05 '22 03:07 Ironlenny

I spent some time earlier this year tackling these and other problems and built https://github.com/ogri-la/strongbox-catalogue-builder.

Re-opening because I intend to address this problem this month.

I know this is error prone, but have you considered doing a simple sanity check on the file name? Mod authors typically append 'bcc' and 'classic' to non-retail versions.

The filenames from wowinterface are not checked for mentions of a game track, although there is plenty of that happening for Github addons, as that information is available in the API.

I've actually just checked the two different versions of the API they have (v3 and v4) and DBM is present in one but not the other. It's such a weird state of affairs and I just assumed the same set of addons would be present in one that were in the other but apparently not. It's not meant for the public so we're just left guessing. I'm grateful there is anything structured at all.

torkus avatar Jul 05 '22 09:07 torkus

All issues are caused by the fact that the entire V3 API exist only for their abandoned client - Minion. V4 was created for a new major release of it that never came.

API never was updated to have feature parity with the site as Minion development was halted. A few categories (like addon compilations) of addons that are missing from API for the same reason - Minion was not equipped to handle them.

AcidWeb avatar Jun 04 '23 05:06 AcidWeb

I am basically running into the same bug just with Classic SoD and Classic WotLK.

As you see here: https://www.wowinterface.com/downloads/info8814 There are two versions of Deadly Boss Mods, one for Classic SoD and one for the rest(?) which renders Strongbox not able to update to the correct version.

ychromosome avatar Feb 19 '24 14:02 ychromosome