import-orig: Print all sources with `verbose`
authorGuido Günther <agx@sigxcpu.org>
Tue, 30 Jun 2020 07:46:35 +0000 (09:46 +0200)
committerGuido Günther <agx@sigxcpu.org>
Tue, 30 Jun 2020 08:06:41 +0000 (10:06 +0200)
gbp/scripts/import_orig.py

index 6c40ea0fc47027ea8b53693e517f174ecb4a6e57..ad0141e62632e654dce0148d4e53af256559e5d6 100644 (file)
@@ -478,6 +478,10 @@ def main(argv):
         except gbpc.CommandExecFailed:
             raise GbpError()  # The hook already printed an error message
 
+        if options.verbose:
+            for source in sources:
+                gbp.log.info(source)
+
         (pristine_orig, linked) = prepare_pristine_tar(sources[0].path,
                                                        name,
                                                        version)