Development Team/Almanac/Activity Bundles: Difference between revisions
No edit summary |
|||
| Line 33: | Line 33: | ||
Web.activity/ | Web.activity/ | ||
MANIFEST (list of bundle contents) | |||
activity/ | activity/ | ||
activity.info (activity info file) | activity.info (activity info file) | ||
| Line 39: | Line 40: | ||
text-plain.svg (icons for documents, e.g. "text-plain.svg" for "text/plain") | text-plain.svg (icons for documents, e.g. "text-plain.svg" for "text/plain") | ||
text-html.svg | text-html.svg | ||
contents (manifest for bundle contents) | contents (manifest for bundle contents -- not supported by Sugar) | ||
contents.sig (credentials for signed bundle) | contents.sig (credentials for signed bundle -- not supported by Sugar) | ||
permissions.info (optional; '''not a stable API''') | permissions.info (optional; '''not a stable API''') | ||
bin/ | bin/ | ||
| Line 53: | Line 54: | ||
icons/ | icons/ | ||
; activity | ;MANIFEST | ||
All metadata about the activity is organized in this subdirectory. The <code>contents</code> and <code>contents.sig</code> are manifest and credential files for the entire bundle contents (excepting the <code>contents</code> and <code>contents.sig</code> files themselves), as described by the [[olpc:Contents manifest specification]]. The optional <code>mimetypes.xml</code> file is a [http://freedesktop.org/wiki/Specifications/shared-mime-info-spec freedesktop.org MIME type file] describing how to recognize the MIME types defined by the activity. SVG icons for those MIME types can be put in this directory as well. | |||
This optional file lists the files that will packaged in the .xo file. If missing, all files in the Activity directory which do not match a default ignore list are packaged. The default ignore list includes the dist and .git subdirectories, and the .gitignore, MANIFEST, *.pyc, *~, *.bak, pseudo.po files. | |||
;activity | |||
All metadata about the activity is organized in this subdirectory. The <code>contents</code> and <code>contents.sig</code> are manifest and credential files for the entire bundle contents (excepting the <code>contents</code> and <code>contents.sig</code> files themselves), as described by the [[olpc:Contents manifest specification]]; these files are not supported by current versions of Sugar. The optional <code>mimetypes.xml</code> file is a [http://freedesktop.org/wiki/Specifications/shared-mime-info-spec freedesktop.org MIME type file] describing how to recognize the MIME types defined by the activity. SVG icons for those MIME types can be put in this directory as well. | |||
;bin | ;bin | ||