Dzahn has submitted this change and it was merged.

Change subject: mailman: adjust rsync script, exclude bounces
......................................................................


mailman: adjust rsync script, exclude bounces

include heldmsg-* files
exclude bounce-event-* files
exclude *.pw files

no trailing / , we want stuff in ./import/data/

Bug:T108071
Change-Id: I9a6d858de2a9b54b9ed1fb08fa1ebc985d9b70d0
---
M modules/mailman/files/scripts/rsync_lists.sh
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/modules/mailman/files/scripts/rsync_lists.sh 
b/modules/mailman/files/scripts/rsync_lists.sh
index 6f8f021..ec75701 100755
--- a/modules/mailman/files/scripts/rsync_lists.sh
+++ b/modules/mailman/files/scripts/rsync_lists.sh
@@ -11,6 +11,6 @@
 
 done
 
-/usr/bin/rsync -avp ${INSTALL_DIR}/data/ --include="heldmsg-*" 
rsync://${RSYNC_TARGET}
+/usr/bin/rsync -avp ${INSTALL_DIR}/data --include="heldmsg-*" --exclude="*.pw" 
--exclude="bounce-*" rsync://${RSYNC_TARGET}
 
 echo "done rsyncing\n"

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9a6d858de2a9b54b9ed1fb08fa1ebc985d9b70d0
Gerrit-PatchSet: 5
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: John F. Lewis <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to