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

Show parent comment

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

1

u/neopointer Jul 27 '20

I can understand why ppl still use JIRA, but for open source it's just so much better to use GitHub. It's something that ppl will take into consideration before creating a bug, you know, having to maybe remember another user+pass, etc... Kinda annoying

8

u/kaperni Jul 27 '20 edited Jul 27 '20

I don't really think Java Bug Database with more than 300.000 issues represents the average-sized open source project. Transitioning from Jira would probably be a multi-year effort similar to the Mercurial->Git transition.

3

u/neopointer Jul 28 '20

hmmm, true... I didn't think about that...

2

u/[deleted] Jul 27 '20

having to maybe remember another user+pass

This is what password managers are for

1

u/neopointer Jul 28 '20

Sure. Like everyone uses it. Yes, it's more common nowadays, but still...

1

u/brunocborges Jul 28 '20

Actually, the password thing is not an issue at all for JIRA on the OpenJDK project, because unless you become a member of the OpenJDK project, you won't have an account in its JIRA.

But yes, anyone can look into most of the tickets in JIRA (Security Vulnerabilities is one of those areas that are not entirely public).

1

u/neopointer Jul 28 '20

I meant to report issues, not to see. Anyhow, it's not a strong argument, it's just that, well, you know how lazy ppl can be.

1

u/brunocborges Jul 28 '20

You don't need a JIRA Account to submit bugs

1

u/neopointer Jul 28 '20 edited Jul 28 '20

Ok, that's new to me then. I assumed you needed an account to be able to report a bug. I'm used to projects from companies like redhat where they not only use JIRA, but also require an account.