Re: Git workflows


Robert Varga
 

On 09/08/2022 22:58, Robert Varga wrote:
Hello,
Sorry to self-reply.

[snip]

At the end of the day, this is not impossible. The OpenJDK community has executed a full transition from custom Mercurial workflows (webrev et al.) to GitHub PRs -- but that transition includes a metric ton of automation which had to be written from scratch.
A typical Java PR looks like this: https://github.com/openjdk/jdk/pull/9812

Note that the actual management is done by "openjdk" bot, including
responding to commands by authorized users:

https://github.com/openjdk/jdk/pull/9766#issuecomment-1206152322 has the following workflow results:

1. https://github.com/openjdk/jdk/pull/9766#issuecomment-1206153918
2. @openjdk openjdk bot added the integrated label 5 days ago
3. @openjdk openjdk bot closed this 5 days ago
4. @openjdk openjdk bot removed ready rfr labels 5 days ago
5. https://github.com/openjdk/jdk/pull/9766#issuecomment-1206154128

I am not saying we need all of this (although that would be awesome), but we absolutely require 50% of this.

Note that inter-release OpenJDK requires explicit backports tracked in JIRA like here: https://bugs.openjdk.org/browse/JDK-8274349. That side-steps a workflow across multiple Git branches. I do not believe our community does not have the resources to support that amount of overhead, so we need something better here (which in turn implies Change-ID).

Regards,
Robert

Join TSC@lists.opendaylight.org to automatically receive all group messages.