racker/virgo — pull request #368 by kans (2013-03-06 23:45:22+00:00)
Title: (WIP) Birgo archon

I pushed to this branch lest I destroy weeks of painful work on the birgo branch with a force push. The goal of this branch is to move towards virgo as a platform for building agents. To that end, all rackspace specific lua has been removed. Several hacks have been cleaned up as well as other ugly code. Other differences include combining the two bundles into one, shipping so called static content (fixtures and the like) in the bundles (tests can now be run with just a binary and bundle). The luvit core lua modules are also now packaged in the binary via the same means that luvit itself uses (suck_in_symbols). The package.loaders have been changed to support this behavior. The virgo lua is now bundled in this way. The virgo lua namespace has been condensed entirely into virgo_utils (instead of polluting several). Static content is accessible via the global get_static function. It should live in virgo_utils, but bootstrapping it into vutils is hard.

Thankfully, this branch did not have its history rewritten in such a way as to make a rebase impossible.

This branch should be used with: https://github.com/kans/zirgo/tree/archon. configure now takes a --bundle command. Without it, we generate the example bundle. This isn't great but at least its explicit.

I expect packaging to be slightly broken, but easily resolvable. After this is merged, or perhaps before, I will abstract pkg generation via extending gyp and templating.