Adding Debian, Ubuntu, OpenSUSE, RHEL, CentOS kernels to WireGuard CI: Seeking URLs
georg at riseup.net
Fri May 22 14:43:44 CEST 2020
Regarding the Debian-side of things:
On 20-05-22 02:04:58, Jason A. Donenfeld wrote:
> I'd like to put these on build.wireguard.com to mitigate breakage. In
> order to make this happen, I'll need two things:
> - A URL I can scape that will give me the latest kernel versions for
> relevant distros.
Versions are available via , the 'f' param returns json output.
API docs are available via .
> - A URL I can construct using a selected version to download a boring
> kernel source tarball.
> I would prefer to not involve git, if possible, and for these URLs to
> point to the sources for actual kernels that are shipping as the
> standard latest-kernel for each of the above releases.
One way to get the source tarball, without relying on git, is using
, specifically . To construct the URL to fetch the source tarball
from, one would need to concatenate:
https://snapshot.debian.org/archive/debian/ + $first_seen + $path + $name
An example URL would look like .
I'm not sure if there are API docs available.
Hope this helps,
More information about the WireGuard