23 Mar
2020
23 Mar
'20
20:00
On Sat, 21 Mar 2020 13:46:30 +0100 Christian Boltz
% curl https://gcc.opensuse.org/gcc-old/last_synced 2020-03-20T00:14:41+0100
(i.e. you could directly pass this into 'date --date=$abovestring +%s' to calculate seconds difference to a reference seconds-since-epoch; should not be more than 36 hours normally)
Luckily we had such kind of tests already for the release-notes and mirrors.opensuse.org pages :-) => done.
More boring idea - maybe just check the file timestamp, like we already do for logfiles (and warn if they are older than x hours)?
Never trust a time stamp given by a web server ;-) Regards, Lars -- To unsubscribe, e-mail: heroes+unsubscribe@opensuse.org To contact the owner, e-mail: heroes+owner@opensuse.org