gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Gitea support

Open FederAndInk opened this issue 1 year ago • 18 comments

Feature request for gitea Pull Requests support.

I understand it's still very early, but at least it can be tracked here :)

FederAndInk avatar Feb 24 '24 18:02 FederAndInk

Hey, are you able to use gitea with gitbutler. Using my private hosted gitea whenever i tried to push it gave me something went wrong, I'll attach a screenshot and maybe logs (if required/ if i can find) tomorrow.

Feature request for gitea Pull Requests support.

I understand it's still very early, but at least it can be tracked here :)

himchawla avatar Feb 26 '24 23:02 himchawla

This would be great! I’m a part of the Gitea project and would love to help from our side of things (code, debugging, or otherwise). I’m also trialing a new bounty platform, and I think this would be a good candidate. Gitbutler maintainers: would you be ok if I posted a bounty from algora.io?

techknowlogick avatar Feb 27 '24 13:02 techknowlogick

I have the same issue with a locally hosted gitea and not being able to push. I can provide a screenshot from the error below. I used Gitbutler 0.10.17 AppImage and an Gitea 1.21.5 Server. I tried to use the locally generated SSH key from Gitbutler and added it as SSH key to my gitea profile.

Unfortunately, I end up with the following error, when pressing 'Push': image

I couldn't find logs. If you can guide me where to look, I can also provide them...

questmaster avatar Feb 28 '24 18:02 questmaster

Did you check your repo to see if the push did happen? I get that sometimes on Github, but when i look the commit has actually been pushed

ryanm101 avatar Feb 29 '24 17:02 ryanm101

Yes, I checked. It didn't work. Nothing pushed.

questmaster avatar Feb 29 '24 19:02 questmaster

This would be great! I’m a part of the Gitea project and would love to help from our side of things (code, debugging, or otherwise). I’m also trialling a new bounty platform, and I think this would be a good candidate. Gitbutler maintainers: would you be ok if I posted a bounty from algora.io?

With @schacon using algora.io for zed, I hope posting one here is fine (if not, please delete the post from the algora bot and I can delete it from my side too).

techknowlogick avatar Mar 19 '24 20:03 techknowlogick

💎 CommitGo is offering a $300 bounty for this issue 👉 Got a pull request resolving this? Claim the bounty by adding @algora-pbc /claim #2904 in the PR body and joining algora.io

algora-pbc avatar Mar 19 '24 20:03 algora-pbc

@FederAndInk I would like to work on this issue. Could you please assign this.

rutikthakre avatar Mar 19 '24 20:03 rutikthakre

/attempt #2904

Lemmynjash avatar Mar 20 '24 10:03 Lemmynjash

Using this new option works like a charm,

image

And having test credentials option right there is such a convinience, thanks a bunch gitbutler team.

image

edit: Also sorry for hijacking the issue created by you, @FederAndInk. We can now actually talk about having pull request integration with gitea.

himchawla avatar Mar 21 '24 07:03 himchawla

@Byron can i work on this.

syedbarimanjan avatar Apr 29 '24 02:04 syedbarimanjan

Thanks for offering! GitLab support was supposed to be added first, which would certainly bring some abstractions to make integrations a little more pluggable. Thus, I think it's best to wait on #2511 . Otherwise, by any means, I am not here to stop you.

Byron avatar Apr 29 '24 09:04 Byron

Thanks for offering! GitLab support was supposed to be added first, which would certainly bring some abstractions to make integrations a little more pluggable. Thus, I think it's best to wait on #2511 . Otherwise, by any means, I am not here to stop you.

Well when that is completed than I will work on this.

/attempt #2904

syedbarimanjan avatar Apr 29 '24 09:04 syedbarimanjan

Hey guys, I recently landed some changes in #4315 that brings us a bit closer to a solution. There is a now a set of interfaces that could be implemented to support Gitea, with a factory that can provide the right implementation on a per repo basis. https://github.com/gitbutlerapp/gitbutler/blob/5fb79bd15da8bc8806f17f9c81443da21813236d/app/src/lib/gitHost/gitHostFactory.ts#L13-L23 That said, we are still lacking support for multiple oauth flows in the backend. Stay tuned!

mtsgrd avatar Jul 18 '24 22:07 mtsgrd