Also, .nounpack is the same as [Dummy]-addons in WUU, I guess? (http://wuu.vagabonds.info/wuuki/Dummy - "Dummy allows WUU to ignore certain addons without them having to exist in the Addons directory.") What's the difference between .nopack and .nounpack?
(WUU handles most of the "metadata" in the file addons.wurm.xml in the WoW directory - the only extra item WUU places in the addon directories themselves, is <addonname>.wuuver, which contains the addon version (or revision, in the case of WoWAce addons))
This is probably a stupid question but I'll ask it anyway :)
What's the purpose of storing addon's rss feed data in the addon directory?
All addons already contain a changelog file which contains the revision info, while all the package addons have the filelist.wau file which contains the info about the package itself.
Don't see what other info I'd need for an updater :o
I guess we can add a "WAU compatibility mode" (that has to be enabled) to WUU, but some of this stuff is handled quite differently in WUU, so "for 90% of the user base" (yep, just guessing) it'll just add unnecessary trouble :)
I can't promise that it'll be a priority, though - we've got lots on the menu for 1.6 already :)
I guess we can add a "WAU compatibility mode" (that has to be enabled) to WUU, but some of this stuff is handled quite differently in WUU, so "for 90% of the user base" (yep, just guessing) it'll just add unnecessary trouble :)
I can't promise that it'll be a priority, though - we've got lots on the menu for 1.6 already :)
I guess i just mean can we adopt the same methodologies of doing some things, a good example is saving of the local version number.
using the rss feed stored in the addons directory is application neutral in that respect.
I dont mean to imply you need a WAU compatibility mode. I want to just open up a dialog and work together so that we dont have 1 different convention for each updater
personally I frown on creating a lot of artifacts on the clients computer. the version number is available via the change log's file name and that is the standard.
personally I frown on creating a lot of artifacts on the clients computer. the version number is available via the change log's file name and that is the standard.
The version number needs to contain the feed, major and minor version
WAU displays it like this: -40000, +40000.005 (+ or - is with or without externals)
It needs to know if the locally installed version is with or without externals. I finally just started saving it myself - since all the info is alredy in the rss feed and you have to parse it to get it anyways - it was the obvious choice. I know im beating a dead horse, but it should just be in the zip along with the changelog.
Currently every single updater has a different method of determining the local version. (Well i count at least 4)
I guess we can add a "WAU compatibility mode" (that has to be enabled) to WUU, but some of this stuff is handled quite differently in WUU, so "for 90% of the user base" (yep, just guessing) it'll just add unnecessary trouble :)
I can't promise that it'll be a priority, though - we've got lots on the menu for 1.6 already :)
I guess i just mean can we adopt the same methodologies of doing some things, a good example is saving of the local version number.
using the rss feed stored in the addons directory is application neutral in that respect.
I dont mean to imply you need a WAU compatibility mode. I want to just open up a dialog and work together so that we dont have 1 different convention for each updater
We use a file named <directoryname>.wuuver, which only contains the local version on a single line - storing the RSS feed would require making fake RSS files for addons from CurseGaming, AuctioneerAddon, etc.
I'm not going to use the RSS feed for local version, at least (since I don't like dragging the XML parser into this if I can avoid it), so the only part I need from the file, is probably the :provides tags (I get all the other data from the TOC).
...I'll have to look into it :)
Quote from Kaelten »
personally I frown on creating a lot of artifacts on the clients computer. the version number is available via the change log's file name and that is the standard.
Me too, but using the change log isn't a universal option - WUU supports 8-9 different sites (plus "every site", through the OtherSites function), and only WoWAce has a guaranteed change log, so all this either means creating something WoWAce/WAU-specific in the handlers we have, or just create a file that we largely ignore for the most part.
...which is why I suggested adding a specific WAU compatibility mode - I'm not going to create folders that I'm not going to touch unless necessary (the .nopack/.nounpack thingy - still not sure what you mean by "nopack", so I guess I'll have to download WAU and try ;))
I'd rather suggest we found a common file format, or something, to store data about which folders to ignore or not (e.g. an XML file dropped in Interface\AddOns\)
EDIT: For what it's worth: for other sites than WoWAce, we use the date the addon was updated (in YYYYMMDD format, so it can be compared as an integer) as the version number.
iirc the nopack idea is from addons that have LoD stubs, like Periodic Table. where it has sub addons that are LoD if unpacked. if left as is when u download it all the subs are loaded when the game starts.
putting a .nopack file in tells wau not to un pack that particular addon as by default wau will unpack any addon flagged for it.
iirc the nopack idea is from addons that have LoD stubs, like Periodic Table. where it has sub addons that are LoD if unpacked. if left as is when u download it all the subs are loaded when the game starts.
putting a .nopack file in tells wau not to un pack that particular addon as by default wau will unpack any addon flagged for it.
that is .nounpack ;)
.nopack does the reverse when updating or deleting,
.nounpack and .nopack should be options in the gui. Having artifacts for such things isn't a good idea.
lejordet: I understand why you can't use the changelogs exclusively. But regardless for wowace's files and for wau this is the standard I have set.
Yes, yes :) I've got no problem with the way things work here at WoWAce, since we already do lots of housekeeping to handle the other sites - this is the cleanest to work with ;) I was just thinking: "Hey, this is the perfect opportunity to suggest something that'd make my day easier when handling this site", but I couldn't come up with anything :P
I'll probably get some time to look into this next week; I think the first order of business is to see if WUU can't make use of the :provides tag in the RSS (and write similar "RSS" files for the other sites we work with, basically make the tools to let us work with all sites as if they were WoWAce.com ;))
Oh, and I'm in the middle of rewriting the XML parser and stuff, so I'm not sure if this will make it in before we release 1.6 :(
One of the reasons wau use artifacts like .nounpack and .nopack is that they can be included in the zips. There is an option to disable the unpack operation in the gui, but you can also place .nounpack in the interface\addons directory, and any updater can see that.
.nopack is rarely used, but the point of it is that you include addons which once they are unpacked from their source folder are no longer associated with the addon anymore. It makes the contents of a package "install only"
in contrast .nounpack wont unpack any contents, but it will pack them if they exist.
you could make an !!!SAL.nopack, and when you uninstalled !!!SAL - the libraries would not get uninstalled.
Also wau is coded in such a manner now that if it cant determine the local version's external status it will always update it to the user's default preference if the major version number hasnt changed.
?=dont know, +=with externals, -= without externals
As far as using changelogs, I prefer a tiny text file with the latest version to the massive changelogs, which I habitually delete.
That period folder crud needs to go. Windows does not like that without going to command line, and that is not user friendly. Yes, great, it's popular in *nix apparently, but these are generic or Windows applications.
I see no issue with an updater maintaining a single file with every addon you have installed, and what version they are at (and other options, such as nounpack and whatnot). Seems like the simplest solution.
Updaters should keep track of their own metadata and should not rely on the changelog files.
Put the RSS feed data into the zip pasta!!! Please!!! Right now WAU is doing it itself the files are tiny like <1k - you can take out filelist.wau, and name all the changelogs the same, and you have a consistant way of determining both local and remote versions.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
An example. WAU 1.x stores the rss feed data for each addon in a file ".source" which it places in each addon's directory.
WAU also uses ".nounpack" (and ".nopack") directories
To the other updater authors, would it be possible to agree on some sort of standard for the format and naming of these types of things.
I think the ways of doing stuff that WAU1 does proves that you were on LSD at the time.
Well, could you explain what these things do? (I've never used WAU :P)
The .source is the "RSS fragment" relating to that addon? Something like:
Also, .nounpack is the same as [Dummy]-addons in WUU, I guess? (http://wuu.vagabonds.info/wuuki/Dummy - "Dummy allows WUU to ignore certain addons without them having to exist in the Addons directory.") What's the difference between .nopack and .nounpack?
(WUU handles most of the "metadata" in the file addons.wurm.xml in the WoW directory - the only extra item WUU places in the addon directories themselves, is <addonname>.wuuver, which contains the addon version (or revision, in the case of WoWAce addons))
Creating directories:
<addon>.nounpack
<addon>.nopack
Those will change the handling of packages. One will disallow unpacking, the other will disallow repacking (when deleting or updating).
Normally package addons (like bigwigs) are unpacked when installed, and repacked before they are updated.
Anyhow,
What's the purpose of storing addon's rss feed data in the addon directory?
All addons already contain a changelog file which contains the revision info, while all the package addons have the filelist.wau file which contains the info about the package itself.
Don't see what other info I'd need for an updater :o
The rss feed data contains the version number (including ext or noext), and source URL for the addon.
It also contains the list of dependancies, package contentents, etc.
The rss feed data just seemed like a good solution, since it was already an accepted format.
I can't promise that it'll be a priority, though - we've got lots on the menu for 1.6 already :)
I guess i just mean can we adopt the same methodologies of doing some things, a good example is saving of the local version number.
using the rss feed stored in the addons directory is application neutral in that respect.
I dont mean to imply you need a WAU compatibility mode. I want to just open up a dialog and work together so that we dont have 1 different convention for each updater
The version number needs to contain the feed, major and minor version
WAU displays it like this: -40000, +40000.005 (+ or - is with or without externals)
It needs to know if the locally installed version is with or without externals. I finally just started saving it myself - since all the info is alredy in the rss feed and you have to parse it to get it anyways - it was the obvious choice. I know im beating a dead horse, but it should just be in the zip along with the changelog.
Currently every single updater has a different method of determining the local version. (Well i count at least 4)
We use a file named <directoryname>.wuuver, which only contains the local version on a single line - storing the RSS feed would require making fake RSS files for addons from CurseGaming, AuctioneerAddon, etc.
I'm not going to use the RSS feed for local version, at least (since I don't like dragging the XML parser into this if I can avoid it), so the only part I need from the file, is probably the :provides tags (I get all the other data from the TOC).
...I'll have to look into it :)
Me too, but using the change log isn't a universal option - WUU supports 8-9 different sites (plus "every site", through the OtherSites function), and only WoWAce has a guaranteed change log, so all this either means creating something WoWAce/WAU-specific in the handlers we have, or just create a file that we largely ignore for the most part.
...which is why I suggested adding a specific WAU compatibility mode - I'm not going to create folders that I'm not going to touch unless necessary (the .nopack/.nounpack thingy - still not sure what you mean by "nopack", so I guess I'll have to download WAU and try ;))
I'd rather suggest we found a common file format, or something, to store data about which folders to ignore or not (e.g. an XML file dropped in Interface\AddOns\)
EDIT: For what it's worth: for other sites than WoWAce, we use the date the addon was updated (in YYYYMMDD format, so it can be compared as an integer) as the version number.
putting a .nopack file in tells wau not to un pack that particular addon as by default wau will unpack any addon flagged for it.
that is .nounpack ;)
.nopack does the reverse when updating or deleting,
lejordet: I understand why you can't use the changelogs exclusively. But regardless for wowace's files and for wau this is the standard I have set.
Yes, yes :) I've got no problem with the way things work here at WoWAce, since we already do lots of housekeeping to handle the other sites - this is the cleanest to work with ;) I was just thinking: "Hey, this is the perfect opportunity to suggest something that'd make my day easier when handling this site", but I couldn't come up with anything :P
I'll probably get some time to look into this next week; I think the first order of business is to see if WUU can't make use of the :provides tag in the RSS (and write similar "RSS" files for the other sites we work with, basically make the tools to let us work with all sites as if they were WoWAce.com ;))
Oh, and I'm in the middle of rewriting the XML parser and stuff, so I'm not sure if this will make it in before we release 1.6 :(
.nopack is rarely used, but the point of it is that you include addons which once they are unpacked from their source folder are no longer associated with the addon anymore. It makes the contents of a package "install only"
in contrast .nounpack wont unpack any contents, but it will pack them if they exist.
you could make an !!!SAL.nopack, and when you uninstalled !!!SAL - the libraries would not get uninstalled.
Also wau is coded in such a manner now that if it cant determine the local version's external status it will always update it to the user's default preference if the major version number hasnt changed.
?=dont know, +=with externals, -= without externals
< = causes update
> = wont update
?40000 < +40000
?40000 < +40000.099
?40000 < -40000
?40000.099 < -40000
?40000.099 < +40000.001
?40001 > +40000
?40001 > -40000
And because we know the feed we can finally handle these cases correctly:
+40000 < -40000
-40000 < +40000
+40000.099 < -40000
That period folder crud needs to go. Windows does not like that without going to command line, and that is not user friendly. Yes, great, it's popular in *nix apparently, but these are generic or Windows applications.
I see no issue with an updater maintaining a single file with every addon you have installed, and what version they are at (and other options, such as nounpack and whatnot). Seems like the simplest solution.
Put the RSS feed data into the zip pasta!!! Please!!! Right now WAU is doing it itself the files are tiny like <1k - you can take out filelist.wau, and name all the changelogs the same, and you have a consistant way of determining both local and remote versions.