1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 01:06:17 +02:00

Merge pull request #1559 from dmach/service-print-service-names

Improve 'service' command by printing names of running services
This commit is contained in:
Daniel Mach 2024-05-09 21:55:59 +02:00 committed by GitHub
commit aa2cbb2468
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -229,6 +229,7 @@ class Serviceinfo:
raise oscerr.PackageNotInstalled(f"obs-service-{cmd[0]}")
cmd[0] = "/usr/lib/obs/service/" + cmd[0]
cmd = cmd + ["--outdir", temp_dir]
output.print_msg(f"Running source_service '{service['name']}' ...", print_to="stdout")
output.print_msg("Run source service:", " ".join(cmd), print_to="verbose")
r = run_external(*cmd)