News for hackers. Stuff that matters.
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.