jenkins-bot has submitted this change and it was merged.
Change subject: git-logs: cleanup after processing by removing ChangeLog file
......................................................................
git-logs: cleanup after processing by removing ChangeLog file
Change-Id: I7eb48fc21f620468364428defa633392adf8f259
---
M git-logs/log_updates.py
1 file changed, 7 insertions(+), 0 deletions(-)
Approvals:
Hashar: Looks good to me, approved
jenkins-bot: Verified
diff --git a/git-logs/log_updates.py b/git-logs/log_updates.py
index 70eb1a4..9dc778e 100755
--- a/git-logs/log_updates.py
+++ b/git-logs/log_updates.py
@@ -5,6 +5,7 @@
import re
import sys
import getopt
+import os
DEPENDENCY_URL = '//gerrit.wikimedia.org/r/#q,%s,n,z'
STORY_URL = '//wikimedia.mingle.thoughtworks.com/projects/mobile/cards/%s'
@@ -155,6 +156,12 @@
pass
f_name = generate_change_log('.', commit)
log = grep_change_log_file(f_name)
+ # cleanup, remove changelog file
+ # @TODO is there any reason to keep this around?
+ # perhaps make this a tmpfile
+ info("Deleting %s..." % f_name)
+ os.remove(f_name)
+ info("Done.")
wikitext = get_wiki_text(log)
if output_filename:
info("Saving to %s ...\n" % output_filename)
--
To view, visit https://gerrit.wikimedia.org/r/110282
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7eb48fc21f620468364428defa633392adf8f259
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/tools/release
Gerrit-Branch: master
Gerrit-Owner: Awjrichards <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits