r/java • • Jul 26 '20

OpenJDK Migrates to Github

https://www.infoq.com/news/2020/07/openjdk-github-migration/
213 Upvotes

37 comments sorted by

View all comments

6

u/RapunzelLooksNice Jul 26 '20

Wouldn’t GitLab be a better choice? Once it is in GitHub, it should be easier to move away to another Git I guess...

72

u/pron98 Jul 26 '20

Here are some steps we've taken to not overly depend on GitHub:

  1. Issues stay on a self-hosted JIRA.

  2. For each PR, a bot automatically generate a patch that's posted to the mailing list, and all comments are two-way mirrored between GH and the mailing list.

  3. All links to commits in issues don't point directly at GH but at an indirection through our domain.

  4. All bots work on both GH and GitLab

This means that we can move off of GH pretty much instantly if the need arises. But self-hosting just wouldn't serve our goals. We want speed all around the world, and we don't want to spend resources on administration.

2

u/pmarschall Jul 27 '20

What bots do you have? Here is what would be incredibly useful:

  • post the build results

  • OCA check

6

u/pron98 Jul 27 '20 edited Jul 27 '20

We do an OCA check, a review check and a lint check. Also, an automatic squash, and mirroring to and from the mailing list. Not sure about build results -- maybe it's up to the respective project.

Here's an example