1
0
mirror of https://github.com/openSUSE/osc.git synced 2026-02-18 09:55:13 +01:00
Commit Graph

5775 Commits

Author SHA1 Message Date
Antonello Tartamo
cbf98966b7 feat(gitea): Add support for SSH agent authentication
This change introduces support for authenticating against the Gitea API using an SSH agent. This provides a more secure and convenient alternative to storing private keys or API tokens directly in the configuration file.

  Key changes include:

   - A new HttpSigner class that can sign HTTP requests using either a local private key or a key from an SSH agent.
   - The osc git-obs login add and login update commands now accept --ssh-agent and --ssh-key-agent-pub arguments to configure SSH agent-based authentication.
   - The paramiko library is now used for SSH agent communication. It is an optional dependency and only required when using the SSH agent feature.
   - The Gitea API connection logic is updated to use the HttpSigner when SSH authentication is configured.

  This improves user experience by allowing them to leverage their existing SSH agent setup for Gitea authentication, avoiding the need to handle sensitive credentials manually.
2026-02-08 09:49:54 +01:00
0e4449048d Merge pull request #2038 from dmach/docs-use-from-git
Update README.md with more precise steps on running from git
2026-02-02 10:51:32 +01:00
5e741b4146 Merge pull request #2037 from dmach/debug-timestamps
Add timestamps to the DEBUG output
2026-02-02 10:49:44 +01:00
0426c9e177 Update README.md with more precise steps on running from git 2026-02-02 08:58:04 +01:00
f6a3f486ad Add timestamps to the DEBUG output 2026-02-02 08:43:38 +01:00
e95595a5f3 Merge pull request #2036 from openSUSE/feature/allow-pr-same-repo
added --self parameter to fix 'no matching parent repo' error message
2026-01-30 13:19:16 +01:00
Antonello Tartamo
492c19f307 added --self parameter to fix 'no matching parent repo' error message 2026-01-29 15:34:24 +01:00
4c2fdabfab Merge pull request #2031 from dmach/fix-_aggregate-for-scmsync
Fix 'osc aggregatepac' for scmsync packages
2026-01-29 08:58:29 +01:00
2d60c589d8 Fix 'osc aggregatepac' for scmsync packages 2026-01-23 20:48:57 +01:00
81bd82141b Merge pull request #2029 from dmach/fix-get_build_type
Fix build.get_build_type() by comparing binary_type only if specified
2026-01-23 11:12:52 +01:00
77ac7d96d5 Fix build.get_build_type() by comparing binary_type only if specified 2026-01-23 10:47:34 +01:00
039020cbd8 Merge pull request #2026 from adrianschroeter/copypac_from_scmsync
Support copypac from scmsync sources
2026-01-14 16:09:25 +01:00
ade04260a7 Support copying from an scmsync source, when target exists.
Future functionality may to offer to re-instantiate the scmsync url
there instead of copying sources.
2026-01-14 11:26:42 +01:00
87e81687d5 Merge pull request #2024 from dmach/update-new-project-template
Update new project template
2026-01-05 14:57:24 +01:00
fed15a6cf1 Update new project template 2026-01-05 09:52:02 +01:00
aa7dca5541 Merge pull request #2012 from dmach/build-consolidate-build-types
Consolidate build types in build.py and commandline.py
2026-01-02 07:58:18 +01:00
89c02b6a59 Merge pull request #2022 from adrianschroeter/error_handling
Error handling for project wide trigger
2026-01-02 07:53:34 +01:00
a98ce278fb Error handling for project wide trigger
We don't support this on the server side, so don't silently eat the
argument.
2026-01-02 07:41:33 +01:00
502dc7ebd3 Merge pull request #2023 from lethliel/fix_id_string_formatting
fix string formatting for id in obs-request.xml
2026-01-02 07:30:00 +01:00
Marco Strigl
c7e2920fbc fix string formatting for id in obs-request.xml 2025-12-23 11:41:28 +01:00
cbc955a4ee Error handling for project wide trigger
We don't support this on the server side, so don't silently eat the
argument.
2025-12-18 14:06:50 +01:00
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
8625331988 Make use of buildconfig tool configurable and consistent 2025-12-04 14:51:33 +01:00
48f4ddedba Fix 'osc build' to retrieve buildconfig from git package's cache 2025-12-04 14:41:08 +01:00
b44928e501 Consolidate build types in build.py and commandline.py 2025-12-04 11:06: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