get-linux-source: always do git fetch#178
Conversation
Recently proof-of-work proxy was rolled out for git.kernel.org, which prevents wget of the bpf-next snapshots. This lead to failures of get-linux-source action: * https://github.com/kernel-patches/vmtest/actions/runs/14313967784/job/40115985369 * https://github.com/libbpf/libbpf/actions/runs/14316467048/job/40123652831 Simplify the download script to always run git init + git fetch sequence. [1] https://social.kernel.org/notice/AsgziNL6zgmdbta3lY Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
|
Tesed on kernel-patches/vmtest https://github.com/kernel-patches/vmtest/actions/runs/14322033825 |
|
@theihor the root cause here actually seems to be the good manner of setting the user agent to I'm asking in the announcement whether there's a better approach. |
|
The suggestion is to use |
|
@shunghsiyu Hi, thank you for the tip. |
|
@theihor Konstantin (kernel.org admin at that time) did have a preference for snapshot downloading, it's probably causing much less load on their servers. I forwarded you some emails we exchanged a while ago for some context. So yes, snapshots are preferred. |
Thanks, I wasn't aware. I find it strange to trigger proof-of-work challenge on "bot" string in the user-agent though. |
Recently proof-of-work proxy was rolled out for git.kernel.org, which prevents wget of the bpf-next snapshots.
This lead to failures of get-linux-source action:
Simplify the download script to always run git init + git fetch sequence.
[1] https://social.kernel.org/notice/AsgziNL6zgmdbta3lY