<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ci/+/26623">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">contrib/obs-mirror: adjust includelist path<br><br>Point at obs-mirror-include.txt from this git repository.<br><br>Related: OS#4862<br>Change-Id: I4c6a6e424fd727de4e8058c916aa7eb43e7eb4b2<br>---<br>M contrib/obs-mirror/obs-mirror.sh<br>M contrib/obs-mirror/test-include-list.sh<br>2 files changed, 4 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/23/26623/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/contrib/obs-mirror/obs-mirror.sh b/contrib/obs-mirror/obs-mirror.sh</span><br><span>index 76317c4..8d25c2d 100755</span><br><span>--- a/contrib/obs-mirror/obs-mirror.sh</span><br><span>+++ b/contrib/obs-mirror/obs-mirror.sh</span><br><span>@@ -10,6 +10,7 @@</span><br><span> # See also: OS#4862</span><br><span> </span><br><span> set -e -x</span><br><span style="color: hsl(120, 100%, 40%);">+SCRIPT_DIR="$(realpath "$(dirname "$(realpath "$0")")")"</span><br><span> </span><br><span> # base directory on the local side</span><br><span> BASE_DIR="/downloads/obs-mirror/"</span><br><span>@@ -19,7 +20,7 @@</span><br><span> cd "$BASE_DIR"</span><br><span> </span><br><span> RSYNC_ARGS="-av --delete"</span><br><span style="color: hsl(0, 100%, 40%);">-RSYNC_ARGS="$RSYNC_ARGS --files-from /home/pkgmirror/obs-mirror-include.txt --recursive"</span><br><span style="color: hsl(120, 100%, 40%);">+RSYNC_ARGS="$RSYNC_ARGS --files-from $SCRIPT_DIR/obs-mirror-include.txt --recursive"</span><br><span> DATE=`date +%Y%m%d-%H%M%S`</span><br><span> </span><br><span> # create output directory</span><br><span>diff --git a/contrib/obs-mirror/test-include-list.sh b/contrib/obs-mirror/test-include-list.sh</span><br><span>index 6766403..829e8f7 100755</span><br><span>--- a/contrib/obs-mirror/test-include-list.sh</span><br><span>+++ b/contrib/obs-mirror/test-include-list.sh</span><br><span>@@ -1,4 +1,5 @@</span><br><span> #!/bin/sh -ex</span><br><span style="color: hsl(120, 100%, 40%);">+SCRIPT_DIR="$(realpath "$(dirname "$(realpath "$0")")")"</span><br><span> BASE_DIR="/downloads/obs-mirror/"</span><br><span> </span><br><span> cd "$BASE_DIR"</span><br><span>@@ -6,7 +7,7 @@</span><br><span> rsync \</span><br><span>         -a \</span><br><span>         --list-only \</span><br><span style="color: hsl(0, 100%, 40%);">-        --files-from /home/pkgmirror/obs-mirror-include.txt \</span><br><span style="color: hsl(120, 100%, 40%);">+        --files-from "$SCRIPT_DIR"/obs-mirror-include.txt \</span><br><span>         --recursive \</span><br><span>         "$(realpath .previous)"/ \</span><br><span>         new-backup-dir/</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ci/+/26623">change 26623</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ci/+/26623"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ci </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I4c6a6e424fd727de4e8058c916aa7eb43e7eb4b2 </div>
<div style="display:none"> Gerrit-Change-Number: 26623 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>