From 94aed24784d5122c5bbd7afd6dd85ee83c10ab2e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 21 Aug 2013 19:19:19 -0700 Subject: [PATCH] repoman: fix manifest for --echangelog --- bin/repoman | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/repoman b/bin/repoman index 31ae74755..5250af04e 100755 --- a/bin/repoman +++ b/bin/repoman @@ -2719,6 +2719,7 @@ else: commitmessage += commit_footer + broken_changelog_manifests = [] if options.echangelog in ('y', 'force'): logging.info("checking for unmodified ChangeLog files") committer_name = utilities.get_committer_name(env=repoman_settings) @@ -2774,6 +2775,8 @@ else: # regenerate Manifest for modified ChangeLog (bug #420735) repoman_settings["O"] = checkdir digestgen(mysettings=repoman_settings, myportdb=portdb) + else: + broken_changelog_manifests.append(x) if myautoadd: print(">>> Auto-Adding missing Manifest/ChangeLog file(s)...") @@ -3003,6 +3006,11 @@ else: repoman_settings["O"] = os.path.join(repodir, x) digestgen(mysettings=repoman_settings, myportdb=portdb) + elif broken_changelog_manifests: + for x in broken_changelog_manifests: + repoman_settings["O"] = os.path.join(repodir, x) + digestgen(mysettings=repoman_settings, myportdb=portdb) + signed = False if sign_manifests: signed = True -- 2.26.2