Merge lp:~rharding/launchpad/yuiv3 into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Aaron Bentley |
Approved revision: | no longer in the source branch. |
Merged at revision: | 15681 |
Proposed branch: | lp:~rharding/launchpad/yuiv3 |
Merge into: | lp:launchpad |
Diff against target: |
65 lines (+8/-12) 2 files modified
buildout.cfg (+5/-9) lib/lp/app/templates/base-layout-macros.pt (+3/-3) |
To merge this branch: | bzr merge lp:~rharding/launchpad/yuiv3 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Aaron Bentley (community) | Approve | ||
Review via email: mp+115592@code.launchpad.net |
Commit message
Wire up buildout to install multiple YUI versions and wire up feature flag to YUI Config.
Description of the change
= Summary =
3rd try at landing this change. Currently the QAS and production systems don't have unzip installed. This is fixed in the latest launchpad-
In order to test different YUI versions behind the feature flag, we need to
have the ability to load up multiple versions into the combo loader directory
and to change which version you get based on the feature flag setting:
js.yui_version
== Pre Implementation ==
Talked with Orange, Curtis, William, and Robert on various ways to tackle dealing with the YUI dep.
== Implementation Notes ==
This is a second pass that expands on the current method of getting YUI from the download-cache through buildout.cfg.
This sets up only the currently used/testing versions and makes sure both are installed by default.
The download cache is updated to pull the raw YUI upstream .zip files to make it easier to update in the future vs rolling our own .tar.gz of things.
This also updates the YUI config to use the already built in value for the
js.yui_version feature flag. When not set, it's set to yui and uses the
default symlink. Otherwise you can specify the actual version file.
Currently you can use the feature flag below to run under the latest 3.5.1
release.
js.yui_version default 1 yui-3.5.1
== Tests ==
All tests should pass as normal. No new tests for this.
== LoC Qualification ==
Yay negative LoC
The max URL length supported by IE 8 is 2083: http:// support. microsoft. com/kb/ q208427
I suggest we stick to that. Other than that, looks good.