Hi John,
I'm pretty sure we'd already agreed to do that. :)
The reason I'm sure, is because just after we agreed to it (on a
telecon), it occurred to me that the best place for the roll-up file
is actually the Download page! So thanks for reminding me.
The first thing is that I'd previously hidden the "Download" tab,
because I didn't think we needed it. I've now switched it back on, and
you can go directly to it here:
<
http://code.google.com/p/ubiquity-xforms/downloads/list>
Next, click on "New download", and enter a description, such as
"Roll-up for version x".
In Labels, if you add "Featured", you'll automatically get a link to
the download on the home page, in the same way that we do for wiki
pages. However, I'd suggest we keep that for something more
substantial, like a zip file of all the files for a particular
version.
Finally, the issue of the file name; we would need to call the roll-up
file something like "uxf-0.7.0.js", for two reasons.
The first is that Google recommend that you don't overwrite files that
have been placed in the download section, but just keep adding to the
list with new versions. We follow this approach on the formsPlayer
project and have downloads like "formsPlayer-1.2.3.4.msi".
(When you want to hide a download from the list, you just give it the
label "Deprecated"; but it would still be available to any project
that referred to that version.)
The second reason is to do with library performance; I've been doing a
lot of reading around on the question of deployment and performance,
because it's not going to be long before we have some real projects
using UXF, and it turns out that 'best practice' is to set your server
caching such that you have a very long expiry time, but then to have
version numbers on the file names.
(You'll probably recognise that pattern from the YUI library file names.)
This means that if someone puts "uxf-0.7.0.js" onto their server, and
then sets the file to have a long expiry (and by long I mean something
like five years!), people who use their application regularly will
never reload it. But if they move to a new version, it's still
possible for them to force browsers to download it, by upgrading to
"uxf-0.7.1.js", or whatever.
And of course it means that one application could be using 0.7.0 and
another could be using 0.7.1.
By the way, I don't have a preference for the prefix part of the name
-- I'm just saying "uxf" to make it easy to give examples. But I would
recommend that we don't use "-loader" in the name, since it's not
really applicable with a roll-up file.
One last thing, on Buildbot -- the roll-up creation was working, but
when we launched a new instance on Amazon, we obviously missed a vital
piece of our configuration, so it's failing. It's going to take us a
little tweaking to get it going again, but hopefully we'll get it
sorted soon.
Regards,
Mark
--
Mark Birbeck, webBackplane
mark.b...@webBackplane.com
http://webBackplane.com/mark-birbeck
webBackplane is a trading name of Backplane Ltd. (company number
05972288, registered office: 2nd Floor, 69/85 Tabernacle Street,
London, EC2A 4RR)