Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorAnish Mangal <anish@sugarlabs.org>2011-01-11 01:36:03 (GMT)
committer Anish Mangal <anish@activitycentral.com>2012-02-01 12:33:31 (GMT)
commit6261d3339a9913692fe565dc7886b43a3dc1c5ed (patch)
tree8ffdda84b590fa4305c9a4294135f30e1e84cd1d /data
parent9f255ae89bba9adbeac0815066e679efa4ccd928 (diff)
Replace activity updater with microformat compatible one
This patch replaces the Sugar activity updater with one, that supports activity microformats. + The updater now allows installation of new activities which were not previously installed. + The updater uses the optional olpc-activity-name and olpc-activity-size tags. - If olpc-activity-name is not present, the activity name is derived from the bundle id. For example, org.Sugarlabs.RecordActivity will be listed as Record. - If olpc-activity-size is not present, an additional http request is made to ascertain the size of the bundle. + If the size returned as zero, the bundle is removed from the list of those which may be updated. + To install new bundles, a metabundle class has been created, which acts as an empty structure. Co-Authored by Anish Mangal <anish@sugarlabs.org> Co-Authored by Akash Gangil <akashg1611@gmail.com> Signed-off-by: Anish Mangal <anish@sugarlabs.org>
Diffstat (limited to 'data')
-rw-r--r--data/sugar.schemas.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/data/sugar.schemas.in b/data/sugar.schemas.in
index 6c0d70b..4c17ff0 100644
--- a/data/sugar.schemas.in
+++ b/data/sugar.schemas.in
@@ -117,6 +117,18 @@
</schema>
<schema>
+ <key>/schemas/desktop/sugar/updater_url</key>
+ <applyto>/desktop/sugar/updater_url</applyto>
+ <owner>sugar</owner>
+ <type>string</type>
+ <default>http://activities-testing.sugarlabs.org/services/micro-format.php?collection_nickname=fructose</default>
+ <locale name="C">
+ <short>Activity updater URL.</short>
+ <long>This key contains the url which the microformat compatible activity updater will search for activity updates.</long>
+ </locale>
+ </schema>
+
+ <schema>
<key>/schemas/desktop/sugar/backup_url</key>
<applyto>/desktop/sugar/backup_url</applyto>
<owner>sugar</owner>