<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ci/+/26625">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">contrib/obs-mirror: redirect all output to a log file<br><br>Related: SYS#5764<br>Change-Id: Ie56c901877a3b0a1ad566cb243ab698f292407d5<br>---<br>M contrib/obs-mirror/obs-mirror.sh<br>M contrib/obs-mirror/rm-old-nightly-archives.sh<br>2 files changed, 6 insertions(+), 0 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/25/26625/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 6ac3484..529aea1 100755</span><br><span>--- a/contrib/obs-mirror/obs-mirror.sh</span><br><span>+++ b/contrib/obs-mirror/obs-mirror.sh</span><br><span>@@ -9,6 +9,9 @@</span><br><span> #</span><br><span> # See also: OS#4862</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+echo "Redirecting all output to: /home/pkgmirror/obs-mirror.log"</span><br><span style="color: hsl(120, 100%, 40%);">+exec >"/home/pkgmirror/obs-mirror.log" 2>&1</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> set -e -x</span><br><span> SCRIPT_DIR="$(realpath "$(dirname "$(realpath "$0")")")"</span><br><span> </span><br><span>diff --git a/contrib/obs-mirror/rm-old-nightly-archives.sh b/contrib/obs-mirror/rm-old-nightly-archives.sh</span><br><span>index 3a5f276..e28bce1 100755</span><br><span>--- a/contrib/obs-mirror/rm-old-nightly-archives.sh</span><br><span>+++ b/contrib/obs-mirror/rm-old-nightly-archives.sh</span><br><span>@@ -1,5 +1,8 @@</span><br><span> #!/bin/sh -e</span><br><span> # Remove nightly archives older than one month (OS#4862)</span><br><span style="color: hsl(120, 100%, 40%);">+echo "Redirecting all output to: /home/pkgmirror/rm-old-nightly-archives.log"</span><br><span style="color: hsl(120, 100%, 40%);">+exec >"/home/pkgmirror/rm-old-nightly-archives.log" 2>&1</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> DRY=0</span><br><span> </span><br><span> # Get removal date in seconds since epoch and display it</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ci/+/26625">change 26625</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/+/26625"/><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: Ie56c901877a3b0a1ad566cb243ab698f292407d5 </div>
<div style="display:none"> Gerrit-Change-Number: 26625 </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>