[Bugs] #43 MAJO: handle installation/uninstall of activities on systems where we use rpms/deps

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Fri Jan 23 05:58:55 EST 2009


#43: handle installation/uninstall of activities on systems where we use
rpms/deps
---------------------+------------------------------------------------------
  Reporter:  erikos  |       Owner:  marcopg
      Type:  defect  |      Status:  new    
  Priority:  major   |   Milestone:         
 Component:  sugar   |     Version:         
Resolution:          |    Keywords:         
---------------------+------------------------------------------------------

Comment(by tomeu):

 Replying to [comment:4 mungewell]:
 > How does the browse activity notify the journal that a activity has
 downloaded? I'm guessing it sends a D.Bus message.

 No, the journal is listening for new entries in the DataStore and, among
 other things, install it if it's a bundle.

 > This could be done by a small script in the POST_INSTALL stage.
 >
 > If the sugar session is not activity at the time the Journal should
 check for new activities on start up. We would want to ensure that the
 remove+install/replace process didn't override a user's choice to
 [un-]favourite an activity.

 I would write a small python script that adds the activity to this json
 file: ~/.sugar/default/favorite_activities

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/43#comment:6>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list