[Bugs] #2065 UNSP: Upgrading bundles does not cleanup old files

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Jul 5 17:05:30 EDT 2010


#2065: Upgrading bundles does not cleanup old files
------------------------------------------+---------------------------------
    Reporter:  bernie                     |          Owner:  tch                        
        Type:  defect                     |         Status:  assigned                   
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Git as of bugdate          
    Severity:  Unspecified                |       Keywords:  sugar-love                 
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by tch):

 Looking at jarabe,model.bundleregistry #407 upgrade method. The code logic
 seems to be deleting the old files.

 The only scenario where i could find where the old files are not deleted,
 was when trying to delete system activities.

 In fact, I tried this, on my jhbuild devel environent:

 1. mv $SUGAR_JHBUILD_PATH/install/share/sugar/activities/Terminal.activity
 ~/Activities
 2. vim ~/Activities/Terminal.activity/iwashere.probes
 3. make sure the file is really there
 4. Started sugar on jhbuild and upgraded
 5. Checked again for iwashere.probes.. and it was gone...

 So, it actually deletes the older files, except when they are systems
 activities.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2065#comment:4>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list