7 Commits

Author SHA256 Message Date
a23dfa19be 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
361a299aaa - 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/package/show/openSUSE:Tools/osc?expand=0&rev=489
2025-08-06 05:08:22 +00:00
91df96dc09 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
60c586d8e8 - 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/package/show/openSUSE:Tools/osc?expand=0&rev=487
2025-07-28 09:27:15 +00:00
5be901483f 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
10fab1755e 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
12d618edac - 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/package/show/openSUSE:Tools/osc?expand=0&rev=484
2025-07-22 15:22:51 +00:00
7 changed files with 83 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
pkgname=osc
pkgver=1.17.0
pkgver=1.19.1
pkgrel=0
pkgdesc="Command-line client for the Open Build Service"
arch=('x86_64')

View File

@@ -1,4 +1,4 @@
osc (1.17.0-0) unstable; urgency=low
osc (1.19.1-0) unstable; urgency=low
* Placeholder

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12e1d4fcca71a5b8e23dfc6476292d6c70bdda240ac597b7664d6df7aea90469
size 448707

3
osc-1.19.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:548b15d4b04c86f606cf6d7621aedbf120739df845e3bab79502f96d7aa94f82
size 456644

View File

@@ -1,3 +1,78 @@
-------------------------------------------------------------------
Wed Aug 6 05:04:19 UTC 2025 - Daniel Mach <daniel.mach@suse.com>
- 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
-------------------------------------------------------------------
Mon Jul 28 08:46:19 UTC 2025 - Daniel Mach <daniel.mach@suse.com>
- 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
-------------------------------------------------------------------
Tue Jul 22 13:45:17 UTC 2025 - Daniel Mach <daniel.mach@suse.com>
- 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
-------------------------------------------------------------------
Tue Jun 24 11:36:43 UTC 2025 - Daniel Mach <daniel.mach@suse.com>

View File

@@ -1,6 +1,6 @@
Format: 1.0
Source: osc
Version: 1.17.0-0
Version: 1.19.1-0
Binary: osc
Maintainer: Adrian Schroeter <adrian@suse.de>
Architecture: any

View File

@@ -80,7 +80,7 @@
%endif
Name: osc
Version: 1.17.0
Version: 1.19.1
Release: 0
Summary: Command-line client for the Open Build Service
License: GPL-2.0-or-later
@@ -149,6 +149,7 @@ Recommends: git-lfs
# needed for osc co of a git package
Recommends: obs-scm-bridge
Conflicts: obs-scm-bridge < 0.7.3
# needed for `osc add <URL>`
Recommends: obs-service-recompress