Skip to content
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

Ensure all version catalog dependency properties are copied #23246

Conversation

jvandort
Copy link
Member

@jvandort jvandort commented Dec 20, 2022

Follow up for #23096 with a more comprehensive test.
Ensures targetConfiguration is copied when version catalog dependencies are copied. This property was copied pre 7.6 but regressed in 7.6.

While fixing this bug, I discovered endorsing and versionConstraint.branch were also not copied. We are leaving those fixes out of this PR but will fix in 8.1. See: #23286

@jvandort jvandort added the a:bug label Dec 20, 2022
@jvandort jvandort added this to the 7.6.1 milestone Dec 20, 2022
@jvandort jvandort self-assigned this Dec 20, 2022
@jvandort jvandort changed the title Ensure all version catalog dependencies are copied Ensure all version catalog dependency properties are copied Dec 20, 2022
@jvandort jvandort force-pushed the jvandort/iss/23096/release7x/ensure-all-properties-are-copied branch 2 times, most recently from 314a24b to 729a325 Compare December 20, 2022 23:25
@jvandort jvandort marked this pull request as ready for review December 21, 2022 05:59
@jvandort jvandort force-pushed the jvandort/iss/23096/release7x/ensure-all-properties-are-copied branch 4 times, most recently from 6df8e55 to ee87bfe Compare December 23, 2022 05:36
@jvandort
Copy link
Member Author

Reverted the endorsing and branch changes in order to keep the changes here minimal. We only want to solve the regression while including no other behavior changes -- even if they are correct.

I wrote up an issue to resolve the remaining two uncopied properties in 8.1:
#23286

@jvandort jvandort force-pushed the jvandort/iss/23096/release7x/ensure-all-properties-are-copied branch from ee87bfe to 833cfab Compare December 23, 2022 05:51
@gradle gradle deleted a comment from jvandort Dec 23, 2022
Copy link
Member

@big-guy big-guy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the comment about the test, LGTM

Follow up for #23096 to ensure all properties are properly copied
Even though these are desired changes, we are choosing to back them out of 7.6.1 as they
are technically behavior changes and do not resolve an immediate 7.6 regression.
@jvandort jvandort force-pushed the jvandort/iss/23096/release7x/ensure-all-properties-are-copied branch from 833cfab to 10086f7 Compare December 23, 2022 21:50
@jvandort
Copy link
Member Author

@bot-gradle test this

@gradle gradle deleted a comment from jvandort Dec 23, 2022
@bot-gradle
Copy link
Collaborator

I've triggered the following builds for you:

@jvandort
Copy link
Member Author

@bot-gradle test and merge

@gradle gradle deleted a comment from jvandort Dec 23, 2022
@bot-gradle
Copy link
Collaborator

I've triggered a build for you.

@bot-gradle bot-gradle merged commit 289e454 into release7x Dec 24, 2022
@bot-gradle bot-gradle deleted the jvandort/iss/23096/release7x/ensure-all-properties-are-copied branch December 24, 2022 00:25
bot-gradle added a commit that referenced this pull request Dec 27, 2022
Ensures the 7.6 regression fixed in #23246 is included in 8.0

Co-authored-by: Justin Van Dort <jvandort@gradle.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants