]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
make-dist: download liburing from kernel.io instead of github 53197/head
authorLaura Flores <lflores@ibm.com>
Mon, 28 Aug 2023 22:13:09 +0000 (17:13 -0500)
committerLaura Flores <lflores@ibm.com>
Mon, 28 Aug 2023 22:48:01 +0000 (17:48 -0500)
commit3f7e04d833a96f1bde8b5d2e55bf7ce4747a55ef
treeed767c0841fe5c6a1e73e453ca6bf261170b3d75
parentc1d18c71e7f9f88ffaca666e22a27f9aaaf3ac32
make-dist: download liburing from kernel.io instead of github

Due to a bug with github.com, wget does not reliably download
packages. See https://github.com/orgs/community/discussions/65227

This change is motivated by this error that occurs when trying
to download liburing from github.com on an ubuntu jammy machine:
```
$ wget https://github.com/axboe/liburing/archive/liburing-0.7.tar.gz
--2023-08-28 21:26:02--  https://github.com/axboe/liburing/archive/liburing-0.7.tar.gz
Resolving github.com (github.com)... 140.82.113.3
Connecting to github.com (github.com)|140.82.113.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/axboe/liburing/tar.gz/refs/tags/liburing-0.7 [following]
--2023-08-28 21:26:02--  https://codeload.github.com/axboe/liburing/tar.gz/refs/tags/liburing-0.7
Resolving codeload.github.com (codeload.github.com)... 140.82.112.10
Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2023-08-28 21:26:02 ERROR 403: Forbidden.
```

The same does not happen on centos 8 or fedora.

Downloading from kernel.io works on every distro.

Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 7f109dc612d9590f84a8fe7a047a78c7d621fcab)
make-dist