aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/bzip2/patches
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2021-02-11 10:57:06 +0100
committerPaul Spooren <mail@aparcar.org>2021-06-07 12:44:50 -1000
commit1aa80ce3931736f1020f69f486a815c2b2575d19 (patch)
tree175858e27c4534474ab8c99f44713e1bc5222c6a /package/utils/bzip2/patches
parent902d7e497c3c26c1a7d9c06945746c319866b335 (diff)
downloadupstream-1aa80ce3931736f1020f69f486a815c2b2575d19.tar.gz
upstream-1aa80ce3931736f1020f69f486a815c2b2575d19.tar.bz2
upstream-1aa80ce3931736f1020f69f486a815c2b2575d19.zip
scripts/feeds: generate index after all feeds are updated
This separates index update from feed update. The result is that all requested feeds are first updated and only then indexed. The reason for this change is to prevent errors being reported and potentially invalid index being generated thanks to cross feeds dependency. The feeds script pulls in default all feeds as they come and on install prefers packages from first feeds (unless special feed is requested). Thus order of feeds in some way specifies preferences. This is handy for downstream distributions as they can simply override any package from upstream feeds by placing their feed before them. This removes need to patch or fork upstream feeds. The problem is that such feed most likely depends in some way also on subsequent feeds. The most likely feeds are 'packages' or 'luci'. The example would be Python package that needs 'python.mk' from 'packages' feed. Ordering custom feed after dependent feeds is sometimes just not possible because of preference requirement described before. The solution is to just first pull all feeds and generate indexes only after that. In the end this ensures that index is generated correctly at first try without any error. In terms of code this removes 'perform_update' argument from 'update_feed' as with index update removal the update is the only action performed in that subroutine. Thus this moves condition to 'update' subroutine. Signed-off-by: Karel Kočí <karel.koci@nic.cz>
Diffstat (limited to 'package/utils/bzip2/patches')
0 files changed, 0 insertions, 0 deletions