1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 14:56:14 +01:00
github.com_openSUSE_osc/osc
lethliel 3da7b9b3d8 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
2019-08-30 10:42:08 +02:00
..
util Merge branch 'dont_decode_None' of https://github.com/lethliel/osc 2019-07-26 14:35:03 +02:00
__init__.py replace urlgrabber to enable python3 compatibility 2018-10-19 09:31:37 +02:00
.gitignore convert svn:ignore to gitignore 2009-12-03 19:19:53 +01:00
babysitter.py babysitter: fix RPMError fallback when running in Python3 2019-07-25 10:58:56 +02:00
build.py fix and unify building of local package cache 2019-07-26 13:38:45 +02:00
checker.py Resolve PEP8 issue W291 2014-08-12 15:01:16 +02:00
cmdln.py [python3] enable full python3 support for man 2018-12-13 13:33:51 +01:00
commandline.py simplify osc sr code in submitting prj 2019-08-30 10:42:08 +02:00
conf.py Consider the "realname" config option in apiurl sections 2018-08-17 22:45:17 +02:00
core.py Merge branch 'master' into maint_enforce_branch 2019-07-25 13:46:18 +02:00
fetch.py cast bytes object to string during os.path.join 2019-05-28 13:29:12 +02:00
grabber.py fix broken URLError handling in OscMirrorGroup.urlgrab() 2018-11-06 13:29:17 +01:00
meter.py Fix ZeroDivisionException in meter.PBTextMeter 2019-01-23 15:37:01 +01:00
OscConfigParser.py Fix Python 3.7 support 2018-11-06 10:35:38 +01:00
oscerr.py [python3] self[i] is now self.args[i] 2018-12-13 13:27:22 +01:00
oscssl.py Use correct appname for trusted-certs store 2019-07-28 14:59:14 +02:00
oscsslexcp.py - remove shebang line to make rpmlint happy 2010-03-21 22:57:06 +01:00