Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitea support #80

Open
thugcee opened this issue Sep 26, 2018 · 35 comments · May be fixed by #8131
Open

Gitea support #80

thugcee opened this issue Sep 26, 2018 · 35 comments · May be fixed by #8131
Labels
meta: never-stale This issue can never become stale team: webapp Issue belongs to the WebApp team type: feature request New feature or request

Comments

@thugcee
Copy link

thugcee commented Sep 26, 2018

Gitea is a community managed fork of Gogs, lightweight code hosting solution written in Go and published under the MIT license.

More info at https://gitea.io

Gitea frequently pulls features from Gogs, so supporting Gitea will probably work for Gogs too.

@svenefftinge svenefftinge added the type: feature request New feature or request label Sep 26, 2018
@ShalokShalom
Copy link

How could something like this get implemented? Which steps in general and how can the Gitea community help?

@MGlolenstine
Copy link

How far is this support right now?

Any plans at all?

@svenefftinge
Copy link
Member

It is not directly on the roadmap but wouldn't be too hard to add.
We are prioritising such integrations based on demand.

@lunny
Copy link

lunny commented Oct 17, 2020

Since the Gitea's API v1 is simliar as Github API v3, I think it will not be too hard.

@indam23
Copy link

indam23 commented Mar 15, 2021

Would this be possible with self-hosted gitpod at the moment?

@ShalokShalom
Copy link

It is either supported for both hosted and self-hosted, or not at all.

The support has simply not been integrated yet.

@ghuntley
Copy link
Contributor

ghuntley commented Mar 16, 2021

It is either supported for both hosted and self-hosted, or not at all.

Correct!

The support has simply not been integrated yet.

Support for raw git URLs (#167) has been scheduled for the April 2021 milestone which would enable scenarios such as https://gitpod.io#https://try.gitea.io/cezar97/Gitea_Issue_Logout.git

@stale
Copy link

stale bot commented Jun 14, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Jun 14, 2021
@ghuntley
Copy link
Contributor

ghuntley commented Jun 14, 2021 via email

@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label Jun 14, 2021
@malvim
Copy link

malvim commented Aug 14, 2021

So is this anywhere on the roadmap by now? This would be great to have...

@gtsiolis gtsiolis added the meta: never-stale This issue can never become stale label Aug 23, 2021
@atduarte atduarte added this to Inbox in Product Groundwork via automation Aug 26, 2021
@svenefftinge svenefftinge moved this from Inbox to Scheduled in Product Groundwork Sep 1, 2021
@svenefftinge
Copy link
Member

Integrating with OAuth2 provider mode (https://docs.gitea.io/en-us/oauth2-provider/) it looks like this would be relatively low hanging.
@AlexTugarev WDYT? can you provide a rough estimation?

@AlexTugarev
Copy link
Member

The overview looks good, but it the lack of scopes let me wonder how to integrate it nicely. The authorize URL from the example lacks the scope parameter, and I'm not sure if this is mandatory in the passportjs libs. The Git Integrations page (and the backend) does not support the "empty scopes" case.

That said, though it looks fairly easy to integrate on the protocol level (< 1d), I see some risk in getting it to a useable state – at least it could require adding special handling.

@f97-2308
Copy link

f97-2308 commented Nov 12, 2021

Any update for this? I can't use gitpod with gitea private repos.

@jldec
Copy link
Contributor

jldec commented Nov 12, 2021

We are tracking requests for additional git providers. No updates a.t.m.

@jldec jldec added the team: webapp Issue belongs to the WebApp team label Nov 14, 2021
@JonathanTreffler
Copy link

We are prioritising such integrations based on demand.

I really need this :).
Would be nice if Gitea could be integrated soon.

@ghuntley
Copy link
Contributor

ghuntley commented Dec 2, 2021

I really need this :). Would be nice if Gitea could be integrated soon.

Wanna send in a pull-request that adds support? We would accept it.

Come join https://www.gitpod.io/chat in the contributing channel.

The approach would be to add a new context parser (see #5367) and integrate it with https://docs.gitea.io/en-us/oauth2-provider/

@techknowlogick
Copy link

Would Gitpod be amenable to sponsoring a Gitea maintainer to submit a PR to Gitpod to support Gitea integration?

(I am one of the project leads of Gitea and am able to facilitate coordination with Gitea maintainers if the answer to above is yes)

@timmypidashev
Copy link

This would be awesome...

@IDerr
Copy link

IDerr commented Feb 7, 2022

Would love to see it too !

@safwentrabelsi
Copy link

Would be nice if Gitea could be integrated soon...

@codygriffith
Copy link

I'd love to be able see this happen

@axute
Copy link

axute commented Feb 8, 2022

is there a update? @svenefftinge @jldec

@xiduis15
Copy link

xiduis15 commented Feb 8, 2022

it would be a great improvement !

@anbraten
Copy link

anbraten commented Feb 8, 2022

Looking at the code and places the integration of Bitbucket (probably a rather limited support compared to Github) was done with, it shouldn't be to hard to open a PR with basic Gitea support 😉

@ghuntley
Copy link
Contributor

ghuntley commented Feb 9, 2022

Looking at the code and places the integration of Bitbucket (probably a rather limited support compared to Github) was done with, it shouldn't be to hard to open a PR with basic Gitea support 😉

Gitpod would accept a pull request that adds support. :)

@ghuntley
Copy link
Contributor

ghuntley commented Feb 9, 2022

Would Gitpod be amenable to sponsoring a Gitea maintainer to submit a PR to Gitpod to support Gitea integration?
(I am one of the project leads of Gitea and am able to facilitate coordination with Gitea maintainers if the answer to above is yes)

Happy to raise the amount of ongoing sponsorship to Gitea from Gitpod @techknowlogick once the integration is in place as part of our open-source sustainability fund as Gitea once integrated would officially be in Gitpod's bill of materials.

2022-02-09_12-38-55

Here's how Gitpod approaches supporting software that makes Gitpod possible...

https://www.gitpod.io/blog/gitpod-open-source-sustainability-fund

2022-02-09_12-41-49

In addition to this can upgrade the accounts of Gitea maintainers to complementary accounts 🚀

@anbraten anbraten linked a pull request Feb 10, 2022 that will close this issue
5 tasks
@kaptinlin
Copy link

any update?

1 similar comment
@leganck
Copy link

leganck commented Jul 18, 2022

any update?

@anbraten
Copy link

I did most of the unit test cases for the context. But thats a quite time consuming task to support all of those different kinds especially the edge cases. For example opening an PR by using the issue url with a PR id to open a PR with Gitpod. Testing the result is also pretty difficult as I need to spint up my own Gitpod cluster each time to test my changes with all other components, but the Gitpod team did an awesome job and recently released a single node version #9075 which is pretty fast in starting and may help me with developing the Gitea integration. I only need to find out how I can properly use it with a custom image. 🙈

PS: Posting you interest in this feature is pretty important I guess as it will convince the Gitpod team to accept my PR once its done 😉

@ShalokShalom
Copy link

I think your chances to get it accepted are pretty high anyway 😊

@mielune
Copy link

mielune commented Mar 2, 2023

Any update about the integration of Gitea servers ?

@Merith-TK
Copy link

Curious as well!

@epid
Copy link

epid commented Dec 13, 2023

I just wanted to register my interest in this integration as well

@ShalokShalom
Copy link

@anbraten Did you upload the code somewhere, or can you do that?

@anbraten
Copy link

#8131

Its quite some time since I worked on it. Main issue I had the last time was the deployment / debugging it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta: never-stale This issue can never become stale team: webapp Issue belongs to the WebApp team type: feature request New feature or request
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.