tar.bz2 archives no longer available from hg?
Categories
(Developer Services :: Mercurial: hg.mozilla.org, defect)
Tracking
(Not tracked)
People
(Reporter: mozilla-bugzilla, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.2 Safari/605.1.15
Steps to reproduce:
Actual results:
HTTP/1.1 403 Archive type not allowed: bz2
Server: Apache
Content-Type: text/html; charset=UTF-8
Content-Security-Policy: default-src 'none'; connect-src 'self' https://bugzilla.mozilla.org/; img-src 'self'; script-src https://hg.mozilla.org/static/ 'nonce-TEnJkEVSTHy1dChDl9V0Zg'; style-src 'self' 'unsafe-inline'; upgrade-insecure-requests; frame-ancestors https:
Strict-Transport-Security: max-age=31536000
Date: Sun, 17 Nov 2019 12:17:37 GMT
Transfer-Encoding: chunked
Access-Control-Allow-Origin: *
X-Content-Type-Options: nosniff
Connection: Keep-Alive
Expected results:
Successful http status code.
It used to be possible (I know it still worked on June 6, 2019) to download tar.bz2 archives from hg but this appears no longer to be possible. Was this change intentional? It is still possible to download zip archives, but these are larger and therefore less desirable.
I am specifically interested in the best (most up to date and smallest) way to download certdata.txt periodically, and this is the method I have been using so far. If there is a better way, please let me know.
Was this change intentional?
Yes - generating the archives was placing significant load on the servers resulting in some outages; all options other than zip have been disabled (see bug 1596135).
As you're downloading a single file it's probably easiest to download it directly (https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt) with Accept-Encoding: gzip; this is about 250kb over the wire, with very minimal impact on the server. While this is larger than .tar.bz2 the delta is only about 65kb.
Description
•