Paul Krill
Editor at Large

OpenJDK repo migration to GitHub gains steam

news
Nov 12, 20192 mins

A formal OpenJDK proposal calls for migrating Java source code repositories to the popular code-hosting platform

The effort to move the development of open source Java to GitHub is gathering steam, with the arrival of a formal proposal to migrate single-repository OpenJDK projects to the popular code-hosting platform.

The plan, formalized as part of the OpenJDK Java enhancement proposal process, would move Java’s Git repos to GitHub in concert with another proposal to migrate OpenJDK source code repos from Mercurial to Git. Both Java Development Kit (JDK) feature and update releases would be moved to GitHub, for JDK 11 and later versions.

The migration plan has been under consideration for some time, with the proliferation of Git tools and reducing the size of version control metadata cited as reasons. The new proposal, created and updated in the past week, formally refines the process to explicitly name GitHub as the target of the migration.

Moving to an external source code hosting provider can provide performance benefits, web access APIs, and an expanded community, the proposal argues. GitHub is acknowledged as the world’s largest code-hosting service and is lauded for its superior performance and extensive API in the proposal.

Goals of the formal proposal include:

  • Not requiring developers to install OpenJDK-specific tools in order to contribute.
  • Running pre-commit checks before every push.
  • Ensuring support for workflows that are structurally similar to the existing email and webrev based workflows.
  • Ensuring that the OpenJDK community can always move to a different source code hosting provider.
  • Preserving and archiving all metadata.

Success metrics cited include significantly faster clone and pull times, better availability of repos, and possibilities to interact with GitHub repos via OpenJDK mailing lists, command-line tools, and browsers. There are no plans to change the OpenJDK community issue tracker, wiki, or existing infrastructure. There already is an OpenJDK presence on GitHub that includes a read-only mirror of openjdk.java.net, along with some other repos.

The proposal acknowledges that any external provider could shut down or that externally hosted source code might become unavailable. The Skara project has been put in place to mitigate such risks. Critical metadata would not be locked into one provider.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author