-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 hosted Gitea #1029
Comments
Very good idea! |
1.2 in February, 1.3 in April, 1.4 in June, 1.5 in August? should be enough time to implement all that 😄 |
If you haven't seen it, fantastic and insightful comment supporting your approach to self-hosting only when ready: https://lobste.rs/s/gokjbo/gitea_1_1_0_released/comments/dg9pwe#c_dg9pwe |
@lunny Now that I think about it (thanks @zellyn for that link 😂 ) Why do we need oauth-provider, complete webhook support, api-documentation, and a complete API for self-hosting? OAuth Consumer is required (it's merged AFAIK) so people can login using github auth. As for API, not sure why self-hosting requires that at all TBH :) |
I agree about trimming that list. Earlier self-hosting will very likely help us setting priorities better :) |
@bkcsoft maybe we can setup a hosted site and have a try. |
@bkcsoft I updated the issue, do you mean that? |
-> OAuth provider (#27) is not closed |
@ekozan not closed, but scratched from the list of "things we need" |
Added "Repository Size Limits" since we don't have unlimited storage on the servers... My proposal for limits:
|
@bkcsoft Did you mean it will be a public service for anyone? |
Maybe, maybe not, but if it becomes a public service we can't have it unlimited ;) |
I think dogfooding is important enough that repo size limits may not need to be in the critical path for self-hosting gitea. In the first few days after migrating to gitea, I've run across several feature omissions that made me think self-hosting will help focus effort on getting those things done. Gitea is already a fantastic, highly usable, high-performance tool -- it's a real shame you aren't using it yourselves. ;-) Rather than depend on hard size limits, it might instead be helpful to think about how the self-hosted server is going to be administered, who's going to police bad behavior, and what tools they will want. For instance, contributor forks of the gitea project ought to be supported on gitea's own server. This exposes the risk that a user forks gitea, then pushes warez to their fork. Size limits might help prevent pushing large binaries, but might not help with a list of passwords or credit card numbers. A tool that might help in that case is something that detects alien files by diff line count or rolling hash. A nice side-effect of having a diff-size tool available is that the code could be available as an option to run during pushes to flag legitimate commits that should have been broken up into smaller pieces anyway. (Related discussion for ways to do this: #3658 (comment).) I'd bet there are a lot of other subtle things that will need to be addressed for public-facing servers. It might make sense to use a separate "public hosting" master issue or milestone to track these things. |
Speaking of milestones, should this issue be added to 1.5.0? |
@stevegt No, since I think that not all of the PRs will get merged / resolved at 1.5.0. |
I removed |
Great! I'm positive that the sooner Gitea hosts itself, the faster will the whole project profit from real-life experiences, and gain trust and confidence :) |
@lafriks mentions in another thread:
And @lunny asks above:
Would it be feasible to combine those thoughts into a "How about setting up an online Gitea service, where people pay for (say) private repos?". If done ok, that should generate the funds to pay for itself + the public repos. As a concept, it seems to be fairly well travelled ground. 😄 |
To promptly add to @justinclift idea; the timing might be right with the current news of Microsoft taking over GitHub. |
I'm confident that there will be funding from the community or sponsorship from organisations to make gitea hosting itself possible. Since Gitea is resource-friendly (yes, GitLab, I'm looking at you) this won't be a big deal. |
@mxmehl so far there have been 5 individuals that have contributed since the opencollective was open last month: https://opencollective.com/gitea |
@justinclift as Gitea is purely community for driven there is no way we could set up paid private repositories as that requires creating company, dealing with taxes, and have full time staff to deal with technical problems |
@techknowlogick Didn't know this page. Now it's 6 ;) |
@lafriks Well.... there are Community projects around - for both software and non-software things - which seem to manage themselves ok, including financial matters, things they pay for, staff (where needed), and so on. That being said, it does require a level of will to make it happen + keep it going. The people in any needed roles also need to be good custodians (trustworthy, reliable, clueful). If there's no interest, then it won't go anywhere anyway. Ditto if no suitable "custodian" types can be agreed upon. From the Open Collective link mentioned above, it looks like some initial seeds are in place. It demonstrates there are people around who are considered ok as custodians. 😄 |
@SuperSandro2000 Are you aware that Gitea is not a service but a product? You download the sources, compile Gitea in your servers and install it. No connection whatsoever required to Gitea's hosting. |
A couple of responses to this: We wouldn't host on an unreputable company, and the Gitea leads have placed our trust in this company. If they stop providing sponsorship, or stop being a company we have options available to us, and can move elsewhere.
A large part of Gitea team is from China (but we also have maintainers in all other continents too), and if development team can't access code then the user base will suffer, which is why we need development team to be able to access code. We build Gitea so everyone can use it, even users who are banned from GitHub (after recent ban wave from GitHub a lot of those users started using Gitea). As others have mentioned, there are mirrors of the codebase on other instances around the world, and thanks to git there is a ledger of all changes made to code so everyone can have visibility into all changes. A note on transparency: I have locked this thread. I don't want to stop this conversation, however it should be moved to a different place as this github ticket is about what enhancements need to be done with software for self-hosting (rather than where we are hosting). |
There haven't been many updates on this posted, but I just wanted to say it is being worked on. The alternative export API that Github provides is sadly not working for us, it always returns that it fails to export the data. My guess is that the amount of data we have is too much. If anyone has any contacts at Github who can help us out, please let me know :) My contact email is in my bio. |
For the first big stage, we would like Gitea's development could be based on a Gitea hosted and github will only a mirror. This will maybe completed in v1.x. So that this issue will list all the features needed to be implemented before v1.x. And of course please discuss them and change my post.
Squash merge (Pull request merge strategy #712 Add Pull Request merge options - Ignore white-space for conflict checking, Rebase, Squash merge #3188)Complete Protected branch (Protected branches system #32 Protected branches system #339)Complete API support ([Meta] Improvements to the API #64)API Documents (API documentation for endpoint #194)Webhooks implementation (Webhooks implementation #2418)Better CI Integration ( (PR Status-API #1332))Drone PR: (OS thread limit reached while compiling from source #2017)Comment on commit and PR (Commits and pull files #124Comments on pull files #2583Pull request review/approval and comment on code #3748 )Approvals system (Permissions to accept/merge Pull request #2794 Pull request review/approval and comment on code #3748 )Approvals limitations (Pull requests approvals limitations #5251)Migrate a throughout github repository to gitea (Improve migrations to support migrating milestones/labels/issues/comments/pullrequests #6290, Proposal: Store original author in database for use with migrated content #7293, Move migrating repository from frontend to backend #6200, Change ownership of issues/comments/PR from Github user to Gitea user after migration #7410)Dump/restore github/gitlab repository data to a local directory and restore to gitea Dump github/gitlab/gitea repository data to a local directory and restore to gitea #12244Migrating Progress Updated:
The text was updated successfully, but these errors were encountered: