<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/scripts/feeds, branch master</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2025-03-04T11:00:19Z</updated>
<entry>
<title>scripts/feeds: shallow clone submodules</title>
<updated>2025-03-04T11:00:19Z</updated>
<author>
<name>Cedric CHEDALEUX</name>
</author>
<published>2025-02-17T09:44:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=9ec32cfb2733856a2ab4caee07d9b3297568381d'/>
<id>urn:sha1:9ec32cfb2733856a2ab4caee07d9b3297568381d</id>
<content type='text'>
When a feed has submodules, all its submodules are fully cloned whereas
the feed itself is shallowed. Let's be consistent and perform shallow clones
as well for the submodules.

Signed-off-by: Cedric CHEDALEUX &lt;cedric.chedaleux@orange.com&gt;
Link: https://github.com/openwrt/openwrt/pull/18003
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/feeds: shallow clone for specific commit update</title>
<updated>2025-03-04T11:00:19Z</updated>
<author>
<name>Cedric CHEDALEUX</name>
</author>
<published>2025-02-17T09:41:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=32d0a57dc10811a24816e51f10e55963f40fe462'/>
<id>urn:sha1:32d0a57dc10811a24816e51f10e55963f40fe462</id>
<content type='text'>
When a feed is referenced with a specific commit (i.e. &lt;git_url&gt;^&lt;sha1&gt;),
a full clone was performed and a branch was created from the sha1
and named with the sha1. Other git clones operations are shallowed.

As Git does not support clone at a specific commit, let's first perform
a shallow clone to latest commit, then fetch the relevant commit and
finally checkout it (no more 'pseudo' branch).

It saves bandwith and significantly speeds up the feed update process.

Signed-off-by: Cedric CHEDALEUX &lt;cedric.chedaleux@orange.com&gt;
Link: https://github.com/openwrt/openwrt/pull/18003
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/feeds: force kernel package scan after a target installation</title>
<updated>2024-10-10T19:51:43Z</updated>
<author>
<name>Thomas Richard</name>
</author>
<published>2024-09-24T16:27:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=51e083426b8b9343a253597baa286b76e9232194'/>
<id>urn:sha1:51e083426b8b9343a253597baa286b76e9232194</id>
<content type='text'>
When a target is installed from a feed, the linux kernel package is scanned
before the installation of this target.
If some kernel module packages are defined in this feeds at the target
level, there were not parsed during the scan of linux kernel package, as
the target didn't exist yet. So these kernel module packages don't exist.

Once the target is installed, clean the linux kernel packageinfo to force
the scan of the linux kernel package next time this script (or the make
command) is called.

Signed-off-by: Thomas Richard &lt;thomas.richard@bootlin.com&gt;
Link: https://patchwork.ozlabs.org/project/openwrt/patch/mailman.117548.1727195440.1280.openwrt-devel@lists.openwrt.org/
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>scripts/feeds: Support feed update with git pull --rebase --autostash</title>
<updated>2024-09-08T16:54:42Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2024-05-04T06:57:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=f68dcce3bb2a5d1043db7282809ef9b197dec99a'/>
<id>urn:sha1:f68dcce3bb2a5d1043db7282809ef9b197dec99a</id>
<content type='text'>
Add feed update option '-s' that performs 'git pull --rebase --autostash':
* possible local uncommited changes are autostashed before pull,
* local commits are then rebased on top of the new commits pulled
  from origin and
* finally git does 'stash pop'.

This enables feed update while there are local development commits
and possibly also local uncommited changes.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
Link: https://github.com/openwrt/openwrt/pull/15377
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/feeds: Support feed update with git pull --rebase</title>
<updated>2024-09-08T16:54:41Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2024-05-04T06:56:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=ef720b1e09fc8f013dc2bcc0b86f9b98ed4607fc'/>
<id>urn:sha1:ef720b1e09fc8f013dc2bcc0b86f9b98ed4607fc</id>
<content type='text'>
Add feed update option '-r' to perform "git pull --rebase" so that
possible local commits are rebased on top of the new commits pulled
from origin. That enables git pull while there are local
development commits.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
Link: https://github.com/openwrt/openwrt/pull/15377
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: add APK package build capabilities</title>
<updated>2024-05-17T20:21:26Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-05-14T10:36:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=d788ab376f859164df84e2054cbbbb0921943c5b'/>
<id>urn:sha1:d788ab376f859164df84e2054cbbbb0921943c5b</id>
<content type='text'>
A new option called `USE_APK` is added which generated APK packages
(.apk) instead of OPKG packages (.ipk).

Some features like fstools `snapshot` command are not yet ported

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<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.openwrt.org/openwrt/staging/pepe2k/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.openwrt.org/openwrt/staging/pepe2k/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.openwrt.org/openwrt/staging/pepe2k/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.openwrt.org/openwrt/staging/pepe2k/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>
</feed>
