New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12629 (new enhancement)

Opened 6 years ago

Last modified 3 months ago

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: egall@…
Port:

Description

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

Attachments

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

Change History

Changed 6 years ago by afb@…

macports-remotetime.patch

comment:1 Changed 6 years ago by afb@…

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

comment:2 Changed 6 years ago by afb@…

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

comment:3 Changed 5 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 5 years ago by afb@…

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

comment:5 Changed 5 years ago by afb@…

Added as fetch.remote_time option in r36905

comment:6 Changed 3 months ago by egall@…

  • Cc egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.