-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add explicit versions in the branches.json and use them for calculating unreleased versions for BwC tests #129637
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
c18c24c
Initial work for having explicit active branch with version connection
jozala 67e07c4
Basic implementation with single test passing
jozala 1c1a531
Tests for UpdateBranchesJsonTask
jozala f6fedd5
Allow changing branch.json location in GlobalBuildInfoPlugin
jozala 588c2dd
Change branch.json location temporarily to point to the forked repo
jozala d4c0bbc
[CI] Auto commit changes from spotless
c51044d
Artificial Gradle projects for BwC tests added
jozala 79a9c0a
Tests corrected to be in line with new BwC test naming
jozala 5206a31
Register the task in the plugin
jozala 8f3d4c2
Configure JSON formatting for branches.json
jozala cb0850c
Update manually branches.json to make it in line with current releases
jozala e2b9fbf
Apply code review feedback
jozala 42f7117
Fix the test to make it pass
jozala 202a485
Change how version.properties is consumed in GlobalBuildInfoPlugin
jozala c7f1f62
Update branches.json after releases
jozala 9dc8160
Add version.properties files for the tests
jozala acb1911
Merge branch 'main' into bwc-explicit-branches-version
jozala 6a892ae
Remove unused bwc projects
jozala c469ab3
Update branches.json manually after releases
jozala b532042
Change "master" to "main" branch name in the default URL for branches
jozala 0e17f38
Update branches.json manually after releases
jozala 72f6f1c
Merge branch 'main' into bwc-explicit-branches-version
jozala 5b4c655
Merge branch 'main' into bwc-explicit-branches-version
jozala 8583e31
Update branches.json manually after releases
jozala b1d8282
[CI] Auto commit changes from spotless
8b0e9c8
Revert the deletion of `setupLocalGitRepo` method
jozala a63e333
Merge branch 'main' into bwc-explicit-branches-version
jozala 96b9648
Merge branch 'main' into bwc-explicit-branches-version
jozala 0eb15bf
Fix the compilation issues after merge
jozala 4de4a5a
[CI] Auto commit changes from spotless
f156bf0
Update branches.json manually after releases
jozala a71d4f5
Merge branch 'main' into bwc-explicit-branches-version
jozala 88774ef
Remove temporary branches-file-location property in gradle.properties
jozala File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -116,4 +116,12 @@ class AbstractTransportVersionFuncTest extends AbstractGradleFuncTest { | |
| execute("git checkout -b main") | ||
| execute("git checkout -b test") | ||
| } | ||
|
|
||
| void setupLocalGitRepo() { | ||
| execute("git init") | ||
| execute('git config user.email "[email protected]"') | ||
| execute('git config user.name "Build tool"') | ||
| execute("git add .") | ||
| execute('git commit -m "Initial"') | ||
| } | ||
| } | ||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
This is simplification of the naming convention.
Name
minorNmeans previous minor on the same major where numberNis a distance from the current.Name
majorNmeans previous major, still actively developed versions, where N is a distance from the current, omitting all the previous minor versions.Related changes in other files across this PR.