[sugar] [PATCH] Refactor bundlebuilder

Marco Pesenti Gritti mpgritti
Sun May 25 19:57:11 EDT 2008


Hello,

the attached patch refactors bundlebuilder. I'd appreciate a review
before doing extensive testing.

You can see the incremental changeset here:
http://dev.laptop.org/git?p=users/marco/sugar-toolkit;a=summary

Other than cleanups the significant changes are:

* The file inclusion logic is no more based on git/svn or a manifest
file, instead we include all the files except well known like
.git/.gitignore and source files like those in the po directory. This
is unusual compared to common build systems, but it should work well
for python bundles. The idea is that the source directory is almost
the same of the distributed bundle.
* dist_xo generate a xo, dist_source generate a source tarball.

I'm planning to add better support for generated files using make
(most common case being compiled C code). But I'd rather do that as a
separate step. Also if desired we can easily allow to override the
default file inclusion logic, or provide a choice of them (the one
this patch implements is experimental).

Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bundlebuilder.patch
Type: application/octet-stream
Size: 17619 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/sugar/attachments/20080526/6c3e668b/attachment-0001.obj 



More information about the Sugar-devel mailing list