Bug 245055 - Mk/bsd.sites.mk: cloud.github.com down (deprecated?)
Summary: Mk/bsd.sites.mk: cloud.github.com down (deprecated?)
Status: Closed DUPLICATE of bug 242268
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-25 16:21 UTC by John Hein
Modified: 2021-06-11 13:42 UTC (History)
2 users (show)

See Also:


Attachments
[patch] update SITE_GITHUB_CLOUD (cloud.github.com down) (657 bytes, patch)
2020-03-25 16:21 UTC, John Hein
jcfyecrayz: maintainer-approval? (portmgr)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Hein 2020-03-25 16:21:07 UTC
Created attachment 212702 [details]
[patch] update SITE_GITHUB_CLOUD (cloud.github.com down)

Today it seems cloud.github.com is not available:

% host -t any cloud.github.com
cloud.github.com is an alias for d24z2fz21y4fag.cloudfront.net.
% host -t any d24z2fz21y4fag.cloudfront.net.
d24z2fz21y4fag.cloudfront.net has no ANY record

Any port that has GHC for the master site is failing to fetch.

There is some anecdotal evidence that it is deprecated:

https://github.com/square/PonyDebugger/issues/205

However, I did not find an authoritative statement of that.

Nonetheless, github.com seems to work instead:
Comment 1 John Hein 2020-03-25 18:13:53 UTC
Maybe MASTER_SITE_GITHUB_CLOUD should be renamed to MASTER_SITE_GITHUB_DOWNLOADS.

"downloads" is an official name of a class of files described by the github REST API, so that name seems more fitting.

Example:

% curl 'https://api.github.com/repos/sodabrew/libsieve/downloads' | g _url
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1237  100  1237    0     0   2593      0 --:--:-- --:--:-- --:--:--  2593
    "html_url": "https://github.com/downloads/sodabrew/libsieve/libsieve-2.3.1.tar.gz",
    "html_url": "https://github.com/downloads/sodabrew/libsieve/libsieve-2.3.0.tar.gz",
    "html_url": "https://github.com/downloads/sodabrew/libsieve/libsieve-2.2.9.tar.gz",
Comment 2 Charlie Li freebsd_committer freebsd_triage 2021-06-11 13:42:24 UTC

*** This bug has been marked as a duplicate of bug 242268 ***