Phanx / wow-addon-updater

Install and update World of Warcraft addons from the command line on Linux
zlib License
4 stars 1 forks source link

Bug in update.lua: doesn't remember all addons #2

Closed jukx closed 6 years ago

jukx commented 6 years ago

Edit: Actually it's the case for all of them. I had ignored Details previously, after unignoring the same thing happens here.


I am using some addons to test update.lua. After going through all and matching/ignoring them, some of them don't seem to be remembered. In my case, that's BugSack, !BugGrabber and AdiBags. Every time I run lua update.lua he tells me that he's found them anew. They do get saved in db.lua though:

    ["AdiBags"] = {
        ["version"] = "v1.9.8";
        ["dir"] = "AdiBags";
        ["id"] = "adibags";
        ["author"] = "Adirelle";
        ["title"] = "AdiBags";
        ["wow"] = "70300";
    };

Same behaviour with Lua 5.1 and 5.3.4

My addons: addons

jukx commented 6 years ago

Apparently the match function doesn't set the meta.site parameter which is checked against at the start of update.lua.

Phanx commented 6 years ago

I'll investigate this further later in the week.