1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-11-01 20:12:15 +01:00
Commit Graph

26 Commits

Author SHA1 Message Date
12bfd69bc2 Set limit=0 to disable pagination in all relevant git-obs subcommands 2025-05-20 09:24:12 +02:00
aa8a48b79b Implement '--reviewer' and '--review-state' options for 'git-obs pr list' 2025-05-12 17:11:27 +02:00
d794e86925 Fix TypeError in response_to_exception() in gitea_api
Gitea seems to be inconsistent in including the "errors" entry in responses.
It may be completely missing or set to null/None.
2025-05-07 08:31:34 +02:00
dabe585c6d Merge pull request #1786 from dmach/git-obs-better-exceptions
Improve handling exceptions in 'git-obs' command
2025-05-06 13:42:56 +02:00
a380dc8624 Improve git-obs to read credentials from env variables
Supported variables:
- GIT_OBS_GITEA_URL (mandatory)
- GIT_OBS_GITEA_USER (mandatory)
- GIT_OBS_GITEA_TOKEN (mandatory)
- GIT_OBS_GITEA_SSH_KEY (optional)
2025-05-05 14:08:19 +02:00
cea248ce71 Improve handling exceptions in 'git-obs' command 2025-04-23 13:42:48 +02:00
db95d8ff9a Merge pull request #1780 from dmach/git-obs-improve-help
Improve help of the 'git-obs login' subcommands
2025-04-22 17:23:41 +02:00
4b10e0381e Improve help of the 'git-obs login' subcommands 2025-04-22 16:25:32 +02:00
a27786ef96 Fix git-obs connection for urllib3 v1 by overriding the default timeout 2025-04-15 15:51:46 +02:00
fffdda9840 Add troubleshooting info to gitea_api.Login.DoesNotExist message 2025-04-07 11:40:54 +02:00
9779c6cc4f Merge pull request #1760 from dmach/osc-build-project-from-_ObsPrj
Extend 'osc build' and 'osc fork' to use project.build file from Gitea, 'osc fork' also follows the devel project now
2025-04-02 15:06:27 +02:00
ca6e48fc59 Fix setting parent remote in 'git-obs repo clone' 2025-04-02 13:53:50 +02:00
ad2413d959 Fix GitStore by parsing git urls with obs_api.Git.urlparse() 2025-04-02 10:12:02 +02:00
292030dbb4 Add gitea_api.Git.urlparse() for parsing git urls 2025-04-02 10:12:02 +02:00
131aa57265 Add commented git status to the 'git-obs pr create' message 2025-04-01 10:16:26 +02:00
b14da66369 Change gitea_api.Config.url_to_hostname() to also try matching only a hostname instead of full Gitea URL 2025-03-31 20:35:42 +02:00
5827582b58 Add 'quiet' and 'branch' options to gitea_api.Repo.clone() 2025-03-31 17:56:47 +02:00
602315ea18 Fix call os.userexpand() on gitea_api.Config() path argument 2025-03-19 20:07:52 +01:00
ea24281859 Implement 'git-obs pr review' command 2025-02-21 14:13:12 +01:00
9598f8070a Add 'git-obs pr checkout' command 2025-01-23 09:54:29 +01:00
e23c566b0d Change 'git-obs' to use owner/repo[#pull] arguments consistently 2025-01-16 12:44:11 +01:00
99dcb4e10a Implement retries in 'git-obs' 2025-01-15 17:02:16 +01:00
124528e68b Add 'git-obs pr' command 2025-01-15 17:02:16 +01:00
fbbac5ad4c Change 'git-obs repo clone' command to store ssh command in core.sshCommand git config option 2025-01-14 16:41:58 +01:00
7e52a4a050 Implement git-obs command with several subcommands 2024-10-11 13:13:26 +02:00
699f4d860e Add 'gitea_api' module
Co-authored-by: Dan Čermák <dcermak@suse.com>
2024-09-24 14:01:43 +02:00