add date stamp to repoclosure logs to keep it as clean as possible

This commit is contained in:
Louis Abel 2022-05-29 17:00:47 -07:00
parent f36af93fc2
commit bcc1dd7c22
Signed by untrusted user: label
GPG Key ID: B37E62D143879B36

View File

@ -792,7 +792,7 @@ class RepoSync:
) )
repoclosure_cmd = ('/usr/bin/dnf repoclosure {} ' repoclosure_cmd = ('/usr/bin/dnf repoclosure {} '
'--repofrompath={},file://{}/{}/{}/os --repo={} --check={} {} ' '--repofrompath={},file://{}/{}/{}/os --repo={} --check={} {} '
'| tee -a {}/{}-repoclosure-{}.log').format( '| tee -a {}/{}-repoclosure-{}-{}.log').format(
repoclosure_arch_list, repoclosure_arch_list,
repo, repo,
sync_root, sync_root,
@ -803,7 +803,8 @@ class RepoSync:
join_repo_comb, join_repo_comb,
log_root, log_root,
repo, repo,
arch arch,
self.date_stamp
) )
repoclosure_entry_point_open = open(repoclosure_entry_point_sh, "w+") repoclosure_entry_point_open = open(repoclosure_entry_point_sh, "w+")
repoclosure_entry_point_open.write('#!/bin/bash\n') repoclosure_entry_point_open.write('#!/bin/bash\n')