repman icon indicating copy to clipboard operation
repman copied to clipboard

Explicit Gitea support

Open ericek111 opened this issue 3 years ago • 7 comments

I haven't found a single mention of Gitea anywhere. For a newcomer (such as myself), this can be discouraging. Maybe we should offer documentation (and options, where applicable) specific to Gitea?

ericek111 avatar Oct 19 '20 09:10 ericek111

Hey @ericek111, thanks for feedback. Of course we can add such information. Did you manage to connect Repman with Gitea and whether any changes were needed in the source code?

akondas avatar Oct 22 '20 10:10 akondas

So far I've only managed to add support for OAuth registration and login using Gitea as the provider. It's my first time working with Symphony, so I'm not all that proficient. Here's my fork, it still needs functional and integration tests: https://github.com/ericek111/repman/tree/feature-gitea

I'm planing on submitting a PR once the tests are done. Suggestions and changes are welcome, of course. The next order of action will be adding support for private Gitea repositories. Syncing hangs using both HTTP and SSH for VCS repos.

I'm thinking that a separate option for Gitea would be benificial, though Repman should handle private SSH Git repos (or at least have some sort of feedback when it fails to load them). Maybe a field to input the user's authorised private key for VCS repos would be the best?

ericek111 avatar Oct 22 '20 11:10 ericek111

Yes, we have already thought about the option to be able to provide your own ssh key.

I would see it as a separate tab where you can add your keys, and then on the package adding card it would be possible to select and authenticate a given key. Here is a simple visualization of how I imagine it:

Screenshot from 2020-10-22 13-13-01

akondas avatar Oct 22 '20 11:10 akondas

I have created a separate task for ssh keys so as not to clutter this thread.

akondas avatar Oct 22 '20 12:10 akondas

Hi, we have a self hosted Stash Bitbucket, the repos are private and we are having difficulties in adding them in repman.
Is there an existing solution for this ? @akondas

mihaileu avatar Feb 15 '22 13:02 mihaileu

What's the problem? (i don't have experience with Stash Bitbucket)

akondas avatar Feb 15 '22 15:02 akondas

We are using Atlassian Bitbucket v6.2.0 hosted on a custom domain.

We need to authenticate in order to have access to repos. In the web interface there's no option for adding a ssh key or other option to authenticate with a self hosted bitbucket.

Currently we will try to add a key when starting the docker container in order to be able to pull private repository from this custom domain.

mihaileu avatar Feb 15 '22 15:02 mihaileu