Skip to content

Conversation

@ynezz
Copy link
Member

@ynezz ynezz commented Jan 10, 2026

phase2: add support for overriding feeds host

Port the feeds_host_override functionality from phase1 to phase2,
allowing phase2 builds to use alternate feed hosts.

phase1: simplify feeds host override with SDK cleanup

Write to feeds.conf instead of modifying feeds.conf.default in place as
the feeds update checks feeds.conf first, so no backup/restore dance
is needed.

Fixes: 057e8ad ("phase1: add support for overriding feeds host")

phase1: apply feeds_host_override to main repository URL

When feeds_host_override is configured, also apply it to the main
OpenWrt repository URL (repo_url). This fixes git fetch 503 errors
when git.openwrt.org is overloaded by redirecting to GitHub mirror.

  git fetch -f -t https://git.openwrt.org/openwrt/openwrt.git main --progress
  error: RPC failed; HTTP 503 curl 22 The requested URL returned error: 503
  fatal: the remote end hung up unexpectedly

@ynezz ynezz force-pushed the ynezz/feeds-hosts-override branch from be71dce to 31e1f60 Compare January 11, 2026 08:58
@ynezz ynezz changed the title phase1: apply feeds_host_override to main repository URL phase1,phase2: add feeds host override support and fix Docker deprecation warnings Jan 11, 2026
@ynezz ynezz force-pushed the ynezz/feeds-hosts-override branch from 0cead8d to c98b43b Compare January 11, 2026 14:44
@ynezz ynezz changed the title phase1,phase2: add feeds host override support and fix Docker deprecation warnings phase1,phase2: add feeds host override support Jan 11, 2026
@ynezz ynezz force-pushed the ynezz/feeds-hosts-override branch from c98b43b to 4f5c864 Compare January 11, 2026 17:09
ynezz added 3 commits January 12, 2026 22:27
When feeds_host_override is configured, also apply it to the main
OpenWrt repository URL (repo_url). This fixes git fetch 503 errors
when git.openwrt.org is overloaded by redirecting to GitHub mirror.

  git fetch -f -t https://git.openwrt.org/openwrt/openwrt.git main --progress
  error: RPC failed; HTTP 503 curl 22 The requested URL returned error: 503
  fatal: the remote end hung up unexpectedly

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Write to feeds.conf instead of modifying feeds.conf.default in place as
the `feeds update` checks feeds.conf first, so no backup/restore dance
is needed.

Fixes: 057e8ad ("phase1: add support for overriding feeds host")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Port the feeds_host_override functionality from phase1 to phase2,
allowing phase2 builds to use alternate feed hosts.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
@ynezz ynezz force-pushed the ynezz/feeds-hosts-override branch from 4f5c864 to f2c82f2 Compare January 12, 2026 21:34
@openwrt-bot openwrt-bot merged commit f2c82f2 into openwrt:main Jan 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants