Executing Buildout in offline mode
Specifying package versions is critical to creating a KGS.
So, what happens if the Internet goes down and/or you are unable to reach http://dist.plone.org/release/3.3.5/versions.cfg?
For this, we have two approaches.
The first, newer approach is to use Buildout's extends cache feature, information about which is available on http://pypi.python.org/pypi/zc.buildout#caching-extended-configuration We will not cover that here, but it is probably worth a look.
In the worst-case scenario though, you can try the following approach.
Inside the code bundle in the versions.cfg
file, we have included the contents of http://dist.plone.org/release/3.3.5/versions.cfg.
In the event you lose connectivity, or you want to deploy to an environment sans Internet, you need two things:
The packages themselves (which reside in the
eggs
directory)Their version specifications
We already included version specifications for our add-on packages in 08-future-versions.cfg
, which we discovered...