[MacPorts] #18273: post-activate code is not run if you call port activate

MacPorts noreply at macports.org
Wed Feb 11 13:40:35 PST 2009


#18273: post-activate code is not run if you call port activate
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  MacPorts Future                      
Component:  base                     |     Version:  1.7.0                                
 Keywords:  registry2.0              |        Port:                                       
-------------------------------------+--------------------------------------
Changes (by raimue@…):

 * cc: raimue@… (added)
  * keywords:  => registry2.0


Comment:

 This is a registry problem as registry1.0 does not store any hooks in the
 receipt. We cannot assure that the Portfile will be still valid or even
 available at the time of running de-/activate.

 I didn't check again, but registry2.0 contains stubs to store pre-/post-
 uninstall hooks, it should do the same for de-/activate.

 The notes issue will be fixed by #421.

-- 
Ticket URL: <http://trac.macports.org/ticket/18273#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list