#7534 NORM 8.2.0 (: Safer to always install, rather than comparing versions

Zarro Boogs per Child bugtracker at laptop.org
Wed Jul 16 14:57:06 EDT 2008


#7534: Safer to always install, rather than comparing versions
--------------------------+-------------------------------------------------
 Reporter:  homunq        |         Owner:                      
     Type:  defect        |        Status:  new                 
 Priority:  normal        |     Milestone:  8.2.0 (was Update.2)
Component:  not assigned  |       Version:  not specified       
 Keywords:                |   Next_action:  never set           
 Verified:  0             |     Blockedby:                      
 Blocking:                |  
--------------------------+-------------------------------------------------
 currently, in activitybundle.py, when you "run" an xo file (that is,
 request install:

   if act is None or act.version != self._activity_version:

 In other words, it installs if never installed, and reinstalls if it's a
 new version. If it is the same version, it silently fails. This
 "optimization" will be relevant very few times, and it will bite users of
 Develop, causing them to have to churn versions to debug their changes. It
 also just seems wrong to silently fail without checking for equality
 beyond version number.

-- 
Ticket URL: <http://dev.laptop.org/ticket/7534>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list