Port Function to Handle OS Upgrades

Scott Haneda talklists at newgeo.com
Fri Oct 23 12:53:51 PDT 2009


Valuable regardless of preparing for an OS upgrade or not.  I would  
see there being times I may want to do any of the below, at any given  
time, for some reason.

Uninstall everything is also a nice one.
-- 
Scott * If you contact me off list replace talklists@ with scott@ *

On Oct 23, 2009, at 12:44 PM, Jeremy Lavergne wrote:

> What are our thoughts on providing a new function to handle  
> preparing for an OS upgrade (or run immediately following)?
>
> This procedure would need to:
> * remove all build directories
> * trash all irrelevant archives
> * dump a list of what is installed (either to be read in by another  
> function or simply catted to port)
> * uninstall everything
>
> We can provide two separate functions, really.  One, to dump the  
> installed and their variants; another to remove all irrelevant files  
> in the tree.
>
> There are many more instances where we can get irrelevant files in  
> the tree, such as upgrades.  Perhaps having this function be  
> abstract enough we can use it in both instances would be to our  
> coding advantage.



More information about the macports-dev mailing list