Re: Bug#969605: snapshot.debian.org: please make it possible to figure out which timestamp one is currently using
Hi Josch,
Currently I use this curl one-liner to resolve an arbitrary date into a real snapshot date, though it's a bit of a hack:
SNAPSHOT_DATE=$(basename $(curl -Ls -o /dev/null -w %{url_effective} http://snapshot.debian.org/archive/debian/$(date -u +%Y%m%dT%H%I00Z)/) )
Is that something you can use?
Cheers,
Luke
--
Dr Luke Mondy, Systems Administrator,
P +61 2 9490 5773 | https://ts.data61.csiro.au
Trustworthy Systems | DATA61 | CSIRO
CSIRO Staff Association Delegate
Hours at CSIRO
Monday: 9:00am to 5pm
Tues, Wed, Fri: 1:30pm to 5pm
Reply to: