<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/scripts/package-metadata.pl, branch v21.02.1</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.1</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.1'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2021-02-14T18:41:52Z</updated>
<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>
<entry>
<title>metadata: do not emit broken kconfig dependency statements</title>
<updated>2018-01-14T18:00:06Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-01-14T17:46:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=a405a93fa69cf836ed628ac86b90a6a718c36bae'/>
<id>urn:sha1:a405a93fa69cf836ed628ac86b90a6a718c36bae</id>
<content type='text'>
Prevent emitting broken dependency statements when resolving references
to non existing packages to an empty provider list.

Fixes: 47d6b05ad3 ("metadata: always resolve dependencies through provides list")
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>metadata: improve code readability by using (s)printf instead of string interpolation</title>
<updated>2018-01-13T18:54:45Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-01-08T17:47:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=de0ccd35323b420e96ac849b327e77dd9c7837b0'/>
<id>urn:sha1:de0ccd35323b420e96ac849b327e77dd9c7837b0</id>
<content type='text'>
Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>build: remove obsolete "package feature" feature</title>
<updated>2018-01-13T18:54:45Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-01-08T11:31:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=4bb54ed15ee4647c36a4c2b3cb9416f344594b8a'/>
<id>urn:sha1:4bb54ed15ee4647c36a4c2b3cb9416f344594b8a</id>
<content type='text'>
Package "features" seem to be unused for some time. In any case, custom
Config.in snippets and package PROVIDES are a much more flexible way to
express similar options.

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