blackberry/BB10-Webworks-Packager — pull request #233 by cdelcol (2012-12-06 22:29:58+00:00)
Title: Adds support for configure using -framework <tag>

Fixes blackberry/BB10-Webworks-Packager#230

So, i think for the short term this works but is not really pretty. The basic instructions for dev of the packager hold true. In order to package a distribution that replicates a production version of the product the dev would:

git checkout v1.0.3.8
./configure -framework v1.0.3.8

to reset to get things back to normal
git checkout master (or whatever)
./configure

Some things I discovered that may help understand the change:
1. git submodule init : creates/updates an entry in the local git config
2. git submodule update : uses the url in the config file to update the submodule

This solution works by:
1. when specified, force the config to the production framework repo
2. run update
3. checkout the specified hash/tag/branch/whatever
4. carry on with life

The end result is that you start with a known packager tag, and force the framework to a 2nd known point, regardless of what is in the submodule.

I'm open to better ways:)