Opened 10 years ago

Last modified 7 years ago

#44789 assigned enhancement

Remove .html files from distfiles mirrors

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: admin@…
Priority: Normal Milestone:
Component: server/hosting Version:
Keywords: Cc:
Port:

Description

When a port fails to fetch because the upstream server delivered an HTML file instead of the real file, MacPorts helpfully renames the distfile to end with .html and prints a message advising the user to look at this file. But these files are not needed or wanted on the distfiles mirrors and should be removed. Perhaps a nightly task could do this. This directory contains an example of such a file:

http://distfiles.macports.org/openmpi-devel/

This is a similar request to #18952, which five years later still needs to be implemented. Both requests should be simple to implement with a one-line invocation of the find command.

Change History (2)

comment:1 Changed 8 years ago by mojca (Mojca Miklavec)

Owner: changed from skarulkar@… to admin@…
Status: newassigned

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

I've done a one-time removal of unwanted .html files from the distfiles server. Once mirroring is set up again (#53347) we should make sure that we don't preserve unwanted .html files (while preserving wanted .html files).

Note: See TracTickets for help on using tickets.