<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/mans0n/scripts/feeds, branch master</title>
<subtitle>Staging tree of Sungbo Eo</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/mans0n/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/mans0n/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/mans0n/'/>
<updated>2023-11-02T11:40:44Z</updated>
<entry>
<title>build: use long hashes when generating feed.buildinfo</title>
<updated>2023-11-02T11:40:44Z</updated>
<author>
<name>Sandro Jäckel</name>
</author>
<published>2023-11-02T02:16:52Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/mans0n/commit/?id=376f1c80a967cf349e9d7d6168dd9bce3c35ebd8'/>
<id>urn:sha1:376f1c80a967cf349e9d7d6168dd9bce3c35ebd8</id>
<content type='text'>
Short hashes are not guaranteed to be unambiguous forever and could
collide if the repo grows over time. Git also estimates how many
characters are roughly required to prevent such a collision and slowly
increases the amount of characters beginning from 6, OpenWrt is already
at 8. Lets use the full hash the have a predictable length and keep
hashes unambiguous forever.

Signed-off-by: Sandro Jäckel &lt;sandro.jaeckel@gmail.com&gt;
</content>
</entry>
<entry>
<title>feeds: use git-src-full to allow Git versioning</title>
<updated>2022-02-14T23:24:24Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2021-10-11T20:47:00Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/mans0n/commit/?id=7fae1e5677e9bb4979c8d4ac99be4de6955b13d0'/>
<id>urn:sha1:7fae1e5677e9bb4979c8d4ac99be4de6955b13d0</id>
<content type='text'>
Both $(AUTORELEASE) and $(PKG_SRC_VERSION) (from luci.git) use the Git
log to determine releases and package timestamps.

Feeds are shallow cloned by default, resulting in an incomplete Git log
and therefore different local package versions than offered upstream.

This commits sets the default feeds to use `src-git-full` to solve that.

Add fixes from "2b1d92f: scripts/feeds: silence git warning by selecting
pull style" to `src-git-full`

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>scripts/feeds: install targets to target/linux/feeds and support overriding</title>
<updated>2022-01-24T12:29:05Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2022-01-24T12:28:36Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/mans0n/commit/?id=ebc36ebb2349ef5d492dd2bd5be962bac26bb19a'/>
<id>urn:sha1:ebc36ebb2349ef5d492dd2bd5be962bac26bb19a</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>scripts/feeds: fix installing targets without explicitly specifying the feed</title>
<updated>2022-01-24T12:29:05Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2022-01-24T12:16:00Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/mans0n/commit/?id=0bdf8d12063b9be1cd73798f54a53279d21c9c95'/>
<id>urn:sha1:0bdf8d12063b9be1cd73798f54a53279d21c9c95</id>
<content type='text'>
Add similar code to what is done on packages

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>treewide: drop use of which</title>
<updated>2022-01-17T08:14:26Z</updated>
<author>
<name>Ansuel Smith</name>
</author>
<published>2021-11-25T01:12:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/mans0n/commit/?id=88204bfa82f982a986d2aa3e166a4c5946040308'/>
<id>urn:sha1:88204bfa82f982a986d2aa3e166a4c5946040308</id>
<content type='text'>
Ubuntu started to flag which as deprecated and it
seems which is not really standard and may vary
across Distro.
Drop the use of which and use the standard 'command -v'
for this simple task.
Which is still present in the prereq if some package/script
still use which.
A utility script called command_all.sh is implemented that
will just mimic the output of which -a.

Signed-off-by: Ansuel Smith &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<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-03.infra.openwrt.org/openwrt/staging/mans0n/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-03.infra.openwrt.org/openwrt/staging/mans0n/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-03.infra.openwrt.org/openwrt/staging/mans0n/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-03.infra.openwrt.org/openwrt/staging/mans0n/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-03.infra.openwrt.org/openwrt/staging/mans0n/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>
</feed>
