[MacPorts] #21787: port mirror --new pseudoport behaves unexpectedly

MacPorts noreply at macports.org
Wed Jun 16 06:27:01 PDT 2010


#21787: port mirror --new pseudoport behaves unexpectedly
--------------------------------+-------------------------------------------
 Reporter:  dluke@…             |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  base                |     Version:  1.8.1                                
 Keywords:                      |        Port:                                       
--------------------------------+-------------------------------------------
Description changed by dluke@…:

Old description:

> port mirror --new pseudoport deletes the distfiles_mirror.db before
> processing each port in the expanded pseudoport, so the end result is
> simply a distfiles_mirror.db with only the last port from the expanded
> pseudoport.
>
> If it only deleted the file once per run, it would be possible to do:
>
> port mirror --new installed
> portmirror
>
> to delete all of the distfiles that aren't the current ones for installed
> ports...
>
> (as is, one can work around this by doing port mirror --new
> some_installed_port && port mirror installed && portmirror)

New description:

 port mirror --new pseudoport deletes the distfiles_mirror.db before
 processing each port in the expanded pseudoport, so the end result is
 simply a distfiles_mirror.db with only the last port from the expanded
 pseudoport.

 If it only deleted the file once per run, it would be possible to do:

 port mirror --new installed && portmirror

 to delete all of the distfiles that aren't the current ones for installed
 ports...

 (as is, one can work around this by doing port mirror --new
 some_installed_port && port mirror installed && portmirror)

--

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


More information about the macports-tickets mailing list