Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2015 10:00:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 194898] [bsd.sites.mk] Change GitHub URL to comply with their API
Message-ID:  <bug-194898-13-V3si90cRXt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194898-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194898-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194898

--- Comment #4 from yuri@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194898-13-V3si90cRXt>