Branch: refs/heads/master
Home: https://github.com/openSUSE/osc
Commit: ebb2f2ee0d1472f030b8596a417d9e49cd26d179
https://github.com/openSUSE/osc/commit/ebb2f2ee0d1472f030b8596a417d9e49cd26d...
Author: Marcus Huewe
Date: 2017-12-26 (Tue, 26 Dec 2017)
Changed paths:
M osc/util/archquery.py
M osc/util/debquery.py
M osc/util/packagequery.py
M osc/util/repodata.py
M osc/util/rpmquery.py
Log Message:
-----------
Add support for querying weak dependencies
The following abstract methods are added to the PackageQueryResult
class: recommends(), suggests(), supplements(), and enhances().
Note that not all package/metadata formats have a notion of these
weak dependencies.
rpm rpmmd deb arch
recommends x x x
suggests x x x x
supplements x x
enhances x x x
(where "x" represents "supported"). In case of an unsupported weak
dependency, the implementation returns an empty list.
We need the weak dependency support in order to fix #363 ("osc build
-p ../rpms/tw doesnt send recommends to the server which makes client
side build behave differently to server side build").
Commit: 0b241a9586e4a78b3a6091c21179d5be8fb2eda7
https://github.com/openSUSE/osc/commit/0b241a9586e4a78b3a6091c21179d5be8fb2e...
Author: Marcus Huewe
Date: 2017-12-26 (Tue, 26 Dec 2017)
Changed paths:
M osc/build.py
Log Message:
-----------
Consider "recommends" and "supplements" in build.create_deps
Fixes: #363 ("osc build -p ../rpms/tw doesnt send recommends to
the server which makes client side build behave differently to server
side build").
Compare: https://github.com/openSUSE/osc/compare/5d3cc74ce137...0b241a9586e4