1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 01:46:13 +01:00
github.com_openSUSE_osc/osc
Oleg Girko f0935fe47d Add "--extra-pkgs-from" ("-X") option to osc build.
This option adds extra packages listed in the specified file to build.

For now, osc does not support automatic buildrequires.

When a package has automatic buildrequires, osc just
returns error code 9 that is returned by build,
but build leaves a list of missing dependencies in
".build.packages/OTHER/_generated_buildreqs" file inside build root.

These extra packages can be added using "--extra-pkgs" ("-x") option,
but this is very inconvenient if there are many of them.

Allowing to add extra dependencies listed in a file makes building
packages with automatic buildrequires much more convenient:
just do a first stage build, resulting in a file with list of
extra dependencies, and then add extra packages from this file
using "--extra-pkgs-from" ("-X") option that is added by this change.

Signed-off-by: Oleg Girko <ol@infoserver.lv>
2022-10-13 00:14:32 +01:00
..
util Refactor tar open functions to return early 2022-09-30 15:51:06 +02:00
__init__.py release 1.0.0b2 2022-09-09 09:29:05 +02:00
.gitignore convert svn:ignore to gitignore 2009-12-03 19:19:53 +01:00
babysitter.py Run autopep8 to fix whitespace issues 2022-09-12 13:45:19 +02:00
build.py Add "--extra-pkgs-from" ("-X") option to osc build. 2022-10-13 00:14:32 +01:00
checker.py Run autopep8 to fix whitespace issues 2022-09-12 13:45:19 +02:00
cmdln.py cmdln: Allow explicitly setting command name 2022-10-04 13:15:40 +02:00
commandline.py Add "--extra-pkgs-from" ("-X") option to osc build. 2022-10-13 00:14:32 +01:00
conf.py Replace 'if not <cond> in ...' with 'if <cond> not in ...' 2022-09-12 14:15:34 +02:00
connection.py Always import at the toplevel 2022-09-12 13:45:19 +02:00
core.py add create-pbuild-config(cpc) command 2022-10-04 13:15:40 +02:00
credentials.py Fix usage of super() 2022-09-09 09:33:51 +02:00
fetch.py OBS has a fault where is sends invalid md5s 2022-10-06 10:50:24 +10:00
grabber.py Always import at the toplevel 2022-09-12 13:45:19 +02:00
meter.py Run autopep8 to fix whitespace issues 2022-09-12 13:45:19 +02:00
OscConfigParser.py Disable configparser interpolation to allow unescaped '%' in values 2022-10-04 09:37:33 +02:00
oscerr.py add create-pbuild-config(cpc) command 2022-10-04 13:15:40 +02:00
oscssl.py Fix the '9 - review the server certificate' option in cert trust prompt 2022-10-11 10:27:43 +02:00