544 Commits

Author SHA256 Message Date
anag_factory 1abb4e6167 Accepting request 1362992 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1362992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=227
2026-07-01 15:12:25 +00:00
dmach 488adffafa - 1.27.2
- Command-line:
    - Extend 'osc maintained' to also display maintained branches in git
    - Add 'mergeable' field to the output of 'git-obs pr get' and other places using the same output format
    - Add 'osc build' --buildinfo and --buildinfo-debug options
    - Fix 'osc buildinfo --alternative-project' in git checkouts
    - Fix superseding in 'osc submitrequest' command to be resilient to 403 HTTP errors
    - Display a descriptive error message when token is not specified in git-obs
  - Library:
    - Fix Manifest.get_package_paths_bare_git() by using normpath() in path comparison
    - Enable allow_maintainer_edit setting, src.opensuse.org is now on gitea 1.26.2
    - Make 'osc up' and possibly other operations more robust by ignoring FileNotFoundError exception during deletions

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=512
2026-07-01 13:22:44 +00:00
anag_factory 0ee64511e4 Accepting request 1357130 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1357130
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=226
2026-06-04 16:56:07 +00:00
dmach 27cb5ab4be - 1.27.1
- Command-line:
    - Fix 'osc maintaner' not to error out before it prints maintainers in git
  - Library:
    - Fix a regression in Gitea 1.26 where we need to send '{}' instead of an empty body in POST requests

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=510
2026-06-04 10:02:48 +00:00
anag_factory 593ddcc905 Accepting request 1355531 from openSUSE:Tools
- 1.27.0
  - Command-line:
    - Change 'osc fork' to work through a local checkout that need to be reviewed and pushed by a user
    - Change 'git-obs pr create' to use '--source' and '--target' options instead of separate options for owner, repo, and branch
    - Change 'osc rmkpac' to require fragment with branch name in --scmsync url
    - Add 'git-obs pr new-package-request' command
    - Add '--allow-maintainer-edit' option to 'git-obs pr create' and enable it by default
    - Add '--linkrev' option to 'osc co' command, now we can run 'osc co prj/pac --linkrev=base to get to the exact sources for a revision
    - Add link revision to the 'osc info' output for a package
    - Add 'git-obs file maintainership migrate' command
    - Make 'osc up --expand-link' a no-op on non-linked packages
    - Suggest running 'git push' in 'git-obs pr create' when the local checkout differs from the server
    - Avoid making shallow clones in 'git-obs staging' commands, they cannot be pushed to different remotes
    - Fix 'git-obs pr create' to allow creating pull requests between repos in the same fork tree
    - Fix 'git-obs staging remove' to push changes to the correct remote matching with the PR head
    - Fix 'git-obs pr create' when creating a PR in a repo with no parent
    - Fix 'git-obs staging group' by fetching the whole branch instead of --depth=1
    - Fix crash in 'git-obs pr dump' by adding '-c core.commitGraph=false' to 'git clone --dissociate'
    - Fix crash in 'osc buildlog' when repo and arch are not specified
    - Fix crash in 'git-obs pr dump' when timeline contains a null entry
    - Fix crash when running 'osc meta pkg' in a project checkout
    - Clarify error message in 'git-obs pr dump' by providing submodule name
    - Remove a misleading error message when a package doesn't exist during 'osc rq show --diff'
  - Library:
    - Introduce branch_id: add Branch.parse_id(), add GitObsCommand.add_argument_owner_repo_branch()
    - Improve gitea_api.Git to properly detect bare git repos
    - Add gitea_api.PullRequest.merged_at property
    - Add gitea_api.Git.ls_tree() method
    - Add gitea_api.Git methods for working with githooks
    - Add Manifest.get_package_paths_bare_git() that can resolve existing packages in a project in bare git repo

OBS-URL: https://build.opensuse.org/request/show/1355531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=225
2026-05-28 15:28:18 +00:00
dmach 32868ef95d Drop old tarball
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=508
2026-05-28 06:55:59 +00:00
dmach ba0f59c2ab - 1.27.0
- Command-line:
    - Change 'osc fork' to work through a local checkout that need to be reviewed and pushed by a user
    - Change 'git-obs pr create' to use '--source' and '--target' options instead of separate options for owner, repo, and branch
    - Change 'osc rmkpac' to require fragment with branch name in --scmsync url
    - Add 'git-obs pr new-package-request' command
    - Add '--allow-maintainer-edit' option to 'git-obs pr create' and enable it by default
    - Add '--linkrev' option to 'osc co' command, now we can run 'osc co prj/pac --linkrev=base to get to the exact sources for a revision
    - Add link revision to the 'osc info' output for a package
    - Add 'git-obs file maintainership migrate' command
    - Make 'osc up --expand-link' a no-op on non-linked packages
    - Suggest running 'git push' in 'git-obs pr create' when the local checkout differs from the server
    - Avoid making shallow clones in 'git-obs staging' commands, they cannot be pushed to different remotes
    - Fix 'git-obs pr create' to allow creating pull requests between repos in the same fork tree
    - Fix 'git-obs staging remove' to push changes to the correct remote matching with the PR head
    - Fix 'git-obs pr create' when creating a PR in a repo with no parent
    - Fix 'git-obs staging group' by fetching the whole branch instead of --depth=1
    - Fix crash in 'git-obs pr dump' by adding '-c core.commitGraph=false' to 'git clone --dissociate'
    - Fix crash in 'osc buildlog' when repo and arch are not specified
    - Fix crash in 'git-obs pr dump' when timeline contains a null entry
    - Fix crash when running 'osc meta pkg' in a project checkout
    - Clarify error message in 'git-obs pr dump' by providing submodule name
    - Remove a misleading error message when a package doesn't exist during 'osc rq show --diff'
  - Library:
    - Introduce branch_id: add Branch.parse_id(), add GitObsCommand.add_argument_owner_repo_branch()
    - Improve gitea_api.Git to properly detect bare git repos
    - Add gitea_api.PullRequest.merged_at property
    - Add gitea_api.Git.ls_tree() method
    - Add gitea_api.Git methods for working with githooks
    - Add Manifest.get_package_paths_bare_git() that can resolve existing packages in a project in bare git repo

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=507
2026-05-27 14:53:52 +00:00
anag_factory 790213e1a5 Accepting request 1344102 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1344102
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=224
2026-04-01 17:52:42 +00:00
dmach 033e8be9bc - 1.26.0
- Command-line:
    - Add 'git-obs repo init' command
    - Add 'git-obs pr review cancel-request' command
    - Add '--allow-empty' option to 'git-obs pr create' command
    - Add '--source-owner' option to 'git-obs pr list' command
    - Add '--target-repo' and '--source-owner' args to 'git-obs staging group'
    - Improve help of 'git-obs staging' commands
    - Running 'git-obs pr create' without '--description' no longer pops up an editor
    - Fix 'git-obs pr dump' by resetting the pull request branch to the target state and removing any untracked files
    - Allow only relative submodule paths in 'git-obs pr dump'
    - Fix Git.get_submodules() to always retrieve submodule paths relative to git topdir
    - Fix 'osc up' to avoid downloading a file when .osc/sources has a matching copy already
    - Fix 'osc buildlog' output by flushing TTY buffer
    - Fix 'osc search': NameResolutionError and MaxRetryError are not available in urllib3 v1
    - Speed fetching LFS objects in 'git-obs pr forward' up
    - Support '.' expansion for projects in 'osc fork' command
    - Extend 'osc maintainer' search with git based projects and packages
  - Connection:
    - Fix temp ssh public key file creation
  - Configuration:
    - Add 'http_manual_approve' with matching 'OSC_HTTP_MANUAL_APPROVE' env variable to enable user approval on HTTP requests that may change something
  - Library:
    - Add gitea_api.Maintainership class for parsing maintainership.json
    - Add 'relative' argument to Manifest.get_package_paths()
    - Sanitize submodule URLs in'git-obs pr dump' by removing trailing '.git' and '/'
    - Fix BaseModel to handle Dict[str, BaseModel] fields
    - Better handle GitStore in obs_scm.Package
    - Fix GitObsMainCommand.gitea_login
    - Sanitize multiple consequent slashes in prj/pac strings in core.slash_split()
  - Tests:
    - Fix broken tests dicovered after modifying BaseModel for Dict[str, BaseModel] fields
  - Spec:
    - Use pip to build rpm package
    - Add basic pyproject.toml file
    - Change license to SPDX format in setup.cfg
    - Add more supported python versions to classifiers in setup.cfg

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=505
2026-04-01 12:22:23 +00:00
anag_factory 9b0f10d188 Accepting request 1339502 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1339502
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=223
2026-03-17 18:05:00 +00:00
dmach d8c720d28d - 1.25.0
- Command-line:
    - Add 'git-obs pr forward' command that is close to 'osc sr',
      allowing forwarding sources from one branch to another (e.g., Factory to Leap/SLFO) via a Pull Request
    - Add --separate-requests and --dry-run to 'git-obs pr create'
    - Add support for SSH authentication of Gitea API calls in git-obs
    - Change 'git-obs staging group' command to allow PR creation without a fork
    - Change 'git-obs staging group' to rely on the workflow-pr bot
    - Extend 'osc search' with gitea data cached in an external service
    - Use PullRequest.list branch filter in 'git-obs pr list'
    - Make 'osc remotebuildlog' an alias of 'osc buildlog'
  - Library:
    - Add 'target_branch' filter to PullRequest.list()
    - Update gitea_api.Git.get_branch_head() to take optional argument 'remote'
    - Add gitea_api.Git.branch_is_fast_forwardable() method
    - Add gitea_api.Git.has_changes property to determine if there are any staged or unstaged changes in the current working copy
    - Add 'alldirect_or_localdep' entry to LinkedbuildModes enum
    - Fix git_scm.Manifest to skip subdirectories that do not exist
    - Fix oscrc lookup: prefer XDG location, warn if there are multiple configs

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=503
2026-03-17 08:00:55 +00:00
anag_factory 3ff92ee0e3 Accepting request 1334492 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1334492
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=222
2026-02-23 15:13:25 +00:00
dmach 813766d587 - 1.24.0
- Command-line:
    - Add '--target-owner' option to 'git-obs repo fork' command
    - Add '--self' parameter to fix 'no matching parent repo' error message in 'git-obs pr create'
    - Fix 'osc aggregatepac' for scmsync packages
    - Fix 'osc build' to retrieve buildconfig from git package's cache
    - Fix 'osc token' error handling for project wide trigger
    - Fix string formatting for id in obs-request.xml in 'git-obs pr dump'
  - Library:
    - Consolidate build types in build.py and commandline.py
    - Fix build.get_build_type() by comparing binary_type only if specified
    - Make use of queryconfig tool configurable and consistent
    - Fix how get_request_collection() filters the projects and packages
    - Support copying packages from an scmsync source, when target exists
    - Add timestamps to the DEBUG output
    - Update new project template

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=501
2026-02-23 12:46:26 +00:00
anag_factory dbe3d894de Accepting request 1323505 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1323505
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=221
2025-12-18 17:36:04 +00:00
dmach 340d8813a8 Accepting request 1323495 from home:dmach:branches:openSUSE:Tools
- 1.23.0
  - Command-line:
    - Add '--target-owner' option to 'git-obs pr create' to specify the target owner explicitly
    - Add '--target-branch' option to 'git-obs staging search' command
    - Added 'git-obs staging search' command to find project PRs with referenced package PRs that have all been approved
    - Change 'git-obs pr dump' to produce directories that match the specified pull request IDs
    - Change 'git-obs pr dump' to write STATUS file
    - Properly error out on invalid 'PR:' references in 'git-obs pr dump'
    - Fix 'git-obs pr create' when the source repo is not a fork
    - Fix 'git-obs api' command when server returns 'null'
    - Fix 'osc build --alternative-project=...' when there's no .osc in the current directory
    - Fix argument and store handling in 'osc results' command
  - Library:
    - Add Manifest.get_package_paths() method that lists all paths to existings packages in a project
    - Fix Manifest class to handle loading empty YAML files or strings
    - Fix working with meta during git rebase by determining the current branch from rebase head
    - Fix handling local branch when fetching remote
    - Move get_label_ids() from PullRequest to Repo class
    - Change GitStore not to require apiurl anymore
    - Fix storing last_buildroot for git packages
    - Store the last buildroot only if there's a store detected
    - Fix BuildRoot so it acts as a tuple and the individual values are accessible via indexes
    - Make PullReqest.parse_id() more permissive by accepting trailing whitespaces
    - Fix 'missingok' argument in server_diff()
    - Fix gitea_api.PullRequest ordering methods
    - Add return to gitea_api.Branch.list()

OBS-URL: https://build.opensuse.org/request/show/1323495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=499
2025-12-18 10:29:42 +00:00
anag_factory 770be8127a Accepting request 1323001 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1323001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=220
2025-12-16 14:55:56 +00:00
dmach fd0cecf14b Accepting request 1321583 from home:ateixeira:branches:openSUSE:Tools
- PKGBUILD changes
  * Remove redundant packages from makedepends. If a package depends
    on something, it implicitly makedepends on it as well
  * Add python-ruamel-yaml dependency
  * Build and install man pages
  * Add python-argparse-manpage and python-sphinx to makedepends for
    building man pages
  * Add check() to run the test suite
  * Add checkdepends for test suite dependencies
  * Add optdepends as an equivalent to RPM's Recommends, making it
    easier for users to find packages needed for optional features
  * Use $pkgname variable across the script
  * Install shell completion files
  * Bump pkgrel

OBS-URL: https://build.opensuse.org/request/show/1321583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=497
2025-12-15 17:56:02 +00:00
dimstar_suse 71886c1f1f Accepting request 1316960 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1316960
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=219
2025-11-10 18:21:51 +00:00
dmach d89420dec5 Accepting request 1316959 from home:dmach:branches:openSUSE:Tools
Update osc to 1.22.0

OBS-URL: https://build.opensuse.org/request/show/1316959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=495
2025-11-10 15:58:52 +00:00
dimstar_suse 88f132f4db Accepting request 1310635 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1310635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=218
2025-10-11 20:50:16 +00:00
dmach d47774c127 Accepting request 1310593 from home:dmach:branches:openSUSE:Tools
Update osc to 1.21.0
See changelog for details

OBS-URL: https://build.opensuse.org/request/show/1310593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=493
2025-10-10 20:31:26 +00:00
anag_factory eb32a3f0a4 Accepting request 1305159 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1305159
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=217
2025-09-16 16:19:35 +00:00
dmach 6a0c151651 Accepting request 1305151 from home:dmach:branches:openSUSE:Tools
- 1.20.0
  - Command-line:
    - Fix 'osc fork' command to use the right tracking branch
    - Fix 'osc blt' command by checking if the working copy is a package
    - Make 'osc buildlog' work outside of osc package directory
    - Add 'git-obs pr close' and 'git-obs pr reopen' commands
    - Add 'close' option to 'git-obs pr review interactive'
    - Change 'git-obs pr review interactive' to work with all archives, not only those in Git LFS
    - Fix checkout of the base branch in 'git-obs pr review interactive' command
  - Library:
    - Support _manifest file in git store
    - Allow pull request IDs in '<owner>/<repo>!<number>' format
    - Properly handle deleted users and teams in the git-obs timeline
    - Handle situations when there's 'None' among timeline entries
    - Skip binary files in gitea_api.PullRequest.get_patch()
    - Change get_user_input(), add support for vertically printed list of answers
  - Spec:
    - Provide git-obs

OBS-URL: https://build.opensuse.org/request/show/1305151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=491
2025-09-16 12:15:19 +00:00
dimstar_suse c9e6966061 Accepting request 1297848 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1297848
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=216
2025-08-06 12:34:31 +00:00
dmach 6108b39aa0 Accepting request 1297847 from home:dmach:branches:openSUSE:Tools
- 1.19.1
  - Command-line:
    - Use OSC_PACKAGE_CACHE_DIR env var instead of deprecated OSC_PACKAGECACHEDIR
  - Connection:
    - Check for both upper and lowercase versions of HTTP_PROXY and HTTPS_PROXY env vars
  - Library:
    - Add 'trackingbranch' field to ScmsyncObsinfo model
    - Revert "Return None if GitStore cannot determine apiurl"
    - Throw a proper exception when 'apiurl' argument of 'makeurl()' is empty
    - Move code setting apiurl from store to 'osc.conf.get_config()'
    - Simplify 'osc.commandline.Osc.get_api_url()' to return the value from 'self.options'
    - Remove 'osc.commandline.Osc.post_argparse()' because it's no longer used
    - Fix unit tests to use the new code path to run osc
    - Fix osc.gitea_api.dt_sanitize() by replacing dateutil with datetime

OBS-URL: https://build.opensuse.org/request/show/1297847
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=489
2025-08-06 05:08:22 +00:00
dimstar_suse ab28d39e30 Accepting request 1296065 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1296065
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=215
2025-07-28 12:59:15 +00:00
dmach 2af45de36a Accepting request 1296055 from home:dmach:branches:openSUSE:Tools
- 1.19.0
  - Command-line:
    - Add 'git-obs pr cancel-scheduled-merge' command
    - Add timeline to 'git-obs pr review interactive'
    - Add '--timeline' option to 'git-obs pr get'
    - Fix 'git-obs pr search' by using pagination to retrieve all results
    - Extend '--message' option in git-obs subcommands with the '-m' short option
    - Add a different message for scheduled merges in 'git-obs pr merge' command
  - Library:
    - Add 'conn' parameter to gitea_api.common.GiteaModel
    - Add gitea_api.Connection.scheme attribute
    - Add gitea_api.PullRequest.merge_commit property
    - Add gitea_api.PullRequest.get_owner_repo_number()
    - Add gitea_api.common.dt_sanitize() for sanitizing datetime strings
    - Handle missing head repo in the PullRequest properties
    - Return None if GitStore cannot determine apiurl
    - Remove extra newline from store files
    - Fix the 'Move remaining imports in osc.babysitter into try-except block' change by preserving the order of handling the exceptions
  - Spec:
    - Use primary_python to define runtime requires matching the shebang lines
    - Provide %{use_python_pkg}-osc for all pythons and python3-osc for primary_python
    - Add conflict with obs-scm-bridge < 0.7.3

OBS-URL: https://build.opensuse.org/request/show/1296055
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=487
2025-07-28 09:27:15 +00:00
adrianSuSE 20cc5bf0d4 add conflict to old obs-scm-bridge
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=486
2025-07-28 07:19:44 +00:00
anag_factory 207f6e74ab Accepting request 1295143 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1295143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=214
2025-07-23 14:34:08 +00:00
dmach ef0f7577c0 Accepting request 1295111 from home:dmach:branches:openSUSE:Tools
- 1.18.0
  - Command-line:
    - Add 'git-obs pr comment [--message=...]' command
    - Add 'git-obs pr show-patch' command
    - Add '--reviewer' option to 'git-obs pr review {approve,decline,interactive}' to support group reviews via group review bot
    - Update 'git-obs pr review interactive' to return non-zero return codes for 'exit' and 'skip' actions
    - Make 'osc results --show-excluded' work in a project context
    - Add '--no-pager' global option
    - Fix 'osc fork' by copying whole query part to the new scmsync url
    - Fix 'osc buildinfo' for git packages by handing the 'build_repositories' files by store objects
    - Fix crash in 'git-obs pr get --patch'
    - Fix git-obs to exit with 130 on keyboard interrupt
    - Fix --sccache help typo in 'osc build' command
  - Connection:
    - Don't retry requests on 504 Gateway Timeout
  - Library:
    - If a devel project is not specified, try reading it from a mapping from URL set in OBS:GitDevelProjectMap project attribute
    - Improve detection of packages and projects in git
    - scmsync_obsinfo: Pass correct revision to obs-scm-bridge
    - Add obs_api.Request.search() method
    - Raise an exception if obs-scm-bridge fails
    - Fix obs_scm.Package.get_pulled_srcmd5() returning an empty string
    - Fix git store to support non-default remote
    - Extend 'gitea_api.User.get()' to take 'username' parameter
    - Move get_editor() and related functions from command-line module to gitea_api.common
    - Migrate subcommands from using Store() to get_store() that is git aware
    - Make imports lazy to imporove osc load times

OBS-URL: https://build.opensuse.org/request/show/1295111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=484
2025-07-22 15:22:51 +00:00
anag_factory 7b0a953049 Accepting request 1288249 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1288249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=213
2025-06-24 18:50:24 +00:00
dmach 2a5883498c Accepting request 1288240 from home:dmach:branches:openSUSE:Tools
- 1.17.0
  - Command-line:
    - Rename 'git-obs pr review' to 'git-obs pr review interactive'
    - Add 'A)approve and schedule for merging' action to 'git obs pr review interactive'
    - Add 'git-obs pr merge' command
    - Add 'git-obs pr review accept' and 'git-obs pr review decline' commands
    - Implement 'git-obs repo list' command
    - Add '--export' option to 'git-obs pr list' and 'git-obs pr search'
    - Fix crash during token validation in 'git-obs login {add,update}' when value is not specified
    - Fix loading shell completions for 'git-obs'
    - Fix 'git-obs api' by preventing of quoting the URL query part
    - Add a possibility to override git-obs login entries from env
    - Validate arguments in 'osc fork' command
    - Revert "Improve 'updatepacmetafromspec' command to expand rpm spec macros by calling rpmspec to query the data"
    - Improve 'updatepacmetafromspec' command to expand rpm spec macros by calling queryrecipe to query the data (bsc#1243722)
  - Connection:
    - Do not use pipe for ssh-keygen input
  - Library:
    - Refactor gitea_api to use objects with properties instead of raw JSON data
    - Add GiteaModel base class and json_dumps() function that can serialize such objects
    - Rename 'anonymous' argument in 'gitea_api.Repo.clone()' to 'use_http'
    - Allow git in git-obs to be switched from SSH to http(s)
    - Move yaml handling code to osc.util.yaml, add fallback to PyYaml
    - Fix how types are compared in OscOptions.set_value_from_string()
    - get_package_results: check for waiting states in all multibuild packages
    - Extend _buildinfo file lookup to the current directory
    - Fix git store when .git is a file with "gitdir: <path>" link
    - Migrate store_* functions to use get_store instead of the original code
  - Spec:
    - Modify spec to use PyYAML on SLE15

OBS-URL: https://build.opensuse.org/request/show/1288240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=482
2025-06-24 12:20:57 +00:00
dmach 78ff5f4d13 Accepting request 1276933 from home:hecormar:branches:openSUSE:Tools
Fix Debian Unstable build

OBS-URL: https://build.opensuse.org/request/show/1276933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=481
2025-06-19 09:39:09 +00:00
anag_factory 249fc2794c Accepting request 1278651 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1278651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=212
2025-05-20 15:05:09 +00:00
dmach 13e28f9edd Accepting request 1278577 from home:dmach:branches:openSUSE:Tools
- 1.16.0
  - Command-line:
    - Add 'osc rmkpac' subcommand
    - Add 'osc service precommit' subcommand, for use with git hook
    - Add '--target-branch' filter option to 'git-obs pr list'
    - Add '--reviewer' and '--review-state' options to 'git-obs pr list'
    - Add '--no-draft' filter option to 'git-obs pr list'
    - Set limit=0 to disable pagination in all relevant git-obs subcommands
    - Improve help of the 'git-obs login' subcommands
    - Update 'git-obs login {add,update}' to check the gitea token format
    - Fix 'osc fork' when <attributes/> in the source project is empty
    - Fix handling env in tests for 'osc vc'
    - Fix how GitStore reads project from the parent directory
    - Fix 'git-obs pr create' with multistring EDITOR
    - Improve handling exceptions in 'git-obs' command
    - Improve message in 301: Moved Permanently error in git-obs
    - Improve git-obs to read credentials from env variables
    - Remove commas from the list of request IDs in the superseding prompt in 'osc sr'
  - Connection:
    - Fix git-obs connection for urllib3 v1 by overriding the default timeout
  - Library:
    - Add troubleshooting info to gitea_api.Login.DoesNotExist message
    - Add 'min_key_length' argument to KeyValueTable to enforce the minimal length of the first column
    - Fix implicit optionals in type hints to make code PEP 484 compliant
    - Don't crash when OBS API returns None as request description
    - Fix TypeError in response_to_exception() in gitea_api

OBS-URL: https://build.opensuse.org/request/show/1278577
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=479
2025-05-20 11:12:22 +00:00
anag_factory 5f1410d755 Accepting request 1267136 from openSUSE:Tools
Forwarded request #1267135 from dmach

- 1.15.1
  - Library:
    - Revert "Run decode_it also in the other case"

OBS-URL: https://build.opensuse.org/request/show/1267136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=211
2025-04-04 16:09:24 +00:00
dmach 9f1c41b2a4 Accepting request 1267135 from home:dmach:branches:openSUSE:Tools
- 1.15.1
  - Library:
    - Revert "Run decode_it also in the other case"

OBS-URL: https://build.opensuse.org/request/show/1267135
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=477
2025-04-04 12:21:46 +00:00
dmach 750539a938 Accepting request 1267068 from home:dmach:branches:openSUSE:Tools
- 1.15.0
  - Command-line:
    - Improve 'osc fork' to follow the devel package specified in the 'OBS:RejectBranch' attribute
    - Hotfix 'osc fork' failures of devel project users
    - Change 'osc fork' to print an error rather than raising an exception
    - Fix setting parent remote in 'git-obs repo clone'
    - Extend 'osc build' to read build project from Gitea: <owner>/_ObsPrj, project.build file
    - Fix 'osc build' when working with sources from git, when .osc is not available
    - Fix crash in 'osc build --host'
    - Fix rendering help output by adding the complete docstring of the commands
    - Add commented git status to the 'git-obs pr create' message
    - When doing an mr from a working copy check for unchecked modifications
    - Consolidate working copy modification check dialog into a function
  - Connection:
    - Change a debug message to a warning if ssh-keygen is not available
    - Add explanatory message to ignore the signature auth warning when not using SSH keys for auth
  - Library:
    - Implement handling of updateinfo.xml and _modulemd.yaml files
    - Fix working with _subdirs when detecting packages that are subdirectories in a git project
    - Fix canonname handling when querying a downloaded package
    - Add obs_api.Attributes model
    - Add 'quiet' and 'branch' options to gitea_api.Repo.clone()
    - Fix GitStore by parsing git urls with obs_api.Git.urlparse()
    - Add gitea_api.Git.urlparse() for parsing git urls
    - Change gitea_api.Config.url_to_hostname() to also try matching only a hostname instead of full Gitea URL
    - Rename get_parser() functions to argparse_manpage_get_parser() to clarify their purpose
    - Refactor the validity check of cached binaries
  - Other:
    - Update git-obs-quickstart doc with more detailed info on creating tokens
  - Spec:
    - Recommend obs-scm-bridge
    - Build git-obs man page

OBS-URL: https://build.opensuse.org/request/show/1267068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=476
2025-04-04 08:49:17 +00:00
adrianSuSE cc77c98059 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=475
2025-03-28 12:43:46 +00:00
anag_factory 109056652e Accepting request 1254827 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1254827
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=210
2025-03-21 19:22:18 +00:00
dmach d0c59f60de Accepting request 1254826 from home:dmach:branches:openSUSE:Tools
- 1.14.0
  - Command-line:
    - Improve 'osc fork' command to support also forking projects managed in git
    - Extend 'osc fork' command with '--target-project' and '--target-package' options
    - Enable shell completion of various 'git-obs' arguments and options
    - Fix 'git-obs pr create --target-branch'
    - Fix 'osc fork' crash in print_gitea_settings()
    - Use -A/--apiurl specified on the command-line even if running from a checkout
    - Assume openSUSE:Factory if project cannot be determined in 'osc build' command
    - Change 'osc whatdependson' command to take multiple '-M' options incl. wildcards
    - Fix diff highlighting
  - Library:
    - Set pacsuffix='deb' if binarytype=='deb'
    - Add scmsync element to meta template
    - Add missing project_separator substitutions
    - Fix call os.userexpand() on gitea_api.Config() path argument
    - Fix adding arguments to the argument parser so they work with argcomplete
    - Fix MultibuildFlavorResolver to consider an empty flavor during glob match
    - Fix MultibuildFlavorResolver to work with <package> _multibuild elements
    - Remove superfluous setting of apiurl from 'osc fork'
    - Mute mypy errors on field property assignment
    - Add type hint to XmlModel.XML_TAG
    - Support new 'X | None' union syntax in field types
  - Other:
    - Fix 'git-obs login add' command invocation in git-obs-quickstart documentation
  - Spec:
    - Recommends: python3-argcomplete for git-obs

OBS-URL: https://build.opensuse.org/request/show/1254826
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=473
2025-03-20 20:15:54 +00:00
anag_factory 6781502d14 Accepting request 1252399 from openSUSE:Tools
- fix the generic provides for %{use_python_pkg}-osc to be
  versioned so that one can actually have versioned requires
  against that symbol
- restore python3-osc provides if we are building against the
  primary_python version

OBS-URL: https://build.opensuse.org/request/show/1252399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=209
2025-03-12 14:24:46 +00:00
darix 0bb9d6cffb fix typo
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=471
2025-03-12 11:11:37 +00:00
darix 6e9ed71513 - fix the generic provides for %{use_python_pkg}-osc to be
versioned so that one can actually have versioned requires
  against that symbol
- restore python3-osc provides if we are building against the
  primary_python version

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=470
2025-03-12 10:54:24 +00:00
anag_factory d563e8c94d Accepting request 1252010 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1252010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=208
2025-03-11 19:45:44 +00:00
mstrigl c5c5f2f40e Accepting request 1251906 from home:darix:playground
- if we have primary_python defined lets use this to get runtime
  requires matching the shebang lines

OBS-URL: https://build.opensuse.org/request/show/1251906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=468
2025-03-11 10:23:41 +00:00
anag_factory 010ccc2cd4 Accepting request 1249633 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1249633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=207
2025-03-03 15:05:14 +00:00
dmach b198079754 Accepting request 1249622 from home:dmach:branches:openSUSE:Tools
- 1.13.0
  - Command-line:
    - Add 'osc fork' command for forking a package with sources managed in Gitea
    - Add 'git-obs pr review' command
    - Allow 'git-obs login' subcommands to prompt for Gitea tokens
    - Fix 'osc checkout' command to support deleted packages incl. revisions
    - Update 'osc rpmlint' command by adding help message for invoking command in PKG dir
    - Add '--multibuild-package' option to 'osc rpmlint' command
  - Library:
    - Change how git projects and packages are detected
    - Change show_project_sourceinfo() to split a huge request into many and join the results to workaround GET limitations
    - Make 'rev' option in ScmsyncObsinfo.from_api() optional
    - Make GitObsCommand.gitea_{conf,login,conf} properties writable
    - Fix local building of deb dockerfile
    - Fix getting scm_url from scmsync_obsinfo that has subdir set
    - Fix or silence pylint errors
    - Support 'enabled' field in tokens
    - Highlight trailing whitespaces in diffs
    - Fix missing spaces in help string
  - Other:
    - Add git-obs Quickstart documentation and man page

OBS-URL: https://build.opensuse.org/request/show/1249622
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=466
2025-03-03 08:40:17 +00:00
anag_factory e3e75fa0f6 Accepting request 1245676 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1245676
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=206
2025-02-13 17:40:18 +00:00
dmach 356a5fb358 Accepting request 1245662 from home:dmach:branches:openSUSE:Tools
- 1.12.1
  - Command-line:
    - Improve 'maintenancerequest' command to inherit description from superseded request
  - Library:
    - Tell the build script to disable repos/containers handling for normal builds
    - Improve detecting git packages, use .osc metadata from project in parent directory
    - Fix retrieving apiurl from git repositories in get_api_url() in the command-line code
    - Fix typo in core.binary() that caused text files being detected as binary
    - Improve core.binary() by always considering data that contains \0 binary
    - Fix assembling scm_url when scmsync_obsinfo.revision is None

OBS-URL: https://build.opensuse.org/request/show/1245662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=464
2025-02-13 14:35:18 +00:00