tools/gnulib: use git archive as download source
authorMichael Pratt <mcpratt@pm.me>
Tue, 8 Jul 2025 18:57:58 +0000 (14:57 -0400)
committerRobert Marko <robimarko@gmail.com>
Sat, 26 Jul 2025 12:38:08 +0000 (14:38 +0200)
commit222a1bed794c83298ae6e7dfddbe0eed7dcab0fc
tree3382c31029cd35ad297cc7f6e0fdb4aafb7eb22f
parent685fc753a7fd0e87cf61204620348ec0b40ba426
tools/gnulib: use git archive as download source

Snapshot downloads, whether from GNU cgit or GNU gitweb,
are becoming more unreliable and unstable.
Use the GNU gnulib git repository server for downloads
because GNU has disabled cgit server snapshots due to performance issues.

Other possible options include GNU gitweb snapshot or a git bundle download
but these methods either may also have similar performance issues
or require additions to the build system to handle the method
beyond the previous commit.

In case snapshots are to be used again for build tools in the future,
the previous commit reduces the tarball generation attempts
for the original source of snapshots in order to reduce server impact.

A conversation regarding server performance issues and alternatives is linked.

Link: https://lists.gnu.org/archive/html/bug-gnulib/2024-12/msg00124.html
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/16522
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/gnulib/Makefile