[obs-commits] [openSUSE/osc] 3da7b9: simplify osc sr code in submitting prj
Branch: refs/heads/master Home: https://github.com/openSUSE/osc Commit: 3da7b9b3d8d2f46ae0ce1d9f84bd8c1666335603 https://github.com/openSUSE/osc/commit/3da7b9b3d8d2f46ae0ce1d9f84bd8c1666335... Author: lethliel <mstrigl@suse.com> Date: 2019-08-30 (Fri, 30 Aug 2019) Changed paths: M osc/commandline.py Log Message: ----------- simplify osc sr code in submitting prj Most of the stuff is now done in the API. For just submitting all in one request the following is sufficient: <action type="submit"> <source project="%s" /> %s </action> If a target project is given it looks like this: <action type="submit"> <source project="%s" /> <target project="%s"> %s </action> We don't need package name or source package and targets anymore. This is all handled by the API now. For the --seperate-requests case the check for the entries in the linkinfo is not working on most cases. So we handle this in the do_submitrequest and skip the package if X-Opensuse-Errorcode is missing_action which means basically nothing to do for this package redesign target_project handling Commit: 749f99446538cec09b06e1c78d1ecea92f16b056 https://github.com/openSUSE/osc/commit/749f99446538cec09b06e1c78d1ecea92f16b... Author: Marcus Huewe <suse-tux@gmx.de> Date: 2019-08-30 (Fri, 30 Aug 2019) Changed paths: M osc/commandline.py Log Message: ----------- Merge branch 'simplify_sr_on_prj_level' of https://github.com/lethliel/osc Simplify the project sr handling in do_submitrequest a bit. It also fixes a bug in case a target project and --separate-request is specified. Other bugs are retained for now (for instance, --update-link is ignored). Compare: https://github.com/openSUSE/osc/compare/4f73767edb48...749f99446538
participants (1)
-
Marcus Hüwe