<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/thess/scripts/feeds, branch master</title>
<subtitle>Ted Hess staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/thess/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/thess/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/'/>
<updated>2021-06-07T22:44:50Z</updated>
<entry>
<title>scripts/feeds: generate index after all feeds are updated</title>
<updated>2021-06-07T22:44:50Z</updated>
<author>
<name>Karel Kočí</name>
</author>
<published>2021-02-11T09:57:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=1aa80ce3931736f1020f69f486a815c2b2575d19'/>
<id>urn:sha1:1aa80ce3931736f1020f69f486a815c2b2575d19</id>
<content type='text'>
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čí &lt;karel.koci@nic.cz&gt;
</content>
</entry>
<entry>
<title>scripts/feed: no warn on toolchain/linux overwrite</title>
<updated>2021-01-07T00:04:34Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-12-27T21:26:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=a323a653f0338474ce9f2044574d2adc67d527d7'/>
<id>urn:sha1:a323a653f0338474ce9f2044574d2adc67d527d7</id>
<content type='text'>
The recent 7f285d "scripts/feeds: warn when skipping core package
override" floods SDK output with warning of overwriting "linux" and
"toolchain" core packages. This should be ignored as these are not
regular packages added via feeds.

While at it slightly improve the warning string.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>scripts/feeds: fix preference of package install</title>
<updated>2020-12-10T09:25:05Z</updated>
<author>
<name>Karel Kočí</name>
</author>
<published>2019-12-10T12:04:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=a3e5b24d430a752caebf513aaacce707204b5def'/>
<id>urn:sha1:a3e5b24d430a752caebf513aaacce707204b5def</id>
<content type='text'>
The previous behavior prefered same feed for dependent packages as
initial package. This caused inconsitency in installation of packages.
The difference was if two feeds provide same package (different version)
there was different result if you executed install for that specific
version compared to install for package depending on it from different
feed.

This ensures that preferred feed is propagated without change and
selected feed is used only really for package it was selected for.

Signed-off-by: Karel Kočí &lt;karel.koci@nic.cz&gt;
</content>
</entry>
<entry>
<title>scripts/feeds: warn when skipping core package override</title>
<updated>2020-12-09T21:30:07Z</updated>
<author>
<name>Brian Norris</name>
</author>
<published>2020-07-04T02:51:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=7f285d0b436c4b05a89c78ef3f1910d6f78040da'/>
<id>urn:sha1:7f285d0b436c4b05a89c78ef3f1910d6f78040da</id>
<content type='text'>
Otherwise, a n00b like myself can get quite confused when moving a
package from core to feeds, for example.

(Hint: one *really* needs to clear out the tmp/info/.packageinfo...
entries for the stale package, but '-f' works as well.)

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/feeds: silence git warning by selecting pull style</title>
<updated>2020-11-27T05:29:18Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2020-11-14T09:33:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=2b1d92f134e9b6c5744a3cc2d0e22273a7a5fe03'/>
<id>urn:sha1:2b1d92f134e9b6c5744a3cc2d0e22273a7a5fe03</id>
<content type='text'>
Silence the warning in git 2.27 about undefined fast-forward style
in git pull. Define "ff-only" as the style.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>scripts/feeds: fix accepting "-" in feed type string</title>
<updated>2019-09-15T17:54:03Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2019-09-15T17:53:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=d5cd80a1e8e76c19ddb2c5a00a0320330082c4ff'/>
<id>urn:sha1:d5cd80a1e8e76c19ddb2c5a00a0320330082c4ff</id>
<content type='text'>
Fixes a syntax error in processing the type src-git-full

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>scripts/feeds: fix 'src-include' directive</title>
<updated>2019-09-02T14:48:40Z</updated>
<author>
<name>Bjørn Mork</name>
</author>
<published>2019-09-02T11:49:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=a21b70be31a9d8adda0ae65cc38d1b3b4b6680d4'/>
<id>urn:sha1:a21b70be31a9d8adda0ae65cc38d1b3b4b6680d4</id>
<content type='text'>
Commit 775b70f8d5df renamed parse_file() parameters without
updating the recursive call. This broke parsing of any feeds.conf
using 'src-include'.

 $ scripts/feeds update -a
 Can't use string ("defaults") as a HASH ref while "strict refs" in use at scripts/feeds line 63, &lt;$fh&gt; line 1.

Fixes: 775b70f8d5df ("scripts/feeds: allow adding parameters to feeds")
Signed-off-by: Bjørn Mork &lt;bjorn@mork.no&gt;
</content>
</entry>
<entry>
<title>scripts/feeds: allow adding parameters to feeds</title>
<updated>2019-08-28T14:10:41Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2019-08-28T13:21:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=775b70f8d5dfe9830aaf3b79fc8fb38c8148ee1f'/>
<id>urn:sha1:775b70f8d5dfe9830aaf3b79fc8fb38c8148ee1f</id>
<content type='text'>
this allows adding "--" prefixed parameters inside feeds.conf between the
target and name. The first parameter is --force which has the same effect
as using -f when installing any of the packages. This allows creating
feeds that will override base packages by default.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>scripts/feeds: add src-include method</title>
<updated>2019-07-01T14:18:44Z</updated>
<author>
<name>Bjørn Mork</name>
</author>
<published>2019-06-05T12:19:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=7a1b575ac4ede2778bb21cfafa7a1152d9d2555f'/>
<id>urn:sha1:7a1b575ac4ede2778bb21cfafa7a1152d9d2555f</id>
<content type='text'>
The src-include method allows recursive inclusion of feeds.conf snippets.

This can for example be used for adding static local feeds to
feeds.conf.default without ever having to update the local feeds.conf:

 src-include defaults feeds.conf.default
 src-link custom /usr/local/src/lede/custom

Signed-off-by: Bjørn Mork &lt;bjorn@mork.no&gt;
</content>
</entry>
<entry>
<title>include/feeds.mk: rework generation of opkg distfeeds.conf</title>
<updated>2018-07-12T19:18:41Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-07-09T22:00:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/thess/commit/?id=16035a7dd370671670693af9ae63368ee4dd731f'/>
<id>urn:sha1:16035a7dd370671670693af9ae63368ee4dd731f</id>
<content type='text'>
Allow enabling/commenting/disabling each feed individually by using a
tristate config symbol.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
</feed>
