1
0
mirror of https://github.com/openSUSE/osc.git synced 2026-02-19 02:11:54 +01:00
Commit Graph

22 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
a241041db5 docs: Add git-obs-metadata to the documentation index 2025-09-25 10:05:42 +02:00
fd7f92d411 Update docs for the new git metadata store 2025-09-23 13:06:46 +02:00
9d747b7ee3 Update list of recommended gitea permissions in git-obs-quickstart 2025-09-17 11:11:06 +02:00
78066f8e70 Allow git in git-obs to be switched from SSH to http(s) 2025-06-18 13:51:53 +02:00
8f4da16931 Update git-obs-quickstart doc with more detailed info on creating tokens 2025-04-01 16:13:53 +02:00
305affd979 Fix 'git-obs login add' command invocation in git-obs-quickstart documentation 2025-03-06 13:12:55 +01:00
c984b7f098 Add git-obs Quickstart documentation and man page 2025-02-25 16:39:18 +01:00
b43c77dfb7 Document loading configuration from env variables 2024-05-07 16:40:35 +02:00
073b0dd82a RTD: Require sphinx-rtd-theme 2024-02-16 20:28:26 +01:00
d53b2981c8 Support installing osc into virtualenv 2023-11-03 10:21:42 +01:00
848f5fe48f Switch 'osc.conf.config' from dict to Options class with type checking 2023-09-11 21:14:45 +02:00
26a8fb1acf commandline: New class-based commands
This is based on a prototype we've worked on together
with Laurin Fäller <laurin.faeller@suse.com>.
2023-03-31 09:39:04 +02:00
f9b708408c Make examples python3 compliant 2023-03-13 16:19:15 +01:00
Marco Strigl
0a14ebe6c4 Create README.md in doc directory 2023-01-20 08:51:36 +01:00
3ea7d7d908 commandline: Improve argument parsing, add more tests 2023-01-12 11:51:35 +01:00
adc78142a2 Rename doc/contents.rst back to doc/index.rst and update conf.py accordingly
Web browsers expect index.html while contents.html was rendered.
2022-10-13 11:25:35 +02:00
7b7bbd157f Rename doc/index.rst to contents.rst 2022-10-13 09:58:18 +02:00
568e96123d Configure Read the Docs 2022-10-13 09:50:46 +02:00
1385297978 Fix several issues in HTML doc rendering, improve output 2022-03-16 15:19:24 +01:00
3ca3c804d1 Switch html docs theme to RTD as it's easier to read 2022-03-16 15:19:24 +01:00
6ccd1bc2cd Rename 'docs' directory to 'doc'
This seems to be a more common directory name in the projects.
2022-03-16 15:19:24 +01:00