* Tue Jun 24 2025 Daniel Mach <daniel.mach@suse.com>
- 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
* Tue May 20 2025 Daniel Mach <daniel.mach@suse.com>
- 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
* Fri Apr 04 2025 Daniel Mach <daniel.mach@suse.com>
- 1.15.1
- Library:
- Revert "Run decode_it also in the other case"
* Fri Apr 04 2025 Daniel Mach <daniel.mach@suse.com>
- 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
* Fri Mar 28 2025 Adrian Schröter <adrian@suse.de>
- Add temporary hotfix for osc fork
* Thu Mar 20 2025 Daniel Mach <daniel.mach@suse.com>
- 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
* Wed Mar 12 2025 Marcus Rueckert <mrueckert@suse.de>
- 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
* Mon Mar 10 2025 Marcus Rueckert <mrueckert@suse.de>
- if we have primary_python defined lets use this to get runtime
requires matching the shebang lines
* Mon Mar 03 2025 Daniel Mach <daniel.mach@suse.com>
- 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
* Thu Feb 13 2025 Daniel Mach <daniel.mach@suse.com>
- 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