[Sugar-devel] [PATCH] XO_Packager: package files in git and the locale folder

Simon Schampijer simon at schampijer.de
Sat Sep 10 10:07:24 EDT 2011


For clarification: the code does fallback to the previous behavior when the
git-ls command does fail. So for example you can do a bundle from your activity
folder on the XO, so as well when it is not a git checkout.
 
Thanks Gary for clarifying this point,
   Simon 
 
 

Simon Schampijer <simon at schampijer.de> hat am 10. September 2011 um 15:23
geschrieben:

>
> Hi,
>
> there have been reports (e.g. [1]) about Activities that had unexpected files
> in
> the xo bundle (e.g. patches). There have been a recent change that the support
> for the MANIFEST has been removed from the bundle builder. The MANIFEST
> 'controlled' which files were bundled. The current code does include all the
> files present in the folder (which includes patches etc).
>
> The patch I attach does use git-ls to get a list of files to include (like the
> tarball packager). Furthermore the locale folder is included which has been
> generated. Due to the API freeze I made '_get_files_in_git' a private method
> which adds a bit of duplication to the 'get_files' method in the tarball
> packager.
>
> Regards,
>
>    Simon
>
> [1] http://dev.laptop.org/ticket/11217


More information about the Sugar-devel mailing list