[Bug 194898] [bsd.sites.mk] Change GitHub URL to comply with their API

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 26 10:00:18 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194898

--- Comment #4 from yuri at rawbw.com ---
Actually, here is the GitHub documentation the URL in patch is based on (this
GitHub guy provided it):
https://developer.github.com/v3/repos/contents/#get-archive-link

The only part missing there is 'dummy=' part. This might be some undocumented
URL convention, but it definitely works for github.

He actually answered all questions in his previous message:
The status of the URLs currently used: undocumented.

> In the future, if we change the codeload service, those codeload
> URLs you're using directly might stop working, and you'd be in
> trouble. However, if you're using the official API endpoint -- you
> could always count on being redirected to a working codeload URL.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list