1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-05 15:13:39 +02:00
Commit Graph

5465 Commits

Author SHA1 Message Date
b8311756c8 Merge pull request #1857 from dmach/git-obs-group-reviews
Add support for reviews via group review bot
2025-07-07 14:28:31 +02:00
325c007247 Add '--reviewer' option to 'git-obs pr review {approve,decline,interactive}' to support group reviews via group review bot 2025-07-07 11:58:53 +02:00
5724288ca8 Extend 'gitea_api.User.get()' to take 'username' parameter 2025-07-07 11:41:10 +02:00
07b2c7560c Add 'git-obs pr comment [--message=...]' command 2025-07-07 11:41:10 +02:00
666e9ab7c0 Move get_editor() and related functions from command-line module to gitea_api.common 2025-07-07 11:41:10 +02:00
cd92782d58 Merge pull request #1851 from dmach/git-obs-pr-review-interactive-exit-codes
Update 'git-obs pr review interactive' to return non-zero return codes for 'exit' and 'skip' actions
2025-07-07 11:24:13 +02:00
d17c63c29a Merge pull request #1861 from dmach/osc-improve-git-detection-git-osc-same-dir
Improve detection of git package when project git contains both .git and .osc
2025-07-07 11:22:45 +02:00
0009c67ec7 Merge pull request #1863 from dmach/fixup-1843-behave-scmsync-gitea-port
behave: Rewrite Gitea port to the actual port we use during testing
2025-07-07 10:49:34 +02:00
6d2586d780 GHA: install libwww-perl required by obs-scm-bridge in behave tests 2025-07-07 10:36:04 +02:00
41c87b9fca behave: Rewrite Gitea port to the actual port we use during testing 2025-07-07 08:28:11 +02:00
a416953f6d Merge pull request #1843 from Vogtinator/scmbridgefail
Raise an exception if obs-scm-bridge fails
2025-07-07 08:28:01 +02:00
aaa7015122 Merge pull request #1754 from dmach/add-obs_api.Request.search
Add obs_api.Request.search() method
2025-07-07 08:24:38 +02:00
42024c2c91 Fix RequestWrongOrder output during tests 2025-07-07 08:13:20 +02:00
f25d970e01 Add obs_api.Request.search() method 2025-07-07 08:13:20 +02:00
1a5e298de8 Add typing.Iterable to osc.util.models module 2025-07-07 08:13:20 +02:00
1bd730f5ba Merge pull request #1862 from dmach/osc-fork-all-scmsync-query-params
Fix 'osc fork' by copying whole query part to the new scmsync url
2025-07-07 08:08:32 +02:00
f3029c4b13 Merge pull request #1860 from dmach/osc-connection-dont-retry-on-504
Don't retry requests on 504 Gateway Timeout
2025-07-07 08:07:45 +02:00
867d376447 Merge pull request #1850 from dmach/git-obs-pr-show-patch
Add 'git-obs pr show-patch' command
2025-07-04 10:54:18 +02:00
dbf5b5d528 Update 'git-obs pr review interactive' to return non-zero return codes for 'exit' and 'skip' actions 2025-07-04 10:52:50 +02:00
f4f36cbb4e Fix 'osc fork' by copying whole query part to the new scmsync url 2025-07-04 09:34:54 +02:00
4169445ee2 Improve detection of git package when project git contains both .git and .osc 2025-07-03 22:02:23 +02:00
86b400195e Migrate subcommands from using Store() to get_store() that is git aware 2025-07-03 21:54:24 +02:00
d8c6c36ff8 Don't retry requests on 504 Gateway Timeout
Proxy that is in front of OBS may timeout which would trigger a retry.
At the same time, the request may succeed.
Some operations may lead to creating duplicate entries such as requests.
Removing 504 from retries seems to be the easiest fix.
2025-07-03 21:32:38 +02:00
a198fc4972 Merge pull request #1858 from dirkmueller/update_tests
update to test against the currently supported releases
2025-07-03 10:17:16 +02:00
5bd65b3bf1 update to test against the currently supported releases 2025-07-02 11:59:20 +02:00
fcf69f3731 Merge pull request #1855 from hramrach/disturl
scmsync_obsinfo: Pass correct revision to obs-scm-bridge
2025-07-02 11:03:58 +02:00
Michal Suchanek
97c7053d4c scmsync_obsinfo: Pass correct revision to obs-scm-bridge
revision is the branch which the package tracks, and commit is the sha
of the sources used.

Fixes: #1644
2025-06-30 13:46:12 +02:00
c3811fdc3b Add 'git-obs pr show-patch' command 2025-06-25 15:32:17 +02:00
f31669ff3a Merge pull request #1848 from openSUSE/git_store_custom_origin
Fix non-default origin
2025-06-25 15:24:15 +02:00
0cfbcfcd05 Fix crash in 'git-obs pr get --patch' 2025-06-25 15:03:48 +02:00
Andrii Nikitin
7c3a089609 fix non-default origin 2025-06-25 14:59:20 +02:00
8ff667d28e Merge pull request #1849 from dirkmueller/pbuild_handling
Fix detection of gitstore
2025-06-25 14:54:06 +02:00
59fe5e8cb9 Fix detection of gitstore 2025-06-25 14:31:53 +02:00
5b0a760a5a release 1.17.0 1.17.0 2025-06-24 13:30:34 +02:00
10f3ba264d Merge pull request #1830 from dmach/updatepacmetafromspec-queryrecipe
Improve 'updatepacmetafromspec' command to expand rpm spec macros by calling queryrecipe to query the data
2025-06-24 13:13:32 +02:00
aee38ee7e4 Merge pull request #1846 from dmach/fix-completion
Fix completion causing exiting shell in some cases
2025-06-24 09:18:04 +02:00
dfdad97ea1 Fix completion causing exiting shell in some cases
Calling 'exit 0' turned to be quite aggresive and caused exiting shell in some cases
2025-06-24 08:34:16 +02:00
b7f614cd00 Merge pull request #1845 from andreas-schwab/master
get_package_results: check for waiting states in all multibuild packages
2025-06-23 20:56:34 +02:00
c4c95ea5d8 Improve 'updatepacmetafromspec' command to expand rpm spec macros by calling queryrecipe to query the data (bsc#1243722) 2025-06-23 20:48:14 +02:00
5fe5993436 get_package_results: check for waiting states in all multibuild packages 2025-06-23 16:48:47 +02:00
Fabian Vogt
f542b724f1 Raise an exception if obs-scm-bridge fails
Otherwise the checkout is incomplete
2025-06-23 16:09:04 +02:00
dd2e556347 Merge pull request #1841 from hramrach/sig
Do not use pipe for ssh-keygen input
2025-06-23 14:35:07 +02:00
Michal Suchanek
e6c38a24d6 Do not use pipe for ssh-keygen input
Fixes: #1778
2025-06-23 14:20:48 +02:00
fb36b23d7e Merge pull request #1842 from dmach/git-obs-repo-list
Implement 'git-obs repo list' command
2025-06-23 14:18:04 +02:00
e9d50fdcae Add support for json export to 'git-obs repo list' 2025-06-23 10:31:45 +02:00
ce548685c1 Add GiteaModel base class and json_dumps() function that can serialize such objects 2025-06-23 10:31:45 +02:00
63067fd8ae Implement 'git-obs repo list' command 2025-06-23 10:31:45 +02:00
4a24707c84 Merge pull request #1783 from dmach/osc_yaml
Use PyYAML on SLE15
2025-06-19 14:37:48 +02:00
81cc0c9ee6 Modify spec to use PyYAML on SLE15 2025-06-19 11:37:10 +02:00
17e6504e36 Move yaml handling code to osc.util.yaml, add fallback to PyYaml 2025-06-19 11:37:10 +02:00