-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8320358: GHA: ignore jdk* branches #16763
Conversation
👋 Welcome back kcr! A progress list of the required criteria for merging this PR into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
@kevinrushforth This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 114 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@magicus) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
@kevinrushforth The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
Looks to me it just asks for corner case problems. For example, bots regularly create backport branches like I think we can avoid this with more precise glob pattern, e.g. |
... or the bots should name the branches I think it would be good to reserve the entire namespace beginning with Also, we need to look at this where it is being used. I'm not sure that the |
Yes, but the fact I can come up with an easy example where it breaks serves as signal there are likely less obvious broken cases :)
True.
The docs imply it is a variant of glob, which means either |
Looking at |
We could name the branches |
We are very likely to use the name As Magnus says, we might want to leave the door open in the future for |
I note that this would be easy to fix by changing the bot to use |
Argh, the syntax is something like a glob-meets-regexp mongrel.
That means that Also note that we probably want to use |
It also have the benefit of being more logical. :-) |
I mean, absolutely there can be other things, unknown to us, that will break. Just as adding the I don't think that should stop us, however. The better the reason to reserve the entire jdk name space already, instead of finding out later on that we need to redo the entire thing just because someone decided that jdk30 is actually going to be called "Java3"... (You're laughing? Remember Java2 ...) However, we might want to document somewhere that branches with a name that starts with |
I don't think we need to match a
My preference is 1. |
I could live with option 3 as well, but I think that would just be harder to explain without much benefit. Let's leave this sit until after the US Thanksgiving holiday weekend, so others can weigh in. |
I vote for 1. I will file a SKARA issue for reordering the backport branch names. We currently aren't backporting to mainline so it shouldn't cause any issues short term. |
|
May I ask, why you all are so fixated on using |
I think you misunderstand how our GitHub Actions are configured. No GHA job ever runs in the I plan to integrate this PR later today. |
/integrate |
@kevinrushforth |
/sponsor |
Going to push as commit db7fedf.
Your commit was automatically rebased without conflicts. |
@erikj79 @kevinrushforth Pushed as commit db7fedf. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
At some point we are likely to use stabilization branches in the mainline jdk repo rather than a separate repo. In preparation, this PR excludes branches matching
jdk*
, like we currently do formaster
andpr/*
.A potential drawback of doing this is that it will exclude developer branches named
jdk-8888888
or similar, using a lower-casejdk
. Developers who want a GHA run will need to useJDK
(uppercase) or some other prefix.This is unlikely to be a problem in practice. I checked the most recent 100 open pull requests in the
jdk
repo at the time I created this fix, and while many of them use "JDK" (upper case) as a prefix, I found none that use "jdk" (lower case).Testing
I pushed the following branch that was even with
jdk:master
at the time I pushed it (thus without this fix). GHA was run as expected:I pushed the following branches that all include this fix. GHA runs were skipped on the branches that start with
jdk
and run on the others:Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/16763/head:pull/16763
$ git checkout pull/16763
Update a local copy of the PR:
$ git checkout pull/16763
$ git pull https://git.openjdk.org/jdk.git pull/16763/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 16763
View PR using the GUI difftool:
$ git pr show -t 16763
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/16763.diff
Webrev
Link to Webrev Comment