Skip to content

Conversation

@ynezz
Copy link
Member

@ynezz ynezz commented Dec 12, 2025

Currently git.openwrt.org is sometimes overloaded, so lets implement a mechanism to override the source host for feeds.

This introduces a feeds_host_override configuration option. When set, the buildmaster will temporarily modify feeds.conf.default to point to the alternate host (e.g., GitHub) before updating feeds, and restore the original configuration afterwards.

This is particularly useful when the primary git server is returning 503 errors:

    Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git' ...
    Cloning into './feeds/packages'...
    fatal: unable to access 'https://git.cdn.openwrt.org/feed/packages.git/': The requested URL returned error: 503
    failed.

@ynezz ynezz force-pushed the ynezz/feeds-hosts-override branch from c3a3a61 to b75d7ef Compare December 14, 2025 05:09
Currently git.openwrt.org is sometimes overloaded, so lets implement a
mechanism to override the source host for feeds.

This introduces a `feeds_host_override` configuration option. When set,
the buildmaster will temporarily modify `feeds.conf.default` to point to
the alternate host (e.g., GitHub) before updating feeds, and restore the
original configuration afterwards.

This is particularly useful when the primary git server is returning 503
errors:

    Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git' ...
    Cloning into './feeds/packages'...
    fatal: unable to access 'https://git.openwrt.org/feed/packages.git/': The requested URL returned error: 503
    failed.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
@ynezz ynezz force-pushed the ynezz/feeds-hosts-override branch from b75d7ef to 057e8ad Compare December 14, 2025 05:10
@openwrt-bot openwrt-bot merged commit 057e8ad into openwrt:main Dec 14, 2025
1 check 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