1
0
mirror of https://github.com/openSUSE/osc.git synced 2026-01-19 04:57:28 +01:00

5713 Commits

Author SHA1 Message Date
f6de3e5600 release 1.22.0 1.22.0 2025-11-10 16:49:39 +01:00
89a8585d8b Merge pull request #1990 from dmach/fix-osc-service-for-git-packages
Fix 'osc service' for git based packages
2025-11-10 16:34:43 +01:00
d9a6551ef8 Fix 'osc service' for git based packages 2025-11-10 16:19:18 +01:00
d51d9a8614 Merge pull request #1961 from openSUSE/feature/staging
Add 'git-obs staging' command
2025-11-10 16:00:26 +01:00
2b908e04fb Add '--close-removed' option to 'git-obs staging remove' command 2025-11-10 15:10:21 +01:00
650a1849c9 Fix 'git-obs staging remove' to check if the specified pull requests are part of the project pull request 2025-11-10 15:10:21 +01:00
48fc21911e Use GitDiffGenerator in 'git-obs staging group' to speed it up 2025-11-10 15:10:21 +01:00
2029b4933f Add 'depth' argument to gitea_api.Repo.clone() and clone_or_update() 2025-11-10 15:10:21 +01:00
84ee65271d Add gitea_api.GitDiffGenerator class for creating submodule diffs without a git checkout 2025-11-10 15:10:21 +01:00
44af44e8d3 Fix 'git-obs staging' commands to be case insensitive as Gitea 2025-11-10 15:06:02 +01:00
7ae7731963 Change gitea_api.Repo.clone() to stop borrowing objects when 'reference' or 'reference_if_able' is used 2025-11-10 15:06:02 +01:00
a151711c03 Add '--remove-pr-references' to 'git-obs staging group' command 2025-11-10 15:06:02 +01:00
99d2633b09 Add '--cache-dir' option to 'git-obs staging group' command 2025-11-10 15:06:02 +01:00
Antonello Tartamo
e15c0c0f49 Add 'git-obs staging' command for staging multiple package pull requests into a single project pull request 2025-11-10 15:06:02 +01:00
d74457dc66 Support setting labels in gitea_api.PullRequest.create() 2025-11-10 15:06:02 +01:00
7b74682254 Fix the resulting dictionary in gitea_api.PullRequest._get_label_ids() 2025-11-10 15:06:02 +01:00
a3738f664f Change gitea_api.Repo.clone_or_update() to take 'ssh_private_key_path' argument 2025-11-10 15:06:02 +01:00
c926865ec9 Add gitea_api.StagingPullRequestWrapper class for handling staging 2025-11-10 15:06:02 +01:00
b29bfde51d Make GitObsCommand.add_argument_owner_repo() and add_argument_owner_repo_pull() reusable by allowing setting 'help' argument 2025-11-10 15:06:02 +01:00
7c97922db1 Add gitea_api.common.TemporaryDirectory class that supports 'delete' argument on python 3.6+ 2025-11-10 15:06:02 +01:00
ad96f3926d Extend gitea_api.PullRequest with methods that work with 'PR:' references 2025-11-10 15:06:02 +01:00
66e98819b2 Add 'status' to the output of gitea_api.Git.get_submodules() 2025-11-10 14:45:37 +01:00
e860043815 Add 'remote' argument to gitea_api.Repo.clone_or_update() 2025-11-10 14:45:37 +01:00
089ad90fae Move clone_or_update() from 'git-obs pr dump' command to gitea_api.Repo 2025-11-10 14:45:37 +01:00
08ad0319c6 Fix after PullRequestReview cleanup - submitted_at property wasn't renamed to created_at 2025-11-04 18:14:45 +01:00
19888de1f1 Merge pull request #1974 from dmach/git-scm-store-check-parent-project-branch
Check that the git package has the same branch as the parent project
2025-11-04 16:01:38 +01:00
f94787b4ec Warn if the git package doesn't have the same branch as the parent project 2025-11-04 15:47:33 +01:00
6d8a8addc0 Merge pull request #1980 from danigm/fork-git-branch
fork: Add --git-branch optional argument
2025-11-04 13:22:50 +01:00
c62564a6c8 Merge pull request #1981 from dmach/osc-build-alternative-project-git
Change 'osc build' to build from any git repo if '--alternative-project' is specified
2025-11-04 13:11:20 +01:00
d9063709ac Change 'osc build' to build from any git repo if '--alternative-project' is specified 2025-11-04 10:36:43 +01:00
b51c9da7f6 fork: Add --git-branch optional argument
This new argument allow the user to fork with a different branch name,
so it's easier to create multiple topic forks at the same time.
2025-11-04 09:48:53 +01:00
9568df1edc Merge pull request #1979 from dmach/osc-fork-target-org
Add '--gitea-fork-org' option to 'osc fork' command
2025-11-03 16:12:55 +01:00
4a18cf58ca Properly handle fork mismatch in 'osc fork' 2025-11-03 15:27:49 +01:00
9b7c3889d4 Make gitea_api.RepoExists exception more helpful by giving a hint to fork under a different name. 2025-11-03 15:26:14 +01:00
de71095aa6 Add '--gitea-fork-org' option to 'osc fork' command 2025-11-03 11:44:41 +01:00
02b342a0e4 Merge pull request #1968 from dcermak/add-get_host_repo_owner_number
feat: add new function PullRequest.get_host_owner_repo_number
2025-11-03 09:56:49 +01:00
8d3858e764 Merge pull request #1957 from mahdiyehmr/master
Return preinstallimage.info and allow podman to use preinstallimage
2025-11-03 09:55:29 +01:00
88eeba2763 Merge pull request #1977 from openSUSE/bug/pull_limit-1
Use pagination instead of limit -1 when working with Gitea API
2025-11-03 09:52:53 +01:00
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
ca8eb5ff97 Merge pull request #1978 from dmach/git-obs-pr-dump-skip-no-update
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-11-03 08:23:40 +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
Mahdiyeh Mirsharifi
57bdcf2ef3 Return preinstallimage.info and allow podman to use preinstallimage
Download and return preinstallimage.info if preinstallimage exists to
be able to check the list of packages in preinstallimage without unpacking
it in build environment.
Download preinstallimage and preinstallimage.info in a unique named
temp file first.
Allow podman to use preinstallimage to speed up the build process
2025-10-29 13:46:59 +02:00
141157e0cd Merge pull request #1973 from dmach/stop-using_server_diff_noex
Use server_diff() instead of server_diff_noex() to exit with a non-zero return code
2025-10-27 18:31:04 +01:00