<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/kaloz/scripts/feeds, branch master</title>
<subtitle>Staging tree of Imre Kaloz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/kaloz/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/kaloz/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/kaloz/'/>
<updated>2018-01-14T16:07:58Z</updated>
<entry>
<title>scripts/feeds: fix install of packages with different source/binary names</title>
<updated>2018-01-14T16:07:58Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-01-14T16:07:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/kaloz/commit/?id=06d51dbb9e4c3160094b61354115b80f0fc7dae8'/>
<id>urn:sha1:06d51dbb9e4c3160094b61354115b80f0fc7dae8</id>
<content type='text'>
The logic for choice between source and binary packages was reversed.

Fixes: 52719c2b67af "metadata: scripts/feeds: distinguish between source
and binary packages, resolve virtual dependencies"
Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>metadata: scripts/feeds: distinguish between source and binary packages, resolve virtual dependencies</title>
<updated>2018-01-13T18:54:45Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-01-11T17:38:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/kaloz/commit/?id=52719c2b67aff4b406e23ea5ed746c6c006e85bc'/>
<id>urn:sha1:52719c2b67aff4b406e23ea5ed746c6c006e85bc</id>
<content type='text'>
Properly resolve build depends to source packages and runtime depends to
binary packages. Dependencies on virtual packages are resolved to the first
provider now.

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/kaloz/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: 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/kaloz/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: 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/kaloz/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>
<entry>
<title>metadata: move 'builddepends' from binary to source packages</title>
<updated>2018-01-13T18:54:43Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-01-06T13:49:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/kaloz/commit/?id=b2ab9c9d3360160c99ae4f396edb870b6884a995'/>
<id>urn:sha1:b2ab9c9d3360160c99ae4f396edb870b6884a995</id>
<content type='text'>
Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>metadata: make srcpackage extensible</title>
<updated>2018-01-13T18:54:43Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-01-04T18:52:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/kaloz/commit/?id=19577582e437dcff50c97c5c19726b12f7b3a5ac'/>
<id>urn:sha1:19577582e437dcff50c97c5c19726b12f7b3a5ac</id>
<content type='text'>
Turn the srcpackage values into hashes to allow storing more information
than just binary package names.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>scripts/feeds: Reuse TOPDIR if defined in environment</title>
<updated>2017-02-21T12:03:20Z</updated>
<author>
<name>Michal Sojka</name>
</author>
<published>2017-02-16T22:02:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/kaloz/commit/?id=b1f102b03e7279c21b231cb16658a09ce1e543ca'/>
<id>urn:sha1:b1f102b03e7279c21b231cb16658a09ce1e543ca</id>
<content type='text'>
The feeds script sets value of TOPDIR in a way that is inconsistent
with how toplevel Makefile sets it. The inconsistency manifests when I
use a "build directory" with symlinks to LEDE source (see below).

When make is invoked in such a directory, make's TOPDIR variable is
set to that directory, whereas scripts/feeds sets TOPDIR to the top of
LEDE source, which results in creating feeds directory inside the LEDE
source instead of in the build directory.

This patch changes the script so that it reuses the TOPDIR value form
the environment if it exists. The result is that 'make
package/symlinks' correctly fetches feeds to the build directory
instead in the source.

I use the following commands to create the build directory:

    ln -s $SRC/config config
    ln -s $SRC/Config.in Config.in
    ln -s $SRC/feeds.conf.default feeds.conf.default
    ln -s $SRC/include include
    ln -s $SRC/Makefile Makefile
    mkdir package
    ln -s $SRC/package/base-files package/base-files
    ln -s $SRC/package/boot package/boot
    ln -s $SRC/package/devel package/devel
    ln -s $SRC/package/firmware package/firmware
    ln -s $SRC/package/kernel package/kernel
    ln -s $SRC/package/libs package/libs
    ln -s $SRC/package/Makefile package/Makefile
    ln -s $SRC/package/network package/network
    ln -s $SRC/package/system package/system
    ln -s $SRC/package/utils package/utils
    ln -s $SRC/rules.mk rules.mk
    ln -s $SRC/scripts scripts
    ln -s $SRC/target target
    ln -s $SRC/toolchain toolchain
    ln -s $SRC/tools tools

This allows me to easily test changes in LEDE on multiple targets.

Signed-off-by: Michal Sojka &lt;sojkam1@fel.cvut.cz&gt;
</content>
</entry>
<entry>
<title>feeds: add option to force feed update despite modified files</title>
<updated>2017-02-15T09:07:00Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2017-02-14T17:35:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/kaloz/commit/?id=3bfcd21e4b4504b04b0ea2bffe8430864138db2a'/>
<id>urn:sha1:3bfcd21e4b4504b04b0ea2bffe8430864138db2a</id>
<content type='text'>
Implement a new flag "-f" for the feeds update command which causes the
script to fall back to a more agressive git update strategy in case there
are locally modified files in the feeds directory.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>scripts/feeds: use git rev-parse for getting revision</title>
<updated>2016-11-08T10:17:11Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2016-11-02T13:36:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/kaloz/commit/?id=0a6439154a384d2782b2da80116a589b67a95f5a'/>
<id>urn:sha1:0a6439154a384d2782b2da80116a589b67a95f5a</id>
<content type='text'>
It provides simpler output so we don't need extra head and cut commands.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
</entry>
</feed>
