mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-12 23:56:13 +01:00
allow to skip source services
This commit is contained in:
parent
c18adb7edf
commit
1cb627a289
1
NEWS
1
NEWS
@ -6,6 +6,7 @@
|
||||
- osc remotebuildlog supports a buildlogurl
|
||||
- use the baserev on links by default for diffing
|
||||
- Allow --prefer-pkgs to parse repodata
|
||||
- new "osc build --no-service" option to skip source service update
|
||||
|
||||
0.125
|
||||
- add "osc pull" command to fetch and merge changes in the link target
|
||||
|
@ -3170,6 +3170,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
help='Do not run post build checks on the resulting packages.')
|
||||
@cmdln.option('--no-verify', action='store_true',
|
||||
help='Skip signature verification of packages used for build.')
|
||||
@cmdln.option('--noservice', '--no-service', action='store_true',
|
||||
help='Skip run of local source services as specified in _service file.')
|
||||
@cmdln.option('-p', '--prefer-pkgs', metavar='DIR', action='append',
|
||||
help='Prefer packages from this directory when installing the build-root')
|
||||
@cmdln.option('-k', '--keep-pkgs', metavar='DIR',
|
||||
@ -3267,7 +3269,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
args = self.parse_repoarchdescr(args, opts.noinit, opts.alternative_project)
|
||||
|
||||
# check for source services
|
||||
if os.listdir('.').count("_service"):
|
||||
if not opts.noservice and not opts.noinit and os.listdir('.').count("_service"):
|
||||
p = Package('.')
|
||||
p.run_source_services()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user