Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/bundle/bundle.py
Commit message (Collapse)AuthorAgeFilesLines
* Throw MalformedBundleException on broken zip filesMartin Dengler2011-02-051-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sugar.bundle.bundle.Bundle users (e.g. jarabe.model.bundleregistry.BundleRegistry._add_bundle) only expect MalformedBundleException to be thrown, not exceptions of zipfile. This patch solves the most severe issue in #1876: filling up the filesystem with temporary files that won't be deleted afterwards. Before we can consider this bug completely fixed, we still need to do something for the remaining issues: 1) Unpacking shouldn't be attempted if there isn't a safety margin 2) System becomes unresponsive during unpacking 3) No progress indication for the operation, so users are tempted to click multiple times 4) No error messages displayed for unpacking errors, which is a common Sugar nuisance. http://bugs.sugarlabs.org/ticket/1876#comment:5 offers possible strategies for (1) and (2). Signed-off-by: Martin Dengler <martin@martindengler.com> Signed-off-by: Bernie Innocenti <bernie@codewiz.org> [style fixes, adjusted description] Signed-off-by: Sascha Silbe <silbe@activitycentral.com> Reviewed-by: Aleksey Lim <alsroot@activitycentral.org>
* style cleanup: prefer ' for stringsSascha Silbe2010-11-231-2/+2
| | | | | | | | | Tomeu prefers ' for strings, so let's use it wherever we don't have a good reason to use ". Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* Cannot delete stalled download from journal #1987Aleksey Lim2010-06-021-3/+2
|
* PEP8 white space and long line fixesSascha Silbe2009-08-251-2/+9
|
* trim EOL (end-of-line) spaces on source filesSascha Silbe2009-08-251-3/+3
|
* let the logger do the formattingSascha Silbe2009-08-241-1/+1
|
* Fix uninstallling of activities that use symlinks #171Simon Schampijer2009-01-051-1/+5
|
* Mark modules as STABLE/UNSTABLE/DEPRECATED.Marco Pesenti Gritti2008-10-281-1/+4
|
* Turn bundle into a new style classMarco Pesenti Gritti2008-10-201-1/+1
|
* Trac #8674: sanity-check bundle root; don't delete install_root on failure.C. Scott Ananian2008-09-281-1/+5
| | | | | | | | | The software updater was deleting ~/Activities when it encountered a bad bundle. Two separate issues: we didn't sanity check the bundle root to ensure it wasn't '.' or '..' or something crazy like that, and our "clean up on failure" code was deleting the install_root instead of the activity root (!). This was a regression introduced by the fix for #7733 in commit db2d1c42e2481d6dbc15405840ac23e46eab7318 (0.82.2).
* Trac #7733: fix severe performance regression when creating ActivityBundle.C. Scott Ananian2008-08-191-18/+19
|
* 7205: bundlebuilder accepts old "dist" cmd, checks for po dirchema2008-07-191-1/+12
|
* Patch by Jameson Chema Quinn.Marco Pesenti Gritti2008-06-131-3/+22
| | | | | | | Readability cleanups and little fixes by me. use MANIFEST. Deprecate bundle_name. fix_manifest(). bundlebuilder.config() cleanup.
* Use a src directory consistently with base and shell.Marco Pesenti Gritti2008-04-291-0/+157