← Back to team overview

launchpad-dev team mailing list archive

Re: Convoy is ready for others

 

On Mon, 13 Feb 2012, Steve Kowalik wrote:

> Hai guys,
>
> 	As of r14783 in devel, Rick, Deryck, Ian and myself are
> reasonably confident for the rest of you to have a look at the work
> we've been doing with the combo loader.
>
> 	If you'd like to get it going, you need to perform a few steps
> if you already have an environment set up. (If you don't, rf-setup
> handles it all.)
>
>  1. Install libapache2-mod-wsgi.
>  2. In an up-to-date tree, run 'sudo make copy-apache-config reload-apache'
>  3. Re-run 'make' in your tree.
>  4. Run 'make run' and enable the feature flag 'js.combo_loader.enabled'
>
> 	Our plan is to continue testing this feature, with the next
> goal being to get this configured and enabled on qastaging.


A heads up, as part of this change I'm working on porting the JS tests to
use the .js files in the build directory for all dependencies. There are
updated:
standard_test_template.html
standard_test_template.js

These should be used for new tests going forward. They provide a rough
framework and you should be able to find/replace ${LIBRARY} with whatever
you're writing. The idea is that you link to the build directory for all
files except the ones under test.

Steve, I'm not currently able to land this though because the tests (make
check) don't currently run combobuild and the build directory doesn't get
constructed. Is this just safe to add to make build or, because that'll use
the convoy python package to help create the meta.js and other tools, cause
us any issues?

I want to make sure that having make build require convoy the package (not
the running service) to be there isn't an issue for anywhere that can
occur.

If you hit any issues or have any questions please make sure to let me
know. This only opens up the feature flag, but it's going to take some more
work to help reduce the number of http requests made due to the large
number of separate YUI blocks through our pages of content.

In the end though, it should start to clean up a lot of the JS work going
forward.

--

Rick Harding

Launchpad Developer
https://launchpad.net/~rharding
@mitechie


References