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

move to gitlab #628

Open
1 of 8 tasks
doniks opened this issue Dec 15, 2024 · 17 comments
Open
1 of 8 tasks

move to gitlab #628

doniks opened this issue Dec 15, 2024 · 17 comments

Comments

@doniks
Copy link
Collaborator

doniks commented Dec 15, 2024

The topic of moving to gitlab was just refloated in a telegram chat related to reviving the weblate setup.

I think we would (at least) need the following steps:

@doniks
Copy link
Collaborator Author

doniks commented Dec 15, 2024

fyi, some pointers and notes from previous attempt here: #479

@Danfro
Copy link
Contributor

Danfro commented Dec 15, 2024

Relating the third point, mainly the .pot file needs to be merged into one file. Then weblate can be set up to use that as template and provide translations in one component.

The merging of existing .po files into one may save us all existing translated strings. Not sure about that, but I think weblate would try to import them when setting up the component.

@Danfro
Copy link
Contributor

Danfro commented Dec 15, 2024

A possible typo in the last step. That should be "archive/redirect gitHUB repo, right?

But all in all I think your summary of the steps are good. 👍

@doniks
Copy link
Collaborator Author

doniks commented Dec 15, 2024

Relating the third point, mainly the .pot file needs to be merged into one file

that merging is a manual step right? is it msgmerge? are you familiar with that? if so, would you be willing to do this merge? I'd suggest to do this whenever we're ready in the existing github

@doniks
Copy link
Collaborator Author

doniks commented Dec 15, 2024

A possible typo in the last step. That should be "archive/redirect gitHUB repo, right?

yes. thanks. fixed

@Danfro
Copy link
Contributor

Danfro commented Dec 15, 2024

Relating the third point, mainly the .pot file needs to be merged into one file

that merging is a manual step right? is it msgmerge? are you familiar with that? if so, would you be willing to do this merge? I'd suggest to do this whenever we're ready in the existing github

To be honest, I have not done that before. Hopefully someone can tell us.

@kuailexs
Copy link
Contributor

kuailexs commented Dec 25, 2024

Maybe moving to gitlab isn't such a good idea.

https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/views/notify/pipl_compliance_notification.html.haml

PIPL|Please be advised that GitLab can no longer service GitLab.com accounts for individuals and organizations located in Mainland China, Macao, and Hong Kong. Our system indicates that you are visiting GitLab from one of these locations. We advise you to sign up with JiHu %{jihu_link}. JiHu is an independent company with a localized GitLab offering that has an exclusive right to provide GitLab to individuals and organizations located in this region. You must complete the transition by %{deadline}, after which GitLab will delete your account from our systems. If you believe you are receiving this notification in error, please log in to GitLab.com from a supported service location. For further information or support, please feel free to contact [email protected].

@Danfro
Copy link
Contributor

Danfro commented Dec 25, 2024

@kuailexs since we moved most of our infra already to gitlab, this is hardly to be avoided if we want to keep some consistency. UBports isn't China based, so no problem in general. Although I do understand that contributions will become difficult for Chinese people. But what are the alternatives? Looks like Github is having hard times in China as well...

Edit: I did not know that gitlab actually blocks Chinese users until you pointed that out. This will need to be discussed.

@kuailexs
Copy link
Contributor

It is not easy to use github, but it can be used, and the obstacle to using github is from China.

gitlab will disable Chinese accounts, and the obstacle to using gitlab comes from gitlab.

@Fuseteam
Copy link
Contributor

One way to adjust to this could be to mirror from the mentioned site, but it will indeed make things harder

@Danfro
Copy link
Contributor

Danfro commented Dec 25, 2024

It is not easy to use github, but it can be used, and the obstacle to using github is from China.

gitlab will disable Chinese accounts, and the obstacle to using gitlab comes from gitlab.

I suspect/guess the true reason for gitlab to disable Chinese accounts is China too. 😏 They simply don't have the leverage Microsoft (github) has. Not that this helps us any further.

@doniks
Copy link
Collaborator Author

doniks commented Dec 26, 2024

Interesting... First time I hear about this. Here's a gitlab blogpost from 2021 about this https://about.gitlab.com/blog/2021/03/18/gitlab-licensed-technology-to-new-independent-chinese-company/ and an FAQ https://about.gitlab.com/pricing/faq-jihu/

@Fuseteam
Copy link
Contributor

makes me wonder if we should have some sort of mirror to github. then when PRs are merged on this side we pull the changes into gitlab

i am thinking in this direction because @kuailexs was also going to be a maintainer of a device, so we do need a way to work with them going forward

@doniks
Copy link
Collaborator Author

doniks commented Dec 27, 2024

Maybe. But yeah, since this is not just a docs problem and not just a ubports problem, I'm wondering what other open source projects do here? I would hope there are some best practices we could copy

@Danfro
Copy link
Contributor

Danfro commented Dec 27, 2024 via email

@Fuseteam
Copy link
Contributor

there are ways to push and pull automatically on gitlab, but we need to make sure the two are in sync before pulling from github, or we'll be dealing with potential merge conflicts

@doniks
Copy link
Collaborator Author

doniks commented Dec 27, 2024

I've searched a bit, but I cannot find any discussion of any other gitlab hosted project that mentions this challenge of Chinese contributions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants