As part of our ongoing plan[1] to modernize our services we are now moving project repositories from git.eclipse.org to Gitlab/Github.
Webmaster needs to know:
If the project would prefer to move their code repositories to Gitlab or Github
What timing would be best for the project. By default it will be the due date of this issue.
What should happen to the open bugs for the project.
We'll coordinate via this issue and once the move is complete committers will need to update any local copies of the repositories, as well as any build jobs to point at the new remote URL locations.
If we haven't heard from the project by the due date for this issue, Webmaster will request a review from the EMO team to make sure the project is still active. Project repositories for active, but unresponsive projects will be moved to the Foundations Gitlab instance by default, and their bugs will be archived.
We don't have any strong timing constraints, we'd like to clean up our existing open Gerrit changes before the move (it is easier not to move incomplete changes), but if we have a month of time to do that, it would be fine for us, so between December 2023 and February 2024 we can accommodate any suggested time.
[...] what is expected from us during the migration.
We will handle the migration. After the migration, you will only need to adapt your local and CI configurations and update the repo URLs.
Just as a heads-up: due to the very restricted GitHub API for importing issues, a lot of meta-data will be lost (e.g. issues can not be back-dated, issue authors and commenters can not be set correctly). Hence, most projects decided to start fresh with GitHub issues.
About the tickets, I understand the limitations here (I have tried to migrate a Gitlab repository to Github and had the same issues). Still, I believe for us it would be easier for us to have the historical tickets available in Github even in this form than to try and recreate the ones we are working currently or handling the two systems in parallel.
@mward, @fgurr Could you estimate when we should expect the migration to proceed?
Last week would have been fine. This week is not optimal because I will not be available between Wednesday and Friday, but possible if necessary, next week would be fine.
About the tickets, if possible, please do it by original component, as written above:
The component VPM Archive is related to the org.eclipse.viatra2.vpm repository to be archived, so they tickets should not moved.
The component 'Examples' relates to the org.eclipse.viatra.examples repository.
The component 'Obfuscator' relates to the org.eclipse.viatra.modelobfuscator repository.
All other components should be moved to the org.eclipse.viatra repository.
If this is not possible, then move all to the org.eclipse.viatra repository.
One more thing: can I ask for the Github Discussions being enabled for the repositories? It would be our replacement for the forum (that is also planned to be removed AFAIK).
The repositories have been imported to Github. Committers that have added their Github IDs to their Eclipse.org accounts will receive invitations to join the Viatra Github team in an hour or so when the sync tooling runs.
Committers will also need to update their local repos and any build jobs to point at the new remotes.
I also took the opportunity to move the viatra-website repo into the new Viatra organisation, just to keep things a little cleaner.
The Gerrit repos have been marked read-only and a pointer to the new locations added. The PMI metadata has also been updated.
Which just leaves us with the issue transitions. I'm going to need to coordinate with the RelEng team to get the bot user setup to do the actual moves.
Thanks, the repositories themselves look fine. However, I have noticed a few issues:
We would like to use the Otterdog service.
Discussions were not enabled. When looking at the Otterdog service, I have seen the default settings were these are disabled. We are fine with using Otterdog for setting this up, I have seen the relevant option there.
When trying to update our main Jenkins build to use the new repository, I have received a rate limit exceeded.
Question: is our Jenkins instance able to report back to Github commits using the Checks API without any credential (I did not see any on our Jenkins instance)? Or do we need a specific user for that?
When trying to update our main Jenkins build to use the new repository, I have received a rate limit exceeded.
Question: is our Jenkins instance able to report back to Github commits using the Checks API without any credential (I did not see any on our Jenkins instance)? Or do we need a specific user for that?
The RelEng team will create a GitHub bot user to handle that.
A dashboard ui of the configuration can also be accessed at https://eclipse-viatra.github.io/.eclipsefdn/ which also provides a playground to test snippets before making a PR.
When you want to suggest changes, fork the repo, make changes and create a PR. A workflow will automatically run and show you the changes that will be applied and validate that the configuration is correctly formatted and composed.
A list of all Eclipse projects that have it also enabled can be accessed here: https://eclipsefdn.github.io/otterdog-configs/
That is often quite helpful to get ideas about others do their configurations.
I agree, I have tested the migrated infrastructure and it works.
However, I have a feedback about the issue migration: the fact that the bugzilla links point to the API server of Github (e.g. https://api.github.com/eclipse-viatra/issues/org.eclipse.viatra), it means, the entered links are basically broken. The best link would have been a direct issue link, but a working link to the repository would also be better than the ones we got.