News for hackers. Stuff that matters.
Re:Blender moves from Phabricator to Gitea by cowmix on Tuesday February 07, 2023 @05:14PM (#34700569)
I wonder how Gitea will hold up to all the traffic? Even Gitea hosts their stuff on Github.
Re:Blender moves from Phabricator to Gitea by yamtaddle on Tuesday February 07, 2023 @05:41PM (#34700902)
Doubt it'll be a problem.

Github's scaling challenges have more to do with the write volume than the read volume. Even a project as big and active as Blender shouldn't make Gitea sweat too much on relatively modest hardware. Anonymous clones and such will surely be https, so, quite cache-friendly.

I wanna say Gitea has some config options for hosting static files (like releases) on s3-compatible storage then serving directly from there, so even that shouldn't be a problem. But I may be mis-remembering that part. And, again, a CDN or Varnish or whatever would be able to serve those files just as well from Gitea as from anywhere else.

Re:Blender moves from Phabricator to Gitea by techknowlogick on Tuesday February 07, 2023 @06:23PM (#34701429)
Yup, that's right. Non-repo data (releases, avatars, packages, etc..) can all be hosted in s3-compat storage.

If you are interested in some benchmarks that Blender did you can find them here: https://code.blender.org/2023/02/gitea-test-drive/

Disclaimer: I'm one of the members of the technical oversight committee of the Gitea project, and am employed to work on Gitea.

Re:Blender moves from Phabricator to Gitea by stryan on Tuesday February 07, 2023 @05:31PM (#34700768)
I don't believe Gitea is hosting on Github for traffic reasons but for feature completeness. Relevant issue is here[0].

[0]https://github.com/go-gitea/gitea/issues/1029

Re:Blender moves from Phabricator to Gitea by lucideer on Tuesday February 07, 2023 @05:42PM (#34700904)
That's a great ticket, & also links to a really nice & insightful comment from one of the Fog Creek folk https://lobste.rs/s/gokjbo/gitea_1_1_0_released#c_dg9pwe
Re:Blender moves from Phabricator to Gitea by vidanay on Tuesday February 07, 2023 @05:52PM (#34701026)
I still dream of a world where FogBugz & Kiln gained the respect they deserved.

Mercurial was pretty damn nice.

Re:Blender moves from Phabricator to Gitea by slondr on Tuesday February 07, 2023 @10:01PM (#34703541)
Was? It still is very nice.
Re:Blender moves from Phabricator to Gitea by aidenn0 on Tuesday February 07, 2023 @07:35PM (#34702218)
Looks like https://github.com/go-gitea/gitea/pull/18165 is the last missing checkbox...
Re:Blender moves from Phabricator to Gitea by codefined on Tuesday February 07, 2023 @05:19PM (#34700618)
Gitea is self-hosted, so Blender will be running their own instance.
Re:Blender moves from Phabricator to Gitea by qwertox on Tuesday February 07, 2023 @05:24PM (#34700675)
That's not what parent means. Gitea is an alternative to GitHub, yet they use GitHub for hosting their code.
Re:Blender moves from Phabricator to Gitea by SV_BubbleTime on Tuesday February 07, 2023 @05:31PM (#34700770)
That kind of makes sense for disaster planning though.

If Gitea discovered some massive CVE, and volentarily went dark to fix it... They would want their code and fix hosted somewhere else.

Re:Blender moves from Phabricator to Gitea by bawolff on Tuesday February 07, 2023 @05:49PM (#34701005)
Mirroring the code to github (or somewhere else) would solve that problem just as well.

Not dogfooding your own product seems like a huge red flag to me.

Re:Blender moves from Phabricator to Gitea by throwaway894345 on Tuesday February 07, 2023 @05:56PM (#34701078)
There's clearly the intention to self-host, they seem to be waiting for support to ingest data from a GitHub data export which seems pretty reasonable.
Re:Blender moves from Phabricator to Gitea by techknowlogick on Tuesday February 07, 2023 @06:19PM (#34701369)
Yes, this is exactly the case. Lots of data, and low ratelimits don't mix. All except for the main repo have already migrated to gitea.com

Disclaimer: I'm one of the members of the technical oversight committee of the Gitea project, and am employed to work on Gitea.

Re:Blender moves from Phabricator to Gitea by tylersmith on Tuesday February 07, 2023 @05:31PM (#34700772)
Gitea does not use Github because the software can't handle their load requirements, but because they started using GH before Gitea had all the features they needed. They are actively working on hosting Gitea on Gitea, with the last piece being an importer to move over all their GH data.

Blender seems to have been ok manually migrating some things and abandoning other things, since they weren't likely to ever get a Phab->Gitea importer anyways.

https://github.com/go-gitea/gitea/issues/1029

Re:Blender moves from Phabricator to Gitea by bawolff on Tuesday February 07, 2023 @05:46PM (#34700967)
How much traffic could they possibly have? Quite frankly either gitea has absolutely terrible scalability or something else is off here.
Re:Blender moves from Phabricator to Gitea by yamtaddle on Tuesday February 07, 2023 @06:11PM (#34701277)
Huh? It isn't because of inability to handle load, that they host on GH.

Gitea performs alright. It can serve surprisingly-heavy traffic from a potato-tier VM with a SQLite backend (assuming the host network can keep up with it, anyway). Not Github-scale (but Github has... a lot of traffic, including a whole lot of write traffic) but quite a bit, and that's with basically the worst-possible hosting situation for handling high load.

Re:Blender moves from Phabricator to Gitea by techknowlogick on Tuesday February 07, 2023 @06:25PM (#34701461)
That's correct. It is not due to load, gitea.com already has most of the projects repos migrated already, just not the main one due to ratelimits and exporting all the issues. Gitea.com has thousands of users, and multi-TB traffic monthly on a fairly modest setup.

Disclaimer: I'm one of the members of the technical oversight committee of the Gitea project, and am employed to work on Gitea.

Re:Blender moves from Phabricator to Gitea by tylersmith on Tuesday February 07, 2023 @10:35PM (#34703796)
Tbf my comment was phrased a bit ambiguously, but I couldn't think of anything less ambiguous.
Re:Blender moves from Phabricator to Gitea by techknowlogick on Tuesday February 07, 2023 @06:16PM (#34701336)
Hi, I'm one of the members of the technical oversight committee of the Gitea project, and am employed to work on Gitea. The reason why the project itself is still on GitHub is due to the massive amount of metadata (20K+ issues and PRs, and all the comments, reactions, and other metadata attached to them) around the project, and the ratelimiting that is slowing the export. All the non-primary repos have long since moved to gitea.com.
Re:Blender moves from Phabricator to Gitea by vfclists on Tuesday February 07, 2023 @06:42PM (#34701658)
I start getting worried about projects when people say stuff like "I'm one of the members of the technical oversight committee of the Gitea project"

How many committees are there and how many people on each committee?

Re:Blender moves from Phabricator to Gitea by jolheiser on Tuesday February 07, 2023 @06:49PM (#34701737)
The TOC is our owners team, but three are from the company and three are from the community.

The reason to say it as a disclaimer is because we are going to have some bias.

Re:Blender moves from Phabricator to Gitea by bastardoperator on Tuesday February 07, 2023 @06:50PM (#34701742)
You can use the API to export all of the metadata in a single request:

https://docs.github.com/en/rest/migrations/orgs#start-an-org...

https://docs.github.com/en/rest/migrations/orgs#download-an-...

Using a Github App you get 15K requests per hour. Even with pagination(100 records per request) you should be able to get at all of this data within a couple of hours. I suspect you lack reliable transformation tools to take github metadata and convert it to gitea versus the limitations of GitHub.

Re:Blender moves from Phabricator to Gitea by techknowlogick on Tuesday February 07, 2023 @06:52PM (#34701768)
Thanks, yeah. We have started to look at that alternative endpoint, but it doesn't have the exact data as the api, nor is it always in the exact same format.

Although as I have run the migration myself several times to attempt to debug issues, it takes over 24hours due to ratelimiting.

Disclaimer: I'm one of the members of the technical oversight committee of the Gitea project, and am employed to work on Gitea.

Re:Blender moves from Phabricator to Gitea by bastardoperator on Tuesday February 07, 2023 @07:01PM (#34701866)
Create more GitHub Apps. If you're hitting rate limits you can double your capacity by adding a new app and using round robin to cycle through requests/tokens. If you're using a PAT, you only have 5k requests and will bottleneck quickly.
Re:Blender moves from Phabricator to Gitea by techknowlogick on Tuesday February 07, 2023 @08:34PM (#34702899)
I.... uhh... can't say I tried that... as it's against the TOS... cough All joking aside, they have banned accounts from other projects attempting to do the same, so if I were to do that (and I'm not saying that I would), I'd want to make sure that the exporter is solid prior to risking any account.
Re:Blender moves from Phabricator to Gitea by bastardoperator on Tuesday February 07, 2023 @11:28PM (#34704141)
It's not against the TOS, the documentation is very clear:

  "Keep these ideas in mind when creating GitHub Apps:

  - A user or organization can own up to 100 GitHub Apps."
https://docs.github.com/en/developers/apps/getting-started-w...

Which is 1.5 million API requests per org per hour.