#345 createrepo: use separate logs for different pkg_type
Merged 7 years ago by ausil. Opened 7 years ago by lsedlar.
lsedlar/pungi createrepo-logs  into  master

file modified
+1 -1
@@ -194,7 +194,7 @@ 

                                    groupfile=comps_path, update_md_path=repo_dir_arch,

                                    checksum=createrepo_checksum, deltas=createrepo_deltas,

                                    oldpackagedirs=old_packages_dir)

-     log_file = compose.paths.log.log_file(arch, "createrepo-%s" % variant)

+     log_file = compose.paths.log.log_file(arch, "createrepo-%s.%s" % (variant, pkg_type))

      run(cmd, logfile=log_file, show_cmd=True)

  

      # call modifyrepo to inject productid

Instead of overwriting the same log file, make sure we keep all the logs
for debuginfo, source and binary packages.

Pull-Request has been merged by ausil

7 years ago
Metadata