Opened 15 years ago

Closed 9 years ago

#21787 closed defect (fixed)

port mirror --new pseudoport behaves unexpectedly

Reported by: danielluke (Daniel J. Luke) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.8.1
Keywords: Cc:
Port:

Description (last modified by danielluke (Daniel J. Luke))

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)

Change History (2)

comment:1 Changed 14 years ago by danielluke (Daniel J. Luke)

Description: modified (diff)

comment:2 Changed 9 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.