<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/scripts/package-metadata.pl, branch v23.05.2</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v23.05.2</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v23.05.2'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2023-11-02T14:44:47Z</updated>
<entry>
<title>build: add CycloneDX SBOM JSON support</title>
<updated>2023-11-02T14:44:47Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-10-24T08:27:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=21e5db97c410f4008c8fe8515fb79a7cde368dbf'/>
<id>urn:sha1:21e5db97c410f4008c8fe8515fb79a7cde368dbf</id>
<content type='text'>
CycloneDX is an open source standard developed by the OWASP foundation.
It supports a wide range of development ecosystems, a comprehensive set
of use cases, and focuses on automation, ease of adoption, and
progressive enhancement of SBOMs (Software Bill Of Materials) throughout
build pipelines.

So lets add support for CycloneDX SBOM for packages and images
manifests.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
(cherry picked from commit d604a07225c5c82b942cd3374cc113ad676a2519)
</content>
</entry>
<entry>
<title>package-metadata: add CPE information to JSON package manifests</title>
<updated>2023-11-02T14:44:45Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2022-10-19T13:46:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=fdeb7d6dd050a56ede48e29f9ebfb5fe351328a5'/>
<id>urn:sha1:fdeb7d6dd050a56ede48e29f9ebfb5fe351328a5</id>
<content type='text'>
Common Platform Enumeration (CPE) is a structured naming scheme for
information technology systems, software, and packages.

In order for the information to be processed further, it should also be
available in JSON package manifests.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
(cherry picked from commit 8562c65ff8aae3899cdb190319709500b7651492)
</content>
</entry>
<entry>
<title>scripts: package-metadata add pkgmanifestjson call</title>
<updated>2021-09-24T07:57:22Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2021-09-17T22:00:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=3128dfc18a5eaff145d17b8a3fe1131d10922384'/>
<id>urn:sha1:3128dfc18a5eaff145d17b8a3fe1131d10922384</id>
<content type='text'>
The new `pkgmanifestjson` call prints all package manifest of a feed in
JSON format. This function can be used to print an overview of packages
information used for downstream tooling.

The script is entirely based on Petrs work on dependency visualisation.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>build: drop ABI version from metadata</title>
<updated>2021-02-14T18:41:52Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-02-12T10:16:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=c92165038217e49075098479704da58a2a3a89bd'/>
<id>urn:sha1:c92165038217e49075098479704da58a2a3a89bd</id>
<content type='text'>
Preparation for supporting dynamic ABI versions that depend on the runtime
configuration. Read the suffix from the staging dir pkginfo version files.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>metadata: handle ABI version rebuild tracking for transient dependencies</title>
<updated>2019-06-21T10:03:43Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2019-06-20T19:02:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=27a4a71c240875e3fff868f26f723178bf94eb86'/>
<id>urn:sha1:27a4a71c240875e3fff868f26f723178bf94eb86</id>
<content type='text'>
Extend the packageauxvars database to keep a list of possible package
dependencies for each provider, then utilize this information in buildroot
to resolve the ABI version dependencies of dependent packages up to five
levels deep.

This should properly trigger rebuilds for packages indirectly depending
on other packages whose ABI_VERSION changed.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>metadata: ensure one dependency provider to be y if a package is y</title>
<updated>2019-06-20T12:18:25Z</updated>
<author>
<name>Jonas Gorski</name>
</author>
<published>2019-06-15T13:04:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=1fd50531cac9c41334d8f57e2dbc1f50c3572445'/>
<id>urn:sha1:1fd50531cac9c41334d8f57e2dbc1f50c3572445</id>
<content type='text'>
When there are multiple packages providing a meta-package, it is
possible to to create a config where a package is selected as =y, but
all of its dependency providers are just selected as =m. This is due to
the selection statement being just

  config PACKAGE_foo
    select PACKAGE_bar if !PACKAGE_baz

which is already fulfilled by PACKAGE_bar=m. Fix this by properly
comparing the selection states:

  config PACKAGE_foo
    select PACKAGE_bar if PACKAGE_baz&lt;PACKAGE_foo

Also invert the select conditions to improve readability.

Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
[slightly reword commit message]
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>build: add support to &amp;&amp; in DEPENDS</title>
<updated>2019-05-31T09:21:22Z</updated>
<author>
<name>Eneas U de Queiroz</name>
</author>
<published>2019-04-24T22:29:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=a41f474d17fef8aa94fdd6a8aa9b9a4bd2e5fa0f'/>
<id>urn:sha1:a41f474d17fef8aa94fdd6a8aa9b9a4bd2e5fa0f</id>
<content type='text'>
Adds support to &amp;&amp; operand in DEPENDS.  Also, fixes generation of ||
dependencies by scripts/package-metadata.pl.

The precedence order from higher to lower is &amp;&amp; then ||.  Use of
parentheses to change the order is not supported. As before, they are
silently ignored.  Use them for readability only.

Signed-off-by: Eneas U de Queiroz &lt;cote2004-github@yahoo.com&gt;
Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt; [DMARC removal]
</content>
</entry>
<entry>
<title>build: extend ABI_VERSION suffixing to provides</title>
<updated>2019-01-24T09:39:29Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2019-01-21T16:29:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=60558790a2a832265ec041131e851b6648f514d4'/>
<id>urn:sha1:60558790a2a832265ec041131e851b6648f514d4</id>
<content type='text'>
When a library package specifies additional provides, e.g. libncurses
which provides libncursesw, we should also append the abi version
suffix to each provide, since there may be more than one package
providing the virtual library.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>build: expose ABI version in .packageauxvars</title>
<updated>2019-01-19T13:32:01Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2019-01-18T11:43:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=e3d5b384aa67c5562d59e8745fc6c48a9f2a997d'/>
<id>urn:sha1:e3d5b384aa67c5562d59e8745fc6c48a9f2a997d</id>
<content type='text'>
Subdequent commits need this information to resolve the ABI version when
computing binary ipk dependencies.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>build: rename .packagesubdirs to .packageauxvars</title>
<updated>2019-01-19T13:31:56Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2019-01-18T11:32:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=2d9d57b9de230e1f397c1396f4fb7dfae34d3855'/>
<id>urn:sha1:2d9d57b9de230e1f397c1396f4fb7dfae34d3855</id>
<content type='text'>
Subsequent commits will put more auxiliary information into this file,
such as the per-package ABI version, so rename the metadata script
subcommand and file names accordingly.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
</feed>
