ArielGlenn has submitted this change and it was merged.

Change subject: dumps: update listing of files for rsync to lastest rsync args
......................................................................


dumps: update listing of files for rsync to lastest rsync args

rsync 3.01 and on human formats sizes of files and requires
a special option not to do so. e don't want the commas so use
the option.

Change-Id: I36cfd2ebf367c632059ee0ef655f2d3e74c54b06
---
M modules/snapshot/files/dumps/list-last-n-good-dumps.py
1 file changed, 3 insertions(+), 2 deletions(-)

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



diff --git a/modules/snapshot/files/dumps/list-last-n-good-dumps.py 
b/modules/snapshot/files/dumps/list-last-n-good-dumps.py
index 566be88..15ac40d 100755
--- a/modules/snapshot/files/dumps/list-last-n-good-dumps.py
+++ b/modules/snapshot/files/dumps/list-last-n-good-dumps.py
@@ -401,8 +401,9 @@
         """produce long listing of files from a specific dump run,
         by passing the file list to rsync --list-only"""
         fpath = self.getAbsOutDirPath(f)
-        command = ["/usr/bin/rsync", "--list-only", "--files-from",
-                   fpath + ".relpath", self.config.publicDir,
+        command = ["/usr/bin/rsync", "--list-only", "--no-h",
+                   "--files-from", fpath + ".relpath",
+                   self.config.publicDir,
                    "dummy", ">", fpath + ".rsync"]
         commandString = " ".join(command)
         proc = Popen(commandString, shell=True, stderr=PIPE)

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I36cfd2ebf367c632059ee0ef655f2d3e74c54b06
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
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