Branch: refs/heads/master
Home: https://github.com/openSUSE/osc
Commit: 894b97d471066e5935b3178bf525379f4545d29c
https://github.com/openSUSE/osc/commit/894b97d471066e5935b3178bf525379f4545d...
Author: Colleen Murphy
Date: 2020-07-30 (Thu, 30 Jul 2020)
Changed paths:
M osc/commandline.py
M osc/core.py
Log Message:
-----------
Add command "manualrun" to replace "disabledrun"
The "disabledrun" service commands is marked as deprecated but has no
explicit replacement. It is still a useful command for updating packages
manually or through a CI system without being forced to run all defined
services with the "runall" command. This change adds a new command
"manualrun" and a new mode "manual" which behave the same as the
deprecated "disabledrun" command and "disabled" mode but have clearer
meaning. "manualrun" does not attempt backwards-compatible behavior with
the "disabledrun" mode for "disabled" services because "disabled" mode
may eventually be removed or change meaning. The "localrun" command is
enhanced to consider the "serveronly" mode. Since "disabledrun" never
executed services with mode "serveronly", its docs are updated
accordingly.
Commit: 7612fe161414027f4ed598f3e1f4a6b1d2e47553
https://github.com/openSUSE/osc/commit/7612fe161414027f4ed598f3e1f4a6b1d2e47...
Author: Marcus Huewe
Date: 2020-07-31 (Fri, 31 Jul 2020)
Changed paths:
M osc/commandline.py
M osc/core.py
Log Message:
-----------
Merge branch 'undeprecate-disabledrun' of https://github.com/cmurphy/osc
Add a "manual" service mode. A service with mode "manual" is not executed
by default (that is, via "osc service run"). As of now, "manual" is in
some sense just an alias for "disabled". However, this might change in the
future [1]. Also, "localrun" now executes services with mode "serveronly".
Moreover, the documentation of "disabledrun" is updated ("disabledrun"
never executed services with mode "serveronly"). Additionally, "localrun"
and "disabledrun" are marked as "[n]ot for common usage anymore" in the
service command's description.
The rationale for these changes is (partly) described in [1]. The main
motivation is to add some clarity (in contrast to the "disabled" mode,
it is probably easier to get/guess the semantics of the "manual" mode).
[1] https://github.com/openSUSE/osc/pull/826
Compare: https://github.com/openSUSE/osc/compare/bf7e483c3323...7612fe161414