1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-14 08:54:12 +02:00
Commit Graph

38 Commits

Author SHA1 Message Date
78066f8e70 Allow git in git-obs to be switched from SSH to http(s) 2025-06-18 13:51:53 +02:00
4f3cacd62b Rename 'anonymous' argument in 'gitea_api.Repo.clone()' to 'use_http' 2025-06-17 14:38:25 +02:00
706fcf50b4 Remove unwanted debug print from pr.py 2025-06-06 16:10:28 +02:00
d4d535d7cc Add 'git-obs pr merge' command 2025-06-06 15:13:53 +02:00
7d81fd3900 Add 'git-obs pr review accept' and 'git-obs pr review decline' commands 2025-06-06 08:28:05 +02:00
fef8c4aa7d Merge pull request #1816 from andrii-suse/add_pr_export
Add --export to pr list and pr search
2025-06-03 16:01:23 +02:00
bdf74e036f Add a possibility to override git-obs login entries from env 2025-06-02 15:57:19 +02:00
Andrii Nikitin
1e5582ace5 Add --export to pr list and pr search 2025-06-02 15:15:38 +02:00
e2d890391e Refactor gitea_api to use objects with properties instead of raw JSON data 2025-05-20 14:29:20 +02:00
f7d5a17931 Merge pull request #1812 from dmach/git-obs-pr-list-improvements
Improvements to the 'git-obs pr list' command
2025-05-20 11:29:01 +02:00
12bfd69bc2 Set limit=0 to disable pagination in all relevant git-obs subcommands 2025-05-20 09:24:12 +02:00
Andrii Nikitin
ddef2a11cc behave: Add osc fork test 2025-05-16 10:46:16 +02:00
aa8a48b79b Implement '--reviewer' and '--review-state' options for 'git-obs pr list' 2025-05-12 17:11:27 +02:00
d5ed8fe2e4 Improve message in 301: Moved Permanently error in git-obs 2025-05-09 13:50:56 +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