ArielGlenn has uploaded a new change for review.
https://gerrit.wikimedia.org/r/248824
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(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/24/248824/1
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: newchange
Gerrit-Change-Id: I36cfd2ebf367c632059ee0ef655f2d3e74c54b06
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits