openSUSE / obs-scm-bridge

GNU General Public License v2.0
3 stars 7 forks source link

Allow to transform https:// urls to ssh urls #29

Open adrianschroeter opened 1 day ago

adrianschroeter commented 1 day ago

A user might want always get ssh based urls when working on his workstation (esp. when the bridge is used via osc).

We should find a way to offer a config where the bridge is translating the urls.

hramrach commented 1 day ago

At this time the authentication to gitea and obs is completely separate and unrelated so this might need a configuration option.

However, if/when unified authentication is implemented the git URL should correspond to the authentication type used for OBS.

While OBS can authenticate with a SSH key over http git needs a different URL for ssh authentication.