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

[JENKINS-65445] get rid of Guava as much as possible #2163

Merged
merged 74 commits into from
Jun 7, 2021

Conversation

olamy
Copy link
Member

@olamy olamy commented May 5, 2021

Description

See JENKINS-65445.

Submitter checklist

  • Link to JIRA ticket in description, if appropriate.
  • Change is code complete and matches issue description
  • Appropriate unit or acceptance tests or explanation to why this change has no tests
  • Reviewer's manual test instructions provided in PR description. See Reviewer's first task below.

Reviewer checklist

  • Run the changes and verified the change matches the issue description
  • Reviewed the code
  • Verified that the appropriate tests have been written or valid explanation given

@olamy olamy added chore dependencies Pull requests that update a dependency file java Pull requests that update Java code labels May 5, 2021
@olamy olamy force-pushed the JENKINS-65445-get-rid-guava branch 2 times, most recently from 5441bfc to d6a2334 Compare May 5, 2021 03:06
@olamy olamy force-pushed the JENKINS-65445-get-rid-guava branch 3 times, most recently from e2aa6e6 to 5d8d3f5 Compare May 21, 2021 02:11
@olamy olamy marked this pull request as ready for review May 21, 2021 03:06
@olamy olamy force-pushed the JENKINS-65445-get-rid-guava branch 2 times, most recently from 0479553 to a8860fc Compare May 25, 2021 01:45
@olamy olamy force-pushed the JENKINS-65445-get-rid-guava branch from a8860fc to f98f27b Compare May 25, 2021 10:45
@olamy olamy requested a review from jtnord May 25, 2021 10:56
@batmat batmat requested a review from rsandell May 26, 2021 08:44
olamy added 3 commits May 31, 2021 11:14
Signed-off-by: olivier lamy <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
Signed-off-by: olivier lamy <[email protected]>
@@ -249,7 +248,7 @@ private MultiBranchProject mockMbp(String credentialId, User user) {
when(scmSource.getCredentialsId()).thenReturn(credentialId);
when(scmSource.getRepoOwner()).thenReturn("TESTP");
when(scmSource.getRepository()).thenReturn("pipeline-demo-test");
when(mbp.getSCMSources()).thenReturn(Lists.<SCMSource>newArrayList(scmSource));
when(mbp.getSCMSources()).thenReturn( Collections.singletonList(scmSource));
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
when(mbp.getSCMSources()).thenReturn( Collections.singletonList(scmSource));
when(mbp.getSCMSources()).thenReturn(Collections.singletonList(scmSource));

Signed-off-by: olivier lamy <[email protected]>
Copy link
Member

@rsandell rsandell left a comment

Choose a reason for hiding this comment

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

Though I would have liked to see this more divided up into separate changes. One for the logging framework change, one for Guava removal, etc.

@olamy
Copy link
Member Author

olamy commented Jun 4, 2021 via email

Jacoco is now executed as part the the CI run and basic coverage numbers are reported.
@bitwiseman
Copy link
Contributor

@olamy
We were returning true if something was "not null or empty", to maintain equivalent behavior we want to return true if something is "not blank", right?

@olamy olamy merged commit a7cbc94 into master Jun 7, 2021
@olamy olamy deleted the JENKINS-65445-get-rid-guava branch June 7, 2021 10:40
@olamy
Copy link
Member Author

olamy commented Jun 10, 2021

@kevin-jeff-bot maybe you can create an issue with some details? (if you are not a bot)

@basil
Copy link
Member

basil commented Sep 12, 2021

@bitwiseman @car-roll @olamy @rsandell What are the next steps toward getting a "standard" (i.e. non-alpha) release of this? Would be good to get this into broader distribution in advance of the forthcoming core Guava upgrade.

@olamy
Copy link
Member Author

olamy commented Sep 12, 2021

sounds good I can cut a release by the end of the week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants