#1686 NORM First D: xo activity bundles should be autodetectable by magic
Zarro Boogs per Child
bugtracker at laptop.org
Thu Sep 6 13:20:58 EDT 2007
#1686: xo activity bundles should be autodetectable by magic
---------------------+------------------------------------------------------
Reporter: tomeu | Owner: tomeu
Type: defect | Status: new
Priority: normal | Milestone: First Deployment, V1.0
Component: sugar | Version:
Resolution: | Keywords:
Verified: 0 |
---------------------+------------------------------------------------------
Changes (by danw):
* cc: danw (added)
Comment:
Doing this in exactly the way ODT does would be an incompatible change to
the file format, because it requires the zip file to start with a file
with a known name ("mimetype"), whereas sugar requires all files in a
bundle to be inside a single directory, and it assumes that every bundle
will use a different directory name. So we can't put "mimetype" at the top
level, because that would make the bundle invalid, but we can't put it in
the directory either, because then the magic string "mimetype" wouldn't
occur at a fixed location.
One possibility would be to make sugar more lenient in Trial-3 (eg, allow
files outside the .activity dir, but don't extract them), and then update
the format post-T3 to include the mimetype file (with the understanding
that new activities then wouldn't work on pre-T3 machines).
--
Ticket URL: <https://dev.laptop.org/ticket/1686#comment:3>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list