#44894: base: improve livecheck.type moddate --------------------------+-------------------------------- Reporter: pixilla@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.1 Resolution: | Keywords: haspatch Port: | --------------------------+-------------------------------- Description changed by pixilla@…: Old description:
Currently livecheck.type moddate uses the Portfiles mtime for comparison to remotes mtime.
It would be useful to allow control of the comparison time. Attached is a patch to portlivecheck.tcl which enhances the mod date proc to allow setting the comparison time, defaulting to current behavior.
There is also a new function "getmoddate" added to curl.c and a new livecheck.type option "moddate2" in portlivecheck.tcl which uses getmoddate to provide a more informative ui_msg.
The moddate2 option is added for easy comparison, not to add another option. I am proposing replacing the use of isnewer with getmoddate.
New description: Currently livecheck.type moddate uses the Portfiles mtime for comparison to remotes mtime. It would be useful to allow control of the comparison time. Attached is a patch to portlivecheck.tcl which enhances the livecheck.type moddate option to allow setting the comparison time, defaulting to current behavior. There is also a new function "getmoddate" added to curl.c and a new livecheck.type option "moddate2" in portlivecheck.tcl which uses getmoddate to provide a more informative ui_msg. The moddate2 option is added for easy comparison, not to add another option. I am proposing replacing the use of isnewer with getmoddate. -- -- Ticket URL: <https://trac.macports.org/ticket/44894#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X