<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/scripts/package-metadata.pl, branch v18.06.1</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v18.06.1</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v18.06.1'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2018-01-14T18:00:06Z</updated>
<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/chunkeey/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/chunkeey/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/chunkeey/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>
<entry>
<title>metadata: always resolve dependencies through provides list</title>
<updated>2018-01-13T18:54:44Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-01-08T11:17:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=47d6b05ad328e80e4ee05e48aa95462f3518c014'/>
<id>urn:sha1:47d6b05ad328e80e4ee05e48aa95462f3518c014</id>
<content type='text'>
Instead of adding virtual packages to the normal package list, keep a
separate list for provides, make each package provide itself, and resolve
all dependencies through this list. This allows to use PROVIDES to replace
existing packages.

Fixes FS#837.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>metadata: simplify generation of build depends from runtime depends</title>
<updated>2018-01-13T18:54:44Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-01-08T10:07:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=565de8b8a8b3532d07abba7a083763ac31ca28ee'/>
<id>urn:sha1:565de8b8a8b3532d07abba7a083763ac31ca28ee</id>
<content type='text'>
Runtime depends cannot have a buildtype suffix, and they never refer to
source package names. In addition, this adds warnings about unsatisfiable
dependencies.

Furthermore, this change fixes the generation of conditional build
dependencies for virtual packages provided by different source packages.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>metadata: handle target build depends together with host build depends</title>
<updated>2018-01-13T18:54:44Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-01-07T22:11:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=5b479f7dcf03e661abac1ae2cfbf5d5a477ab650'/>
<id>urn:sha1:5b479f7dcf03e661abac1ae2cfbf5d5a477ab650</id>
<content type='text'>
Target build depends are similar to host build depends in that they refer
to source packages rather than binary packages. Therefore, it makes sense
to handle them together, rather than putting them in a list together with
runtime depends and trying to figure out if the entries refer to source or
to binary packages afterwards.

This does lead to PKG_BUILD_DEPENDS entries referring to binary package
names not working anymore, which requires some fixes in the package
repositories.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>build: remove package preconfig feature</title>
<updated>2018-01-13T18:54:44Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-01-07T12:05:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=3abf663c22e32636306cfcdfd5fb29402a1c1a7f'/>
<id>urn:sha1:3abf663c22e32636306cfcdfd5fb29402a1c1a7f</id>
<content type='text'>
This feature has been unused for years, and its scope is too limited to be
actually useful.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>metadata: remove redundant fields from package hash</title>
<updated>2018-01-13T18:54:44Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-01-06T18:44:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=423ec18116f333bd51ff5264b0b5c9edc02945c6'/>
<id>urn:sha1:423ec18116f333bd51ff5264b0b5c9edc02945c6</id>
<content type='text'>
Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>metadata: replace %subdir hash with a path field in source packages</title>
<updated>2018-01-13T18:54:44Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-01-06T18:28:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=f0c702f124090470ec2b1140c576033e4e50fa1b'/>
<id>urn:sha1:f0c702f124090470ec2b1140c576033e4e50fa1b</id>
<content type='text'>
Every single reference to subdir was concatenated with the source package
name, so it makes sense to store the concatenated value instead.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>metadata: change pkg-&gt;{src} field to hold a reference</title>
<updated>2018-01-13T18:54:44Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-01-06T17:01:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=504cb913eb5e12ea5e737bdfac96df32240b3c37'/>
<id>urn:sha1:504cb913eb5e12ea5e737bdfac96df32240b3c37</id>
<content type='text'>
We often want to access fields of a source packages through pkg-&gt;{src}.
Allow accessing them directly instead of resolving the source hash through
srcpackages.

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