[Trac #563] Automatically update the bundle registry

Zarro Boogs per Child bugtracker at laptop.org
Mon Dec 11 20:04:24 EST 2006


#563: Automatically update the bundle registry
------------------------+---------------------------------------------------
 Reporter:  marco       |        Owner:  dcbw   
     Type:  defect      |       Status:  new    
 Priority:  normal      |    Milestone:  BTest-2
Component:  sugar       |   Resolution:         
 Keywords:  sugar-love  |  
------------------------+---------------------------------------------------
Comment (by marco):

 <cjb> Some kind of "if we're already awake, go ahead and check" thing
 might work, but I'm having trouble imagining how that would work.  :)
 <cjb> The idea is that we sleep whenever we don't have input to respond to
 and aren't in the middle of something, and wake up again when we get input
 or an alarm.
 <marcopg> cjb, that seem to work ok for this case though. If there is no
 input, it's unlikely that you care about having the list of activities
 updated...
 <cjb> marcopg: your poll could act as an alarm that wakes up the system.
 <marcopg> cjb, oh I see, sort of challenging from an implementation point
 of view yeah
 <marcopg> mm I don't think it's worth it probably, some mechanism to
 signal sugar to update the registry should work well enough
 <marcopg> normally activities will be installed from the UI anyway, so we
 can signal sugar transparently
 <cjb> Yeah.  Whqt you're suggesting might end up working, but I think we
 should wait until we have sleep working and can see whether it does work,
 before we play with adding polls.

-- 
Ticket URL: <http://dev.laptop.org/ticket/563#comment:3>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list