> On Feb 5, 2015, at 3:51 PM, Jeremy Lavergne <[email protected]> 
> wrote:
>> The registry is transactional, the file system is not.
> 
> Is MacPorts able to make use of rev-upgrade spotting missing files if it
> marked a file activated prior to writing it?
> 
> Or would an intermediate status for a file be more helpful?

Are you thinking something like:

- get list of files to be activated and populate the registry
- start to actually activate the files
- update the registry stating that activate finished

with the ability to either auto-detect and attempt to rollback a non-completed 
activate (maybe on the next run) and/or a 'port cleanup_interupted_acctivate' 
command?


--
Daniel J. Luke                                                                  
 
+========================================================+                      
  
| *---------------- [email protected] ----------------* |                      
    
| *-------------- http://www.geeklair.net -------------* |                      
    
+========================================================+                      
  
|   Opinions expressed are mine and do not necessarily   |                      
    
|          reflect the opinions of my employer.          |                      
    
+========================================================+



_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to