<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/linusw/scripts/make-index-json.py, branch master</title>
<subtitle>Staging tree of Linus Walleij</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/linusw/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/'/>
<updated>2025-11-01T18:42:20Z</updated>
<entry>
<title>scripts/make-index-json: ensure that manifest output is in opkg format</title>
<updated>2025-11-01T18:42:20Z</updated>
<author>
<name>Eric Fahlgren</name>
</author>
<published>2025-09-19T17:01:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/commit/?id=3b21f97641f9a03a01d1a40bc5ed740bae7a7c27'/>
<id>urn:sha1:3b21f97641f9a03a01d1a40bc5ed740bae7a7c27</id>
<content type='text'>
Certain existing tooling, such as 'package-metadata.pl', are written
to accept the output of 'opkg list' with package manifest delimited
by '-'.  The 'make-index-json.py --manifest' output was emulating
the 'apk list --manifest' format without the delimiting dash,
thus breaking these legacy tools.

We fix this by adding the dash to the manifest output, which allows
all existing tooling to process the output irrespective of whether
the build system uses opkg or apk.

Signed-off-by: Eric Fahlgren &lt;ericfahlgren@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/20094
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>imagebuilder: implement STRIP_ABI option for manifest target</title>
<updated>2025-07-03T10:45:59Z</updated>
<author>
<name>Eric Fahlgren</name>
</author>
<published>2025-07-01T21:02:41Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/commit/?id=23dc466969f3364dfa7ab480e7745480a2e816f9'/>
<id>urn:sha1:23dc466969f3364dfa7ab480e7745480a2e816f9</id>
<content type='text'>
When using apk as the package manager, imagebuilder make command

    make manifest STRIP_ABI=1

does not strip package names of their ABI-version suffix.  The ASU
server relies on this to validate builds, so many snapshot build
requests are failing.

Fix this by using the already existing package data parser in
make-index-json.py and augment it to write the result in manifest
format.

Fixes: https://github.com/openwrt/openwrt/issues/19274
Signed-off-by: Eric Fahlgren &lt;ericfahlgren@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/19278
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts: make-index-json: rework for old Python versions</title>
<updated>2025-06-24T21:59:06Z</updated>
<author>
<name>Eric Fahlgren</name>
</author>
<published>2025-06-23T22:50:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/commit/?id=0c7d564b1dc2a1a237bc8ea125ec1b22f606cdbc'/>
<id>urn:sha1:0c7d564b1dc2a1a237bc8ea125ec1b22f606cdbc</id>
<content type='text'>
The current code uses functions and features only found in newer
versions of Python, so rework to allow use on systems only supporting
older Python.  Tested on Python 3.8 (released Oct 2019), but should
work on 3.7 also.

Suggested-by: Chen Minqiang &lt;ptpt52@gmail.com&gt;
Signed-off-by: Eric Fahlgren &lt;ericfahlgren@gmail.com&gt;
</content>
</entry>
<entry>
<title>package: rework contents of package index.json</title>
<updated>2025-06-11T14:55:31Z</updated>
<author>
<name>Eric Fahlgren</name>
</author>
<published>2025-06-06T23:43:27Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/commit/?id=2b0b16f1d1571b23425b2d7ab5dc3816e2ceec12'/>
<id>urn:sha1:2b0b16f1d1571b23425b2d7ab5dc3816e2ceec12</id>
<content type='text'>
Rework the generation of the index.json version of the package
indexes to match the original intent (i.e., for use by the ASU
server and other downstream projects).  The current file contains
package names that have ABI versioning, making them unusable by ASU,
so we now remove the ABI suffixes.

Also adds a 'version' field to the json, so downstream utilities
can detect the new semantics of the package name fields.

Links: https://github.com/openwrt/openwrt/commit/218ce40cd738f3373438aab82467807a8707fb9c
Signed-off-by: Eric Fahlgren &lt;ericfahlgren@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/19051
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
</feed>
