Opened 17 years ago

Last modified 11 years ago

#12629 new enhancement

RFE: use remote timestamps when fetching

Reported by: afb@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts Future
Component: base Version: 1.6.0
Keywords: Cc: cooljeanius (Eric Gallager)
Port:

Description

It would be useful if fetched distfiles got the remote/original timestamp, instead of today.

Attachments (1)

macports-remotetime.patch (3.6 KB) - added by afb@… 17 years ago.
macports-remotetime.patch

Download all attachments as: .zip

Change History (7)

Changed 17 years ago by afb@…

Attachment: macports-remotetime.patch added

macports-remotetime.patch

comment:1 Changed 17 years ago by afb@…

I've applied the pextlib/curl feature of --remote-time, awaiting some feedback before changing portfetch.tcl...

comment:2 Changed 17 years ago by afb@…

Good thing I waited, too, since --remote-time was broken... But fixed now, in r29332.

comment:3 Changed 16 years ago by afb@…

Nope, it wasn't the header output that was wrong - it was a curl 7.13.1 bug:

http://curl.haxx.se/mail/lib-2005-03/0131.html

So --remote-time was disabled again in r32801 after being enabled in r32722.

comment:4 Changed 16 years ago by afb@…

Workaround for Tiger added in r34418 (and r34422)...

comment:5 Changed 16 years ago by afb@…

Added as fetch.remote_time option in r36905

comment:6 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.