Branch: refs/heads/master
Home: https://github.com/openSUSE/osc
Commit: 9c4f0d5d30f264aae08e757f6a342f2a45f55312
https://github.com/openSUSE/osc/commit/9c4f0d5d30f264aae08e757f6a342f2a45f55...
Author: Marcus Huewe
Date: 2018-02-07 (Wed, 07 Feb 2018)
Changed paths:
M osc/commandline.py
Log Message:
-----------
Ignore "--alternative-project <prj>" if it is equal to the wc's project
Without this change, using "--alternative-project <prj>" in combination
with "--multibuild-package <flavor>" yields to unexpected results (from
a user's point of view). Note that this may break existing (artificial)
workflows (e.g., using --alternative-project to ignore the package
meta's debuginfo flag), but these workflows should be rare and there
are options to achieve the same.
Fixes: #376 ("osc build -M something does not work with
--alternative-project")