<div class="container">
<h1>Recommended update for osc</h1>
<table class="table table-striped table-bordered">
<tbody>
<tr>
<th>Announcement ID:</th>
<td>SUSE-RU-2025:03279-1</td>
</tr>
<tr>
<th>Release Date:</th>
<td>2025-09-19T14:13:56Z</td>
</tr>
<tr>
<th>Rating:</th>
<td>moderate</td>
</tr>
<tr>
<th>References:</th>
<td>
<ul>
</ul>
</td>
</tr>
<tr>
<th>Affected Products:</th>
<td>
<ul class="list-group">
<li class="list-group-item">Development Tools Module 15-SP6</li>
<li class="list-group-item">Development Tools Module 15-SP7</li>
<li class="list-group-item">openSUSE Leap 15.6</li>
<li class="list-group-item">SUSE Linux Enterprise Desktop 15 SP6</li>
<li class="list-group-item">SUSE Linux Enterprise Desktop 15 SP7</li>
<li class="list-group-item">SUSE Linux Enterprise Real Time 15 SP6</li>
<li class="list-group-item">SUSE Linux Enterprise Real Time 15 SP7</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15 SP6</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15 SP7</li>
<li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 15 SP6</li>
<li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 15 SP7</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>An update that can now be installed.</p>
<h2>Description:</h2>
<p>This update for osc fixes the following issues:</p>
<p>osc was updated to 1.20.0:</p>
<ul>
<li>
<p>Command-line:</p>
<ul>
<li>Fix 'osc fork' command to use the right tracking branch</li>
<li>Fix 'osc blt' command by checking if the working copy is a package</li>
<li>Make 'osc buildlog' work outside of osc package directory</li>
<li>Add 'git-obs pr close' and 'git-obs pr reopen' commands</li>
<li>Add 'close' option to 'git-obs pr review interactive'</li>
<li>Change 'git-obs pr review interactive' to work with all archives, not only those in Git LFS</li>
<li>Fix checkout of the base branch in 'git-obs pr review interactive' command</li>
</ul>
</li>
<li>
<p>Library:</p>
<ul>
<li>Support _manifest file in git store</li>
<li>Allow pull request IDs in '<owner>/<repo>!<number>' format</li>
<li>Properly handle deleted users and teams in the git-obs timeline</li>
<li>Handle situations when there's 'None' among timeline entries</li>
<li>Skip binary files in gitea_api.PullRequest.get_patch()</li>
<li>Change get_user_input(), add support for vertically printed list of answers</li>
</ul>
</li>
<li>
<p>Spec:</p>
<ul>
<li>Provide git-obs</li>
</ul>
</li>
</ul>
<p>Update to 1.19.1:</p>
<ul>
<li>
<p>Command-line:</p>
<ul>
<li>Use OSC_PACKAGE_CACHE_DIR env var instead of deprecated OSC_PACKAGECACHEDIR</li>
</ul>
</li>
<li>
<p>Connection:</p>
<ul>
<li>Check for both upper and lowercase versions of HTTP_PROXY and HTTPS_PROXY env vars</li>
</ul>
</li>
<li>
<p>Library:</p>
<ul>
<li>Add 'trackingbranch' field to ScmsyncObsinfo model</li>
<li>Revert "Return None if GitStore cannot determine apiurl"</li>
<li>Throw a proper exception when 'apiurl' argument of 'makeurl()' is empty</li>
<li>Move code setting apiurl from store to 'osc.conf.get_config()'</li>
<li>Simplify 'osc.commandline.Osc.get_api_url()' to return the value from 'self.options'</li>
<li>Remove 'osc.commandline.Osc.post_argparse()' because it's no longer used</li>
<li>Fix unit tests to use the new code path to run osc</li>
<li>Fix osc.gitea_api.dt_sanitize() by replacing dateutil with datetime</li>
</ul>
</li>
</ul>
<p>Update to 1.19.0:</p>
<ul>
<li>
<p>Command-line:</p>
<ul>
<li>Add 'git-obs pr cancel-scheduled-merge' command</li>
<li>Add timeline to 'git-obs pr review interactive'</li>
<li>Add '--timeline' option to 'git-obs pr get'</li>
<li>Fix 'git-obs pr search' by using pagination to retrieve all results</li>
<li>Extend '--message' option in git-obs subcommands with the '-m' short option</li>
<li>Add a different message for scheduled merges in 'git-obs pr merge' command</li>
</ul>
</li>
<li>
<p>Library:</p>
<ul>
<li>Add 'conn' parameter to gitea_api.common.GiteaModel</li>
<li>Add gitea_api.Connection.scheme attribute</li>
<li>Add gitea_api.PullRequest.merge_commit property</li>
<li>Add gitea_api.PullRequest.get_owner_repo_number()</li>
<li>Add gitea_api.common.dt_sanitize() for sanitizing datetime strings</li>
<li>Handle missing head repo in the PullRequest properties</li>
<li>Return None if GitStore cannot determine apiurl</li>
<li>Remove extra newline from store files</li>
<li>Fix the 'Move remaining imports in osc.babysitter into try-except block' change by preserving the order of handling the exceptions</li>
</ul>
</li>
<li>
<p>Spec:</p>
<ul>
<li>Use primary_python to define runtime requires matching the shebang lines</li>
<li>Provide %{use_python_pkg}-osc for all pythons and python3-osc for primary_python</li>
<li>Add conflict with obs-scm-bridge < 0.7.3</li>
</ul>
</li>
</ul>
<p>Update to 1.18.0:</p>
<ul>
<li>
<p>Command-line:</p>
<ul>
<li>Add 'git-obs pr comment [--message=...]' command</li>
<li>Add 'git-obs pr show-patch' command</li>
<li>Add '--reviewer' option to 'git-obs pr review {approve,decline,interactive}' to support group reviews via group review bot</li>
<li>Update 'git-obs pr review interactive' to return non-zero return codes for 'exit' and 'skip' actions</li>
<li>Make 'osc results --show-excluded' work in a project context</li>
<li>Add '--no-pager' global option</li>
<li>Fix 'osc fork' by copying whole query part to the new scmsync url</li>
<li>Fix 'osc buildinfo' for git packages by handing the 'build_repositories' files by store objects</li>
<li>Fix crash in 'git-obs pr get --patch'</li>
<li>Fix git-obs to exit with 130 on keyboard interrupt</li>
<li>Fix --sccache help typo in 'osc build' command</li>
</ul>
</li>
<li>
<p>Connection:</p>
<ul>
<li>Don't retry requests on 504 Gateway Timeout</li>
</ul>
</li>
<li>
<p>Library:</p>
<ul>
<li>If a devel project is not specified, try reading it from a mapping from URL set in OBS:GitDevelProjectMap project attribute</li>
<li>Improve detection of packages and projects in git</li>
<li>scmsync_obsinfo: Pass correct revision to obs-scm-bridge</li>
<li>Add obs_api.Request.search() method</li>
<li>Raise an exception if obs-scm-bridge fails</li>
<li>Fix obs_scm.Package.get_pulled_srcmd5() returning an empty string</li>
<li>Fix git store to support non-default remote</li>
<li>Extend 'gitea_api.User.get()' to take 'username' parameter</li>
<li>Move get_editor() and related functions from command-line module to gitea_api.common</li>
<li>Migrate subcommands from using Store() to get_store() that is git aware</li>
<li>Make imports lazy to imporove osc load times</li>
</ul>
</li>
</ul>
<h2>Patch Instructions:</h2>
<p>
To install this SUSE update use the SUSE recommended
installation methods like YaST online_update or "zypper patch".<br/>
Alternatively you can run the command listed for your product:
</p>
<ul class="list-group">
<li class="list-group-item">
Development Tools Module 15-SP7
<br/>
<code>zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP7-2025-3279=1</code>
</li>
<li class="list-group-item">
openSUSE Leap 15.6
<br/>
<code>zypper in -t patch SUSE-2025-3279=1 openSUSE-SLE-15.6-2025-3279=1</code>
</li>
<li class="list-group-item">
Development Tools Module 15-SP6
<br/>
<code>zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP6-2025-3279=1</code>
</li>
</ul>
<h2>Package List:</h2>
<ul>
<li>
Development Tools Module 15-SP7 (noarch)
<ul>
<li>osc-1.20.0-150600.15.6.1</li>
</ul>
</li>
<li>
openSUSE Leap 15.6 (noarch)
<ul>
<li>osc-1.20.0-150600.15.6.1</li>
</ul>
</li>
<li>
Development Tools Module 15-SP6 (noarch)
<ul>
<li>osc-1.20.0-150600.15.6.1</li>
</ul>
</li>
</ul>
</div>