1
0
mirror of https://github.com/openSUSE/osc.git synced 2026-01-20 21:34:44 +01:00

5751 Commits

Author SHA1 Message Date
4a0dc49599 release 1.23.0 1.23.0 2025-12-18 10:30:46 +01:00
e1e046853f Merge pull request #2013 from dmach/fix-git-obs-pr-create-no-fork
Fix 'git-obs pr create' when the source repo is not a fork
2025-12-18 10:17:36 +01:00
56ece64c81 Merge pull request #2020 from dmach/fix-osc-build-without-.osc
Fix running 'osc build --alternative-project=...' when there's no .osc in the current directory
2025-12-18 09:53:50 +01:00
53e6e5fdc5 Store the last buildroot only if there's a store detected 2025-12-18 09:23:47 +01:00
3101cc6e9a Fix BuildRoot so it acts as a tuple and the individual values are accessible via indexes 2025-12-17 12:00:23 +01:00
88ba73df15 Change GitStore not to require apiurl anymore
It is possible to even remove .osc/_apiurl for the OBS SCM packages and the default apiurl from oscrc is used.
This change implements the same behavior for Git SCM packages.
2025-12-16 11:24:12 +01:00
04ad1dc60c Merge pull request #2021 from dmach/fix-git-obs-pr-dump-invalid-pr-references
Properly error out on invalid 'PR:' references in 'git-obs pr dump'
2025-12-15 19:47:06 +01:00
78b85d3a27 Properly error out on invalid 'PR:' references in 'git-obs pr dump' 2025-12-15 19:13:13 +01:00
403eea94ce Fix running 'osc build --alternative-project=...' when there's no .osc in the current directory 2025-12-15 17:21:01 +01:00
a03093df37 Merge pull request #2018 from dmach/fix-PullRequest.split_id-trailing-whitespaces
Make PullReqest.parse_id() more permissive by accepting trailing whitespaces
2025-12-15 08:40:50 +01:00
14a359a255 Make PullReqest.parse_id() more permissive by accepting trailing whitespaces 2025-12-12 14:10:28 +01:00
b3af623854 Merge pull request #2015 from dmach/fix-osc-rdiff-missingok
Fix 'missingok' argument in server_diff()
2025-12-10 09:35:23 +01:00
2efd8ddd22 Fix 'missingok' argument in server_diff() 2025-12-10 08:54:02 +01:00
0bd635fcd6 Add '--target-owner' option to 'git-obs pr create' to specify the target owner explicitly 2025-12-09 13:46:51 +01:00
a85fc2832f Merge pull request #1996 from danigm/fix-gitea-branch
Add return to gitea_api.Branch.list
2025-12-08 14:29:33 +01:00
1051139919 Merge pull request #2014 from dmach/fix-storing-last_buildroot
Fix storing last_buildroot for git packages
2025-12-08 14:28:56 +01:00
26f6cdf90f Fix storing last_buildroot for git packages 2025-12-08 09:41:54 +01:00
77f0d94817 Merge pull request #1998 from dmach/git-obs-pr-dump-status
Change 'git-obs pr dump' to write STATUS file
2025-12-08 09:27:57 +01:00
411b1c5a8f Fix 'git-obs pr create' when the source repo is not a fork 2025-12-08 09:24:31 +01:00
611f1a3b96 Change 'git-obs pr dump' to write STATUS file
The dump now contains info whether it's complete and safe to use
2025-12-08 09:13:37 +01:00
73b895a5ae Merge pull request #2004 from openSUSE/feature/staging_search
Add 'git-obs staging search' command
2025-12-08 09:11:36 +01:00
69a4411588 Add '--target-branch' option to 'git-obs staging search' command 2025-12-02 12:28:11 +01:00
9860413e19 Fix gitea_api.PullRequest ordering methods 2025-12-02 12:28:11 +01:00
Antonello Tartamo
e9e8dcff70 - Moved get_label_ids to Repo class
- Added staging search command to find project PRs with referenced package PRs that have all been approved
2025-12-02 12:28:10 +01:00
e13a00e024 Merge pull request #2011 from dmach/git-store-improvements
Git store improvements
2025-12-02 12:27:52 +01:00
2e8f3ee94a Merge pull request #2010 from dmach/osc-results-fix-args-and-store-handling
Fix argument and store handling in 'osc results' command
2025-12-02 10:14:34 +01:00
438700f290 Fix Manifest class to handle loading empty YAML files or strings 2025-12-02 10:10:56 +01:00
23d0c5b401 Add Manifest.get_package_paths() method that lists all paths to existings packages in a project 2025-12-02 09:54:49 +01:00
c636345e63 Merge pull request #1997 from danishprakash/git-remote-fix
gitea/git: handle local branch when fetching remote
2025-12-01 08:54:27 +01:00
bd6666d02b Fix argument and store handling in 'osc results' command 2025-12-01 08:43:30 +01:00
a2518aa612 Merge pull request #1991 from dmach/git-obs-pr-dump-dirs-match-input
Change 'git-obs pr dump' to produce directories that match the specified pull request IDs
2025-11-24 10:04:39 +01:00
Danish Prakash
ba0f9c1a99 gitea/git: handle local branch when fetching remote
If the current branch tracks a local branch that in turn is tracking a
remote branch, recurse to find out the remote, instead of simply
returning the local branch.

Signed-off-by: Danish Prakash <contact@danishpraka.sh>
2025-11-14 14:27:40 +05:30
f7e9f657a5 Add return to gitea_api.Branch.list 2025-11-13 11:22:02 +01:00
3fcc00cf1b Merge pull request #1992 from dmach/git-obs-api-returning-null
Fix 'git-obs api' command when server returns 'null'
2025-11-11 14:52:42 +01:00
e30cd36521 Merge pull request #1994 from dmach/git-obs-meta-during-git-rebase
Fix working with meta during git rebase by determining the current branch from rebase head
2025-11-11 14:39:17 +01:00
4c4ee1f368 Fix working with meta during git rebase by determining the current branch from rebase head 2025-11-11 14:26:57 +01:00
2be8fbf0c8 Fix 'git-obs api' command when server returns 'null' 2025-11-11 08:42:35 +01:00
414bcccbbb Change 'git-obs pr dump' to produce directories that match the specified pull request IDs 2025-11-10 17:12:04 +01:00
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