← Back to team overview

bzr-packagers team mailing list archive

Help needed to debug the new (Windows) packaging scripts

 

I've spent today testing out the new packaging scripts I've been working
on to build the Bazaar 2.2 Windows installers. As mentioned previously,
the cool thing about the new scripts is that a single configuration file
defines what gets built. This makes it *much* easier to add new plugins,
new documentation and new dependencies.

Unfortunately, the scripts still aren't quite there wrt subvertpy and
TortoiseBZR support in particular. :-( I'd like some assistance in
getting the bugs out please.

Here's how to test out the new scripts:

1. Grab rev 94 or later of lp:bzr-windows-installers
2. Install Sphinx 0.6 or later
3. Edit bazaar_releases.py to define what goes in the installer
4. Run this command:

   build.py installers

There are quite a few options available in build.py. Use the -h option
to list them. For example, to build just the standalone installer and
use the mingw32 compiler, try:

   build installers --compiler=mingw32 --standalone-only

GNU make, cog and cygwin are no longer required btw.

For those interesting in packaging Bazaar for other platforms, note that
most of the new code can be used in theory on other platforms. If
there's interest, we could have a cross-platform project (called
bzr-packaging say) that we build multiple bundles from. Failing that, I
guess we can sync the bazaar_releases.py file - the core build metadata
- across packaging projects each build. Take and look and let me know if
a cross-platform project is of interest to you.

Please give the new scripts a try and/or code-read and send in merge
proposals, suggestions, bug fixes, etc.

Thanks,
Ian C.



Follow ups