Re: [Server-devel] pushing activities to XOs

2012-09-06 Thread Daniel Drake
On Wed, Sep 5, 2012 at 9:09 PM, Gonzalo Odiard gonz...@laptop.org wrote:
 Maybe we can prepare a Feature for the next cycle.
 Also, we are shipping a old updater, not integrated with the changes done in
 sugar
 (sugar was changed to support different backends, as ASLO and OLPC,
 but our code does not implement the backend).

Yes. I put my notes (unfinished) here:
http://wiki.sugarlabs.org/go/Features/Automatic_activity_updates

But not planning to continue on this topic at the present time.

Daniel
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] pushing activities to XOs

2012-09-05 Thread Sameer Verma
On Mon, Sep 3, 2012 at 5:02 PM, Jerry Vonau jvo...@shaw.ca wrote:
 On Mon, 2012-09-03 at 14:51 -0700, Sameer Verma wrote:
 Is there a way to push activities (new or upgrades) or activity
 bundles to XOs seamlessly via the XS? Been looking at the
 documentation on the wiki, but no luck as yet...


 http://dev.laptop.org/git/users/dbagnall/xs-activity-server.git/tree/README

 Think sugar-update-control supports looking for
 http://schoolserver/activities by default.

 Jerry




Thanks.

This will push activities to the XS and make these available at
http://schoolserver/activities I was wondering if its possible to
actually *push* the activity from the XS to the XO seamlessly, so if
we wanted to add new activities to the XO, we could push it from the
XS.

By sugar-update-control do you mean the Software Update in the control
Panel (Settings)?

cheers,
Sameer
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] pushing activities to XOs

2012-09-05 Thread Sameer Verma
On Tue, Sep 4, 2012 at 11:47 PM, Sameer Verma sve...@sfsu.edu wrote:
 On Mon, Sep 3, 2012 at 5:02 PM, Jerry Vonau jvo...@shaw.ca wrote:
 On Mon, 2012-09-03 at 14:51 -0700, Sameer Verma wrote:
 Is there a way to push activities (new or upgrades) or activity
 bundles to XOs seamlessly via the XS? Been looking at the
 documentation on the wiki, but no luck as yet...


 http://dev.laptop.org/git/users/dbagnall/xs-activity-server.git/tree/README

 Think sugar-update-control supports looking for
 http://schoolserver/activities by default.

 Jerry




 Thanks.

 This will push activities to the XS and make these available at
 http://schoolserver/activities I was wondering if its possible to
 actually *push* the activity from the XS to the XO seamlessly, so if
 we wanted to add new activities to the XO, we could push it from the
 XS.

 By sugar-update-control do you mean the Software Update in the control
 Panel (Settings)?

Jerry,

I had to manually add http://schoolserver/activities; to the Group
under Software Update in the Control Panel. Then, when I run the
update, it pings the XS and grabs new activities. Is this expected
behavior?
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] pushing activities to XOs

2012-09-05 Thread Daniel Drake
On Wed, Sep 5, 2012 at 9:46 AM, Sameer Verma sve...@sfsu.edu wrote:
 Jerry,

 I had to manually add http://schoolserver/activities; to the Group
 under Software Update in the Control Panel. Then, when I run the
 update, it pings the XS and grabs new activities. Is this expected
 behavior?

Yes. For a deployment you would use olpc-os-builder to preset that address.

And yes, there is a missing link in that this currently must be
user-invoked; theres no fully automated way of pushing activities yet.
I hope to be a part of solving that in a future release cycle.

Daniel
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] pushing activities to XOs

2012-09-05 Thread Jerry Vonau
On Wed, 2012-09-05 at 10:28 -0600, Daniel Drake wrote:
 On Wed, Sep 5, 2012 at 9:46 AM, Sameer Verma sve...@sfsu.edu wrote:
  Jerry,
 
  I had to manually add http://schoolserver/activities; to the Group
  under Software Update in the Control Panel. Then, when I run the
  update, it pings the XS and grabs new activities. Is this expected
  behavior?
 
 Yes. For a deployment you would use olpc-os-builder to preset that address.
 

Think if you use OOB to install system-wide you disable the
auto-detection of schoolserver in sugar-update-control. 

Jerry


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] pushing activities to XOs

2012-09-05 Thread Jerry Vonau
On Wed, 2012-09-05 at 10:28 -0600, Daniel Drake wrote: 
 On Wed, Sep 5, 2012 at 9:46 AM, Sameer Verma sve...@sfsu.edu wrote:
  Jerry,
 
  I had to manually add http://schoolserver/activities; to the Group
  under Software Update in the Control Panel. Then, when I run the
  update, it pings the XS and grabs new activities. Is this expected
  behavior?
 
 Yes. For a deployment you would use olpc-os-builder to preset that address.
 
 And yes, there is a missing link in that this currently must be
 user-invoked; theres no fully automated way of pushing activities yet.
 I hope to be a part of solving that in a future release cycle.
 
 Daniel

Hi All:

I've cc'd other that may have some interest in this and may be able to
chime in on the subject.

I'd prefer to call Software Update in the Control Panel Activity
Updater from OLPC. You're able to call Activity Updater from OLPC
from the cli in a terminal with ./model.py and get a listing but need
something the equivalent to view.py for use from the cli to be useful
for blind installation. 

We've in OLPCAU have been using sugar-client[1] to run yum in the
background, so I've been thinking that we could maybe extend
sugar-client to run Activity Updater in the same way. Think the
additions to sugar-client and sugar-update-control might be of some
interest to those who use sugar-client to push updates to the XO's. 

This is also related to patches[2] sent to the mailing-list altering the
behaviour in that only pre-existing activities would be selected for
updates, here is the use case for improvements suggested. This has
opened up an avenue in which we can offer bundles that are not installed
on the image but can be user installed on demand[3]. This requires a
minor change to OOB to use a different url[4] for the update. We have
deployed this in the field and have received positive feed.

Jerry

1. http://wiki.sugarlabs.org/go/Platform_Team/Server_Kit/sugar-client
2. http://lists.laptop.org/pipermail/devel/2011-December/034022.html
3. https://sugardextrose.org/issues/383
4. http://wiki.laptop.org/go/Activities/OLPCAU/11.3.1/Addons




___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] pushing activities to XOs

2012-09-03 Thread Jerry Vonau
On Mon, 2012-09-03 at 14:51 -0700, Sameer Verma wrote:
 Is there a way to push activities (new or upgrades) or activity
 bundles to XOs seamlessly via the XS? Been looking at the
 documentation on the wiki, but no luck as yet...
 

http://dev.laptop.org/git/users/dbagnall/xs-activity-server.git/tree/README

Think sugar-update-control supports looking for
http://schoolserver/activities by default.

Jerry

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Pushing Activities to XOs

2009-12-22 Thread Frederick Grose
Another possibility might be
http://wiki.laptop.org/go/Multicast_NAND_FLASH_Update#Cloning_the_Sender.27s_NAND
.
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Pushing Activities to XOs

2009-12-22 Thread Reuben K. Caron
Additional detail is that cloning requires security-disabled receivers.

On Dec 22, 2009, at 1:49 PM, Martin Langhoff wrote:

 Yep - with the small detail that it overwrites the nand storage. The
 other options under discussion preserve user data, etc...

 cheers,



 m

 On Tue, Dec 22, 2009 at 7:24 PM, Frederick Grose fgr...@gmail.com  
 wrote:
 Another possibility might
 be 
 http://wiki.laptop.org/go/Multicast_NAND_FLASH_Update#Cloning_the_Sender.27s_NAND
  
 .


 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel





 -- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Pushing Activities to XOs

2009-12-21 Thread Martin Langhoff
On Sun, Dec 20, 2009 at 1:52 PM, Gerald Ardito gerald.ard...@gmail.com wrote:
 I have about 140 XOs connecting to a XS server (version .6).
 Can I push activities to the laptops?

Yes but...

 - it is only easy if you prepared things on your base image for the
XOs beforehand

 - it doesn't 'push' the activities, but a visit to control panel -
software update will trigger the update

On the XS, this is handled by xs-activity-server -- documented in
/usr/share/doc/xs-activity-server/README. The XOs need to know to look
to the XS, this is controlled by a little config file documented in
the wikipage of the software updater.

My recommendation for something effective: put the .xo files on the
XS, link to them with large icons on the Moodle homepage. Our
experience with Uy is that kids learn how to install/upgrade
activities easily... and find it addictive. Only a disk-full will stop
them ;-)

[ The OS/UI design way back then was to make updating the OS
controllable centrally, and to leave activity upgrades as a
user-driven action. I mention this to explain the hysterical raisins,
no justification or judgement on the topic... ]



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Pushing Activities to XOs

2009-12-20 Thread David Leeming
Also, is it now, or will it be, possible to have activities updated
automatically by the server? 

 

I am noting some oddities with software updating and also inconsistencies
with the OLPC and Sugar sites. Some (the C1s) XOs report all well - no need
to update. Some (the B4s) report a long list of updates needed. But they
have exactly the same versions of activities loaded. I go to the OLPC wiki
activities page and the latest version download links are not being updated
by the look of it.

 

Anyway the problem remains, you have 100+ XOs in a school. How do we update
them all short of having an upgrade flash-drive party? 

 

David Leeming

Solomon Islands Rural Link 

http://www.leeming-consulting.com

 

From: server-devel-boun...@lists.laptop.org
[mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Gerald Ardito
Sent: Sunday, 20 December 2009 11:53 p.m.
To: server-devel@lists.laptop.org
Subject: [Server-devel] Pushing Activities to XOs

 

Hello all.

I have about 140 XOs connecting to a XS server (version .6).
Can I push activities to the laptops?
If so, how?

Thanks.
Gerald

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel