Talk:WUU 1.5

From WUUki

Jump to: navigation, search

Contents

[edit] lejordet's "developer diary"

[edit] 2007-08-03

We're very far on the way to 1.6 now - most of the major changes are implemented, but there's a lot of smaller things to fix.

I'm going to re-work the addon database for WUU 1.6 - the current database is based on user submissions, and - as everybody knows - users can't be trusted ;)

The current database is a nearly unfiltered setup based on the addon setup of users that clicked the "upload" menu item in WUU 1.4 and up - and when you use the online DB to identify your unknown addons, it selects the correct settings based on the following criteria:

  1. More than 10 votes (each IP that uploaded adds one "vote" to the addon)
  2. If more than one set of settings is available(i.e. an addon exists on multiple sites), the one with the most votes win (alphabetical site order is the tie-breaker)

The problem with this is that some users run addons with "strange" settings, and some addons have multiple (technically correct) site IDs for the same site, so the votes are in many cases nearly useless :(

The new site will still be somewhat based on user submissions, but WoWAce, Auctioneer, Gatherer, CapnBry and CosmosUI will be auto-imported (since they have a relatively fixed set of addons), while Curse, WoWInterface, Google Code, Ace SVN and "OtherSites" will be based on straight up submissions (moderated, so someone has to actively check out and verify that the settings are "sane").

If I get that far, the site will also feature screenshot uploads for the addons, commenting, (rating?) - depending on how far I get in learning django (I chose django, since that means I can use some of the existing WUU code directly in the site code ;))

The page won't be public until I feel I have the correct structure and the necessary base data to release it to the wild (i.e. I need to import the sites with a "fixed" set of addons mentioned above).

[edit] 2007-08-04

Released .381 with the minor changes done. Have tested how the new addon DB works with addons that are dependant on each other; seems to work just fine.

Auctioneer will be a problem due to the two zips providing the same package (one of them - AuctioneerComplete - has all the addons included ([Related]), and as such has no external dependencies, while the other - AuctioneerOnly - is JUST Auctioneer, with lots of external dependencies. A fix for this, I guess, is to pretend that AuctioneerComplete doesn't exist. For the user, the end result will be the same, except you won't need to download the entirety of Auctioneers addons when a minor addon is updated.

[edit] 2007-08-05

Released .386 with Jncl's changes - dind't get time to do much work this weekend. Must find a way to import the sites to my new addon DB (ideally in some sort of automatic fashion).

[edit] 2007-08-07

Implemented Coral CDN code, and tested it on my trial set of addons. It roughly doubled the time to update when updating <10 addons, Jncl reported it taking a really long time when updating a huge amount of addons. Still added to release for more "real world" testing.

Hopefully, if there are no major problems (that can't be worked around), we can make WUU default to Coral CDN-mode enabled in 1.6, so the addon sites' bandwidth usage is minimized.

CapnBry has changed his site around a bit, so it won't work until we change our code - he's added some extra files to his site to help WUU grab versions/downloads, so it'll be easy :D

The language files should be more complete now; I'll continue my Norwegian translation to test this out.

[edit] 2007-08-08

Just implemented the new CapnBry code quickly, fixed the empty changelog reports, and made a release. Will work some more on the new addon DB later today :)

The addon db will probably be opened to the public for registration and user submitted addons before it's integrated into WUU, but WUU 1.6 won't be released until the addon database is "complete".

Not sure yet how to handle dependencies for WoWAce with/without no-ext, since the no-ext version has more dependencies than the ext version.

[edit] 2007-08-18

Due to vacation, not much has happened the last 10 days - I hope to get some new things done soon ;)

[edit] 2007-09-04

Preparing to release a new version today; hoping to get the time to work on the addon database this week :)

[edit] 2007-09-12

Got some more donations this week (thanks!), which makes my original plan of getting some quality hosting on a Django-friendly webhost a possibility :)

As of now, the WUU webpage uses about 1.20Gb of bandwidth each day, so the main download page will stay on Dreamhost (with their insane "2000Gb transfer"-limits it's hard to pass up for "providing large files"). What I'm looking for is a host for the small files that are accessed frequently (like http://wuu.vagabonds.info/version.txt), and the addon database.

I'll probably fix the existing addon database first; there's a lot of misconfigured addons out there, so I'll have to add a flag to each addon "has this addon been manually verified?". The plan is that users can register and help verify addons/submit addons from the web. (Simple registration only, or a non-registration based voting system, to keep a "trail" for undoing malicious user changes)

[edit] 2007-09-28

The current addon database is improved a bit - I've added a "error" flag to the entries, and flagged a couple of thousand clearly wrong entries (that could be caught with simple SQL UPDATE statements, at least), so the result should be better now.

The latest changes (.399-.403) were a bit dramatic, and introduced a lot of new bugs - I'm probably going to have to rollback some of them. I think I have an idea for re-coding some of the UI to make it more stable (which has been a problem since threads were introduced sometime in 1.3.*), so I'll probably try that before releasing the newest version.

There's a new branch in the SVN: /branches/wuu2/ - it's a fork of 1.5.402, and has been modified to be a command line WUU for now. It'll make it possible for us to create unit tests for the backend of WUU without the overhead of the GUI, which'll make it easier to check "are all site regexps correct now?" in the future. For those with Python and a SVN client installed, the current revision in the WUU2 branch is actually better than 1.5 in some regards (for instance, "python WUU2.py -s" will quickly update all outdated addons - run WUU2.py without parameters to see a comprehensive help text - I'll probably make a wiki page for it soon).

Anyway, my working copy of 1.5 (which I'll hopefully commit today) contains an option to not use threads in the UI (1.2 style updating, but better), which should help on the problems some have reported with the UI hanging, etc. I just need to fix the bug where the queue thread pool hangs on exit :(

I've given up on my django idea (for now), by the way...trying to find a good PHP host instead (much easier).

[edit] 2007-10-18

Finally, 1.6 stable is out! :D

Not everything planned made it to the release, but all in all, I think it's a major improvement over 1.4.

Personal tools