SUSE-RU-2026:0702-1: moderate: Recommended update for osc
SLE-UPDATES
null at suse.de
Mon Mar 2 08:31:19 UTC 2026
# Recommended update for osc
Announcement ID: SUSE-RU-2026:0702-1
Release Date: 2026-02-28T09:59:13Z
Rating: moderate
References:
Affected Products:
* Development Tools Module 15-SP7
* openSUSE Leap 15.6
* SUSE Linux Enterprise Desktop 15 SP7
* SUSE Linux Enterprise Real Time 15 SP7
* SUSE Linux Enterprise Server 15 SP7
* SUSE Linux Enterprise Server for SAP Applications 15 SP7
An update that can now be installed.
## Description:
This update for osc fixes the following issues:
osc was updated to 1.22.0:
* Command-line:
* Add 'git-obs staging' commands
* Add '\--gitea-fork-org' option to 'osc fork' command
* Add '\--git-branch' option to 'osc fork' command
* Add 'DELETE' to 'git-obs api' allowed methods
* Add commit messages as commented lines to the template in 'git-obs pr create'
* Add filtering by label to 'git-obs pr list'
* Properly handle fork mismatch in 'osc fork'
* Change 'osc build' to build from any git repo if '\--alternative-project' is specified
* Fix 'osc service' for git based packages
* Fix 'git-obs pr dump' to skip the dump if the target has the same updated_at timestamp as the pull request in Gitea
* Fix 'git-obs pr dump' to do case insensitive check on owner and repo
* Fix retrieving 'arch' argument in 'osc buildlog'
* Library:
* Add 'status' to the output of gitea_api.Git.get_submodules()
* Add 'remote' argument to gitea_api.Repo.clone_or_update()
* Add gitea_api.common.TemporaryDirectory class that supports 'delete' argument on python 3.6+
* Add gitea_api.GitDiffGenerator class for creating submodule diffs without a git checkout
* Add 'depth' argument to gitea_api.Repo.clone() and clone_or_update()
* Add gitea_api.StagingPullRequestWrapper class for handling staging
* Add gitea_api.PullRequest.get_host_owner_repo_number() method
* Make GitObsCommand.add_argument_owner_repo() and add_argument_owner_repo_pull() reusable by allowing setting 'dest' argument
* Warn if the git package doesn't have the same branch as the parent project
* Extend gitea_api.PullRequest with methods that work with 'PR:' references
* Support setting labels in gitea_api.PullRequest.create()
* Fix gitea_api to use pagination instead of limit -1 everywhere
* Remove duplicate, unused PullRequestReview class from gitea_api.pr
* Move clone_or_update() from 'git-obs pr dump' command to gitea_api.Repo
* Change gitea_api.Repo.clone_or_update() to take 'ssh_private_key_path' argument
* Improve performance of gitea_api.IssueTimelineEntry by listing and caching requests instead of fetching them one by one
* Make GitObsCommand.add_argument_owner_repo() and add_argument_owner_repo_pull() reusable by allowing setting 'help' argument
* Change gitea_api.Repo.clone() to stop borrowing objects when 'reference' or 'reference_if_able' is used
* Fix the resulting dictionary in gitea_api.PullRequest._get_label_ids()
* Make gitea_api.RepoExists exception more helpful by giving a hint to fork under a different name
* Use server_diff() instead of server_diff_noex() to exit with a non-zero return code
* Return preinstallimage.info and allow podman to use preinstallimage
Update to 1.21.0:
* Command-line:
* Modify osc subcommands to error out if they don't work with git
* Add 'git-obs meta' commands for managing the local metadata
* Add 'git-obs meta info' command for printing resolved metadata about the current checkout
* Add -b/--branch option to 'git-obs repo clone' command
* Add 'git-obs pr dump' command to store pull request information on disk
* Add 'git-obs --quiet' option (that mutes printing gitea settings now)
* Automatially pull meta after 'git-obs repo clone'
* Change 'git-obs pr review interactive' to write 'merge ok' comment instead of scheduling a merge
* Mute stderr when creating a worktree in 'git-obs pr review interactive'
* Change 'git-obs -G' to accept url to select a gitea login entry
* Support substitutions in 'osc build --root'
* Fix crash in 'osc build' when 'build_repositories' in store was None
* Fix filtering by reviewers in 'git-obs pr list'
* Update 'osc rq show' command to include history comments in verbose mode
* Library:
* Refactor GitStore
* Migrate git_scm.Store over to gitea_api.Git
* Store buildinfo and buildconfig files in GitStore's cache instead directly in the repo
* Move code from 'git-obs meta pull' command to GitStore.pull()
* Improve GitStore.pull() to support reading project from project.build
* Rephrase the error message about detached HEAD in GitStore
* Improve GitStore's error messages by adding instructions on how to fix missing metadata
* Be more permissive when loading parent project_store in GitStore
* Fix loading _manifest in a project git
* Fix git store to check if all the required fields are present
* Derive package name from topdir if a package is part of a project checkout
* Change 'git-obs pr review interactive' to run pager process as a context manager
* Change obs_api.TarDiff to spawn a process extracting archives as a context manager
* Change 'commit' argument in gitea_api.Git.reset() to optional
* Add gitea_api.Git.get_owner_repo_from_url() staticmethod
* Add gitea_api.Git.urljoin() static method
* Fix gitea_api.Git.get_branch_head() to raise a proper exception if the HEAD cannot be retrieved
* Fix gitea_api.Git to work with the current remote instead of 'origin'
* Fix get_store() to throw the exception from git store if .osc directory is not present
* Introduce GitObsRuntimeError exception and use it where appropriate
* Fix tardiff by removing directories with shutil.rmtree() and files by os.unlink()
* Add 'quiet' option to gitea_api.Git.switch()
* Mute stderr in git_obs.Git.lfs_cat_file()
* Treat None flavor as "" in multibuild resolve
* Make Token.triggered_at optional as it's not available in the oficially released OBS code
* Add BaseModel.from_string() and BaseModel.to_string() methods
* Add BaseModel.from_file() and BaseModel.to_file() methods
* Fix BaseModel to initialize from a dictionary via **init** instead of setattr
* Docs:
* Update docs for the new git metadata store
* Update list of recommended gitea permissions in git-obs-quickstart
* Spec:
* Install git-obs-metadata man page
## Patch Instructions:
To install this SUSE update use the SUSE recommended installation methods like
YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:
* openSUSE Leap 15.6
zypper in -t patch SUSE-2026-702=1 openSUSE-SLE-15.6-2026-702=1
* Development Tools Module 15-SP7
zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP7-2026-702=1
## Package List:
* openSUSE Leap 15.6 (noarch)
* osc-1.22.0-150600.15.9.1
* Development Tools Module 15-SP7 (noarch)
* osc-1.22.0-150600.15.9.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.suse.com/pipermail/sle-updates/attachments/20260302/01091164/attachment.htm>
More information about the sle-updates
mailing list