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
update-sync labels should be applied to all-bar-one records #848
Conversation
|
@robm-openjdk 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 |
@kevinrushforth - it'd be great if you could take a look at this when you're able. |
Looks good to me, thanks for fixing! Perhaps @kevinrushforth would like to take a look as well though.
@robm-openjdk This change now passes all automated pre-integration checks. 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 21 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 (@rwestberg) but any other Committer may sponsor as well.
|
The fix looks good to me. One question about the test: is the assertNotLabeled
method really needed? It looks like assertLabeled
will fail unless the set of issues with the labels is exactly as expected (i.e., it will fail if it finds an issue that should have the sync label but doesn't or if if find an issue that should not have the sync label but does), unless I'm missing something.
I think I like the lack of ambiguity in the name. I vote to leave it in, but if Robin objects I can remove it. |
/integrate |
@robm-openjdk |
I don't mind keeping it if you think it makes the test more readable! |
/sponsor |
@rwestberg @robm-openjdk Since your change was applied there have been 21 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit f023a34. |
This modification fixes the situation where a backport record may be a member
of two distinct streams and has its hgupdate-sync label removed as a result.
E.g. with backport records for 14, 15, 14.0.1, 15.0.1 no label would be
applied to 15. The current logic gives precedence to the fact that it is the
first release in the 15-updates stream and ignores the fact that it is not
the first release in the feature stream. The label added by the feature stream
is removed when evaluating the 15-updates stream. This should not be the case.
Progress
Reviewers
Download
$ git fetch https://git.openjdk.java.net/skara pull/848/head:pull/848
$ git checkout pull/848