ArielGlenn has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/342312 )

Change subject: add a version number to status file output!!
......................................................................


add a version number to status file output!!

Change-Id: I1de7ee46021fcfcfe1dfde3c5e2e60182ae45d4a
---
M xmldumps-backup/dumps/runstatusapi.py
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  ArielGlenn: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/xmldumps-backup/dumps/runstatusapi.py 
b/xmldumps-backup/dumps/runstatusapi.py
index 192c4d4..d86cd29 100644
--- a/xmldumps-backup/dumps/runstatusapi.py
+++ b/xmldumps-backup/dumps/runstatusapi.py
@@ -25,6 +25,7 @@
 
     NAME = "statusapi"
     FILENAME = "dumpstatus"
+    VERSION = "0.8"
 
     # might add more someday, but not today
     known_formats = ["json"]
@@ -171,6 +172,7 @@
             report_info = self.get_report_info()
 
             contents = self.combine_status_sources(dumprun_info, 
filehash_info, report_info)
+            contents['version'] = StatusAPI.VERSION
             self.write_contents(contents)
         except Exception as ex:
             if self.verbose:

-- 
To view, visit https://gerrit.wikimedia.org/r/342312
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1de7ee46021fcfcfe1dfde3c5e2e60182ae45d4a
Gerrit-PatchSet: 2
Gerrit-Project: operations/dumps
Gerrit-Branch: master
Gerrit-Owner: ArielGlenn <[email protected]>
Gerrit-Reviewer: ArielGlenn <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to