Open litetex opened 2 years ago
Why not use Codeberg or another Gitea instance?
IIRC gitlab.com uses GitLab EE, which isn't open source.
Status update:
→ Therefore the most likely solution will be a script that periodically imports the GitHub repo (+issues and PR) into Gitlab.
Why not use Codeberg or another Gitea instance?
IIRC gitlab.com uses GitLab EE, which isn't open source.
As I'm just using the parts of GitLab that are also available on the CE edition, I see no harm here.
In case GitHub goes down and we want to use our own GitLab instance, we can still export the data from GitLab to our own instance or import it into Codeberg, Gitea, ...
Run an full import of everything last night into a test repository: https://gitlab.com/n3490
Looks pretty good. However I encountered some issues today:
Project import status: | GH | GL | Git -Import |
Issues -Import |
PR -Import |
---|---|---|---|---|---|
https://github.com/TeamNewPipe/NewPipe | https://gitlab.com/n3490/NewPipe/2022-03-18 | ✔️ | ❌ ~700 issues are missing | ✔️ | |
https://github.com/TeamNewPipe/NewPipeExtractor | https://gitlab.com/n3490/NewPipeExtractor/2022-03-18 | ✔️ | ✔️ | ✔️ | |
https://github.com/TeamNewPipe/nanojson | https://gitlab.com/n3490/nanojson/2022-03-18 | ✔️ | ✔️ | ✔️ | |
https://github.com/TeamNewPipe/website | https://gitlab.com/n3490/website/2022-03-18 | ✔️ | ✔️ | ✔️ | |
https://github.com/TeamNewPipe/documentation | https://gitlab.com/n3490/documentation/2022-03-18 | ✔️ | ✔️ | ✔️ | |
https://github.com/TeamNewPipe/team (private) | https://gitlab.com/n3490/team/2022-03-18 | ✔️ | ✔️ | ✔️ | |
https://github.com/TeamNewPipe/legal (private) | https://gitlab.com/n3490/legal/2022-03-18 | ✔️ | ✔️ | ✔️ |
Did another import this week and there are even more issues missing (https://gitlab.com/n3490/newpipe/2022-03-21).
Not sure what is happening there exactly...
Related: https://gitlab.com/gitlab-org/gitlab/-/issues/32026
I recently noticed that we don't have any kind of backup of our organization in case GitHub takes them down (#youtube-dl).
Also related to #1499.
What should be backed up
Backup destination
For now I would target GitLab.com (→ https://gitlab.com/TeamNewPipe)
Backing up Git
Idea: Run once a week a full backup (with GH actions?) and push it to gitlab (override everything that is already there)
See also:
Backing up Issues
Idea: https://github.com/MichaelMure/git-bug
Requires a new repository.
Add 2 bridges:
Sync changes e.g. once in a week