1
0
mirror of https://github.com/openSUSE/osc.git synced 2026-01-28 16:53:23 +01:00
Commit Graph

97 Commits

Author SHA1 Message Date
ece036a6a0 Fix gitea_api.SSHKey.list() to use pagination instead of limit -1 2025-11-03 09:21:58 +01:00
775d0c2512 Fix gitea_api.IssueTimelineEntry.list() to use pagination instead of limit -1 2025-11-03 09:21:58 +01:00
82bf9eb010 Remove duplicate, unused PullRequestReview class from gitea_api.pr 2025-11-03 09:21:58 +01:00
8c5fbf0745 Fix gitea_api.PullRequestReview.list() to use pagination instead of limit -1 2025-11-03 09:21:58 +01:00
d60ce46c58 Fix gitea_api.Fork.list() to use pagination instead of limit -1 2025-11-03 09:21:58 +01:00
98526c460f Fix gitea_api.Branch.list() to use pagination instead of limit -1 2025-11-03 09:21:58 +01:00
Antonello Tartamo
dac11885f7 Fix gitea_api.PullRequest.list() to use pagination instead of limit -1 2025-11-03 09:21:58 +01:00
fb8d1f4c72 Fix 'git-obs pr dump' to skip the dump if the target has the same updated_at timestamp as the pull request in Gitea 2025-10-29 14:33:45 +01:00
4170a3c251 Improve performance of gitea_api.IssueTimelineEntry by listing and caching requests instead of fetching them one by one 2025-10-29 13:46:02 +01:00
e91c904284 Add 'DELETE' to 'git-obs api' allowed methods 2025-10-15 12:19:06 +02:00
Antonello Tartamo
7954b9d11a Add filtering by label to 'git-obs pr list' 2025-10-15 12:19:06 +02:00
07acc067f0 Fix gitea_api.Git.get_branch_head() to raise a proper exception if the HEAD cannot be retrieved 2025-10-10 14:19:14 +02:00
87de410542 Move code from 'git-obs meta pull' command to GitStore.pull() 2025-10-10 14:03:29 +02:00
1488f3b873 Introduce GitObsRuntimeError exception and use it where appropriate 2025-10-09 09:54:18 +02:00
7aa9734143 Fix tardiff by removing directories with shutil.rmtree() and files by os.unlink() 2025-10-08 16:20:09 +02:00
5e0ab3ecb0 Mute stderr in git_obs.Git.lfs_cat_file() 2025-10-08 16:20:09 +02:00
0b242dc553 Change obs_api.TarDiff to spawn a process extracting archives as a context manager 2025-10-08 16:20:09 +02:00
ce99ac5e83 Add 'quiet' option to gitea_api.Git.switch() 2025-10-08 16:19:52 +02:00
76eab5a2f5 Change 'commit' argument in gitea_api.Git.reset() to optional 2025-10-03 09:51:35 +02:00
5926857a1d Change 'git-obs pr review interactive' to write 'merge ok' comment instead of scheduling a merge 2025-10-02 08:48:42 +02:00
fe9c535596 Another take on parsing pull request references
Parse only references that start with 'PR:'.
Parse both owner/repo#number and gitea_url/owner/repo/pulls/number
2025-10-02 08:48:42 +02:00
Andrii Nikitin
0108e8e70f pr_dump: Show warning on incorrect submodule url 2025-10-02 08:48:42 +02:00
Andrii Nikitin
85e00ec85e pr dump: support for short pr references
Also work around empty IssueTimelineEntries
2025-10-02 08:48:42 +02:00
Andrii Nikitin
a208031331 Dump referenced PRs to metadata/referenced-pull-requests.json 2025-10-02 08:48:42 +02:00
7ff0cdc6b4 Extend 'git-obs pr dump' to create metadata about submodules and their diff 2025-10-02 08:48:42 +02:00
35f25dc9b8 Add gitea_api.Git.get_owner_repo_from_url() staticmethod 2025-10-02 08:48:42 +02:00
84288258b0 Add gitea_api.Git.urljoin() static method 2025-10-02 08:48:42 +02:00
1b8fb3c584 Fix 'git-obs pr dump' to update 'base' directory to a newer commit correctly 2025-10-02 08:48:42 +02:00
f288795e58 Implement 'git-obs pr dump' command to store pull request information on disk 2025-10-02 08:48:38 +02:00
c112429578 Merge pull request #1944 from dmach/git-obs-G-url
Change 'git-obs -G' to accept url to select a gitea login entry
2025-09-26 13:37:52 +02:00
2d6a7d4e79 Change 'git-obs -G' to accept url to select a gitea login entry 2025-09-26 13:20:18 +02:00
7507953300 Implement 'git-obs --quiet' option (that mutes printing gitea settings now) 2025-09-26 11:38:51 +02:00
910802d59c Refactor GitStore 2025-09-23 13:06:46 +02:00
6bb734ae26 Change gitea_api.Git to work with the current remote instead of 'origin' 2025-09-18 11:11:29 +02:00
172e827eff Migrate git_scm.Store over to gitea_api.Git 2025-09-18 11:11:29 +02:00
f022e08c28 Properly handle deleted users and teams in the git-obs timeline 2025-09-12 11:55:18 +02:00
e647048079 Add '.obscpio' and '.xz' to list of archives supported by tardiff 2025-09-03 16:01:00 +02:00
de39324e35 Add 'git-obs pr close' and 'git-obs pr reopen' commands 2025-08-27 09:09:54 +02:00
345620ae7a Allow pull request IDs in <owner>/<repo>!<number> format 2025-08-26 15:57:54 +02:00
34b2cddbaf Change 'git-obs pr review interactive' to work with all archives, not only those in Git LFS 2025-08-20 15:17:10 +02:00
cc18f9c668 Skip binary files in gitea_api.PullRequest.get_patch() 2025-08-18 15:22:06 +02:00
ed5549722e Handle situations when there's 'None' among timeline entries 2025-08-15 11:35:34 +02:00
9049e4164f Fix osc.gitea_api.dt_sanitize() by replacing dateutil with datetime 2025-07-30 10:44:51 +02:00
5791b2083b Fix 'git-obs pr search' by using pagination to retrieve all results 2025-07-25 09:47:26 +02:00
4dadca5c16 Add '--timeline' option to 'git-obs pr get' 2025-07-25 09:47:26 +02:00
3eda1b53b3 Add gitea_api.Connection.scheme attribute 2025-07-24 16:00:46 +02:00
45cb338ec6 Add gitea_api.PullRequest.merge_commit property 2025-07-24 16:00:46 +02:00
464a9e4c54 Add gitea_api.PullRequest.get_owner_repo_number() 2025-07-24 16:00:46 +02:00
520541e066 Handle missing head repo in the PullRequest properties 2025-07-24 16:00:46 +02:00
a5333da38c Add 'conn' parameter to gitea_api.common.GiteaModel 2025-07-24 16:00:46 +02:00