[Sugar-devel] [Dextrose] [PATCH 50/54] updater: Only pre-select already installed activities (fixes SL#2822, AU#383)

Jerry Vonau jvonau at shaw.ca
Mon Nov 21 22:33:15 EST 2011


On Mon, 2011-11-21 at 21:58 -0500, Walter Bender wrote:
> On Mon, Nov 21, 2011 at 8:10 PM, Bernie Innocenti <bernie at sugarlabs.org> wrote:
> > On Mon, 2011-11-21 at 17:42 -0600, Jerry Vonau wrote:
> >> On Tue, 2011-11-08 at 23:17 +0530, Anish Mangal wrote:
> >> > From: Ajay Garg <ajaygargnsit at gmail.com>
> >> >
> >> > OLPC AU uses the software updater to offer easy installing of optional
> >> > activities. For this to work properly new activities must not be selected by
> >> > default.
> >> >
> >> > Signed-off-by: Ajay Garg <ajay at sugarlabs.org>
> >> > [adjusted description, split off unrelated bug fixes, set default value]
> >> > Signed-off-by: Sascha Silbe <silbe at activitycentral.com>
> >> > Signed-off-by: Anish Mangal <anish at sugarlabs.org>
> >> > ---
> >>
> >>
> >> Think this should become a feature for sugar 0.96.
> >
> > Very good. Puno (Peru) also needs the ability to install activities from
> > USB stick because most schools have no connectivity and no school
> > servers.
> >
> > I think it could be hacked together quickly with the current updater. Do
> > we already have some "standard" for distributing activities on USB
> > sticks? If not, I propose a directory Activities containing the xo
> > bundles.
> >
> > PS: the engineer from Puno sitting next to me says: "it's urgent!" :)
> >
> > --
> > Bernie Innocenti
> > Sugar Labs Infrastructure Team
> > http://wiki.sugarlabs.org/go/Infrastructure_Team
> >
> >
> > _______________________________________________
> > Dextrose mailing list
> > Dextrose at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/dextrose
> >
> 
> We have had the customization mechanism available for about 3 years
> now. And single click install from USB also works. But I suppose you
> want something that runs from the CP update mechanism? No reason why
> not, I suppose. But why put the .xo bundles in a subdirectory?
> 
> -walter
> 

Where you referring to the customization_stick?[1]. If so that is
broken, the MIME types don't get set properly with just an unzip. That
is why os-builder move to using sugar-install-bundle in place of
unzipping.

This is more for the online updater. If you remove an activity, lets say
WikipediaES that is listed on the wiki page[2] from the XO, it will be
selected to be installed by default when you run software updater. The
updater should not tick off the box for something that is not already
installed, but leave the box un-ticked. 

Jerry

1. http://wiki.laptop.org/go/Customization_stick
2. http://wiki.laptop.org/go/Activities/G1G1/11.2




More information about the Sugar-devel mailing list