osmith has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ci/+/28927 )
Change subject: obs-mirror.sh: exclude dotfiles
......................................................................
obs-mirror.sh: exclude dotfiles
There's a .~tmp~ file on the remote that currently causes the rsync
command to fail. Ignore all files starting with a dot.
Fix for:
rsync: [sender] opendir
"/opensuse/repositories/network:/osmocom:/nightly/Raspbian_11/.~tmp~" (in
opensuse-full-really-everything-including-repositories) failed: Permission denied (13)
It's time to update the script to sync the
obs.osmocom.org packages
instead of the ones from
build.opensuse.org, I'll do that in the next
patch. Nevertheless, I think it makes sense to add this exclude argument
in case OBS (our instance) also creates temporary files like this.
Change-Id: Iacee2ea4acada60d8de960592fb828911a55781e
---
M contrib/obs-mirror/obs-mirror.sh
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
fixeria: Looks good to me, but someone else must approve
pespin: Looks good to me, but someone else must approve
osmith: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/contrib/obs-mirror/obs-mirror.sh b/contrib/obs-mirror/obs-mirror.sh
index 895afac..e970cab 100755
--- a/contrib/obs-mirror/obs-mirror.sh
+++ b/contrib/obs-mirror/obs-mirror.sh
@@ -25,7 +25,7 @@
cd "$BASE_DIR"
RSYNC_ARGS="-av --delete"
-RSYNC_ARGS="$RSYNC_ARGS --files-from $SCRIPT_DIR/obs-mirror-include.txt
--recursive"
+RSYNC_ARGS="$RSYNC_ARGS --files-from $SCRIPT_DIR/obs-mirror-include.txt --recursive
--exclude='.*'"
DIR="$BASE_DIR/$DATE"
TEMP_DIR="$BASE_DIR/.temp"
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ci/+/28927
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Iacee2ea4acada60d8de960592fb828911a55781e
Gerrit-Change-Number: 28927
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged