[tz] Estimate for a new tzdb release with Brazil rules.

Brian Inglis Brian.Inglis at SystematicSw.ab.ca
Fri May 17 12:11:17 UTC 2019


On 2019-05-16 04:55, Robert Elz wrote:
>     Date:        Wed, 15 May 2019 13:52:15 -0700
>     From:        Paul Eggert <eggert at cs.ucla.edu>
>     Message-ID:  <342b30cb-efa9-82cc-7cd9-81d67d528387 at cs.ucla.edu>
> 
>   | I'm sure Robert could do that, but I assume he doesn't want to bother.
> 
> That's right - I have something of an aversion to git.
> (And for Chris, no, it is not just not in my path, it is
> not installed, and is not going to be.)
> 
>   | I don't know which version-control system he used (if any) when he
>   | maintained tzdata (2011l through 2012c).
> 
> "maintained" is a stretch, I was just acting as temporary caretaker.
> 
> RCS (I still have those files if they're of any use).   There's no real
> need for anything distributed, it was, and still is, maintained by one
> person.   All use of a DVCS is giving you is a way to avoid making
> releases as many people can simply fetch it that way.

You can download github automatic archives and tz versioned archives with curl
or wget, as below: wget returns exit codes on problems.
The automatic archives have different bits of git hashes appended to both tar
file names and tarred directory names, whereas the versioned archives have only
tz versions in both tar file names and tarred directory names.

# curl save with remote name from github api owner repo type ref
$ curl -sSLOJR https://api.github.com/repos/eggert/tz/tarball/2019a
$ echo $?
0
$ ls -glo eggert-tz-2019a*.tar.gz
-rw-r--r-- 1 515408 May 17 03:31 eggert-tz-2019a-0-g14c7338.tar.gz
$ tar -tf eggert-tz-2019a*.tar.gz | wc
     56      56    1595

# wget save with remote name from github api owner repo type ref
$ wget -nv -N -P /tmp/wget/ --content-disposition --trust-server-names \
		https://api.github.com/repos/eggert/tz/tarball/2019a
Last-modified header missing -- time-stamps turned off.
2019-05-17 03:31:56
URL:https://codeload.github.com/eggert/tz/legacy.tar.gz/2019a [515408/515408] ->
"/tmp/wget/eggert-tz-2019a-0-g14c7338.tar.gz" [1]
$ echo $?
0
$ ls -glo /tmp/wget/eggert-tz-2019a*.tar.gz
-rw-r--r-- 1 515408 May 17 03:31 /tmp/wget/eggert-tz-2019a-0-g14c7338.tar.gz
$ tar -tf /tmp/wget/eggert-tz-2019a*.tar.gz | wc
     56      56    1595
$ tar -tf /tmp/wget/eggert-tz-2019a*.tar.gz | head
eggert-tz-1e06373/
eggert-tz-1e06373/.gitignore
eggert-tz-1e06373/CONTRIBUTING
eggert-tz-1e06373/LICENSE
eggert-tz-1e06373/Makefile
eggert-tz-1e06373/NEWS
eggert-tz-1e06373/README
eggert-tz-1e06373/africa
eggert-tz-1e06373/antarctica
eggert-tz-1e06373/asctime.c

# wget gives exit code 8 on 404
$ wget -nv -N -P /tmp/wget/ --content-disposition --trust-server-names \
		https://api.github.com/repos/eggert/tz/tarball/2019z
https://codeload.github.com/eggert/tz/legacy.tar.gz/2019z:
2019-05-17 03:31:57 ERROR 404: Not Found.
$ echo $?
8

# wget save from versioned archive
$ wget -nv -N -P /tmp/wget/ https://github.com/eggert/tz/archive/2019a.tar.gz
Last-modified header missing -- time-stamps turned off.
2019-05-17 03:31:59 URL:https://codeload.github.com/eggert/tz/tar.gz/2019a
[515298/515298] -> "/tmp/wget/2019a.tar.gz" [1]
$ echo $?
0
$ ls -glo /tmp/wget/2019a.tar.gz
-rw-r--r-- 1 515298 May 17 03:31 /tmp/wget/2019a.tar.gz
$ tar -tf /tmp/wget/2019a.tar.gz | wc
     56      56    1091
$ tar -tf /tmp/wget/2019a.tar.gz | head
tz-2019a/
tz-2019a/.gitignore
tz-2019a/CONTRIBUTING
tz-2019a/LICENSE
tz-2019a/Makefile
tz-2019a/NEWS
tz-2019a/README
tz-2019a/africa
tz-2019a/antarctica
tz-2019a/asctime.c

# wget gives exit code 8 on 404
$ wget -nv -N -P /tmp/wget/ https://github.com/eggert/tz/archive/2019z.tar.gz
https://codeload.github.com/eggert/tz/tar.gz/2019z:
2019-05-17 03:32:00 ERROR 404: Not Found.
$ echo $?
8

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.


More information about the tz mailing list