<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ci/+/23156">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">OBS: latest: run osmo_obs_add_rpm_spec every time<br><br>Replace the current logic, that would only run osmo_obs_add_rpm_spec<br>when adding a new package, or when the version of a package has changed,<br>with running it every time.<br><br>Running the command when it is not needed does not hurt, as it does not<br>take significant time, and osc does not attempt to upload the file when<br>it did not change.<br><br>The advantage is, that we can update/upload the spec file without<br>tagging a new version, if a bug prevented it from getting uploaded<br>before (as it just was the case for all Osmocom packages).<br><br>Related: OS#5054<br>Change-Id: Ie067c97b5f54ec5b3309ddbd2bfb7f846cd0ccd3<br>---<br>M scripts/osmocom-latest-packages.sh<br>1 file changed, 3 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/56/23156/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh</span><br><span>index 9bf08eb..fddcf0c 100755</span><br><span>--- a/scripts/osmocom-latest-packages.sh</span><br><span>+++ b/scripts/osmocom-latest-packages.sh</span><br><span>@@ -96,7 +96,6 @@</span><br><span>     mv "$output/"*.tar* "$TOP/$PROJ/$project/"</span><br><span>     cd "$TOP/$PROJ"</span><br><span>     osc add "$project"</span><br><span style="color: hsl(0, 100%, 40%);">-    osmo_obs_add_rpm_spec "$TOP/$PROJ/$project" "$TOP/$project" "$project" "osmocom-latest"</span><br><span>   else</span><br><span>     cd "$TOP/$PROJ/$project"</span><br><span> </span><br><span>@@ -107,9 +106,11 @@</span><br><span>       mv "$output/"*.dsc .</span><br><span>       mv "$output/"*.tar* .</span><br><span>       osc add ./*</span><br><span style="color: hsl(0, 100%, 40%);">-      osmo_obs_add_rpm_spec "$PWD" "$TOP/$project" "$project" "osmocom-latest"</span><br><span>     fi</span><br><span>   fi</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+  osmo_obs_add_rpm_spec "$TOP/$PROJ/$project" "$TOP/$project" "$project" "osmocom-latest"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>   cd "$TOP"</span><br><span> }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ci/+/23156">change 23156</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/+/23156"/><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: Ie067c97b5f54ec5b3309ddbd2bfb7f846cd0ccd3 </div>
<div style="display:none"> Gerrit-Change-Number: 23156 </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>