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

Revert checks-api from 2.0.1 to 2.0.0 #2512

Merged

Conversation

MarkEWaite
Copy link
Contributor

Revert checks-api from 2.0.1 to 2.0.0

#2484 describes the unexpected addition of commons-text-api as a new dependency for many consumers of the plugin bill of materials.

Rather than having more and more plugins adding dependencies on the commons-text-api or the commons-lang3-api plugin, let's keep the checks-api dependency at 2.0.0 instead of 2.0.1.

jenkinsci/checks-api-plugin#233 is the issue reported to the checks-api plugin. Once that issue is resolved, we should be able to use more recent checks-api plugin versions.

Dependency updates that had to add commons-text-api included:

This reverts commit 729dfb2.

Testing done

PLUGINS=checks-api bash local-tests.sh passes

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@MarkEWaite MarkEWaite requested a review from a team as a code owner September 16, 2023 14:13
@MarkEWaite MarkEWaite added the full-test Test all LTS lines in this PR and do not halt upon first error. label Sep 16, 2023
@timja
Copy link
Member

timja commented Sep 16, 2023

Or just send a PR to checks-api?

@MarkEWaite
Copy link
Contributor Author

MarkEWaite commented Sep 16, 2023

Or just send a PR to checks-api?

I'd love to do that but I don't think that I have the maven skills to resolve the issue in checks-api plugin and analysis-pom-plugin as described at jenkinsci/checks-api-plugin#233 (comment) .

Based on the recommendation from Basil, I think that I would need to remove commons-lang3-api from analysis pom and add it to each of the pom files that consume the analysis pom.

The most recent release of the credentials-binding plugin adds masking
for base64 credentials.  That's a nice improvement.  Unfortunately,
it causes one of the config-file-provider tests to fail.

Adapt older bom profiles to "Bump credentials-binding (jenkinsci#2509)" by
retaining the current version of the credentials binding plugin on
the weekly release and pinning the previous credentials binding plugin
release on the LTS releases.

Could exclude the test failure on all releases, but it seemed better
to be able to detect test failures from the weekly release even if we
can't yet test the new version with the LTS releases.

This partially reverts commit bab8257.
@MarkEWaite
Copy link
Contributor Author

MarkEWaite commented Sep 16, 2023

Needs #2514 before tests will pass in this pull request. I'd really like to include both #2514 and this change in the bom release. That likely means it will be another 8-12 hours before the bom release is ready for this week.

…enkinsci#2471)"

jenkinsci#2484 describes the unexpected
addition of commons-text-api as a new dependency for many consumers of
the plugin bill of materials.

Rather than having more and more plugins adding dependencies on the
commons-text-api or the commons-lang3-api plugin, let's keep the
checks-api dependency at 2.0.0 instead of 2.0.1.

jenkinsci/checks-api-plugin#233 is the issue
reported to the checks-api plugin.  Once that issue is resolved, we
should be able to use more recent checks-api plugin versions.

Dependency updates that had to add commons-text-api included:

* jenkinsci/bitbucket-kubernetes-credentials-plugin#133
* jenkinsci/elastic-axis-plugin#309
* jenkinsci/nodelabelparameter-plugin#265
* jenkinsci/testng-plugin-plugin#244

This reverts commit 729dfb2.
@MarkEWaite MarkEWaite force-pushed the revert-checks-api-2.0.1-upgrade branch from d206659 to 25a3381 Compare September 17, 2023 01:06
@MarkEWaite MarkEWaite merged commit bb334bc into jenkinsci:master Sep 17, 2023
@MarkEWaite MarkEWaite deleted the revert-checks-api-2.0.1-upgrade branch September 17, 2023 08:03
@MarkEWaite MarkEWaite added the bug Something isn't working label Sep 17, 2023
@MarkEWaite
Copy link
Contributor Author

Release is blocked by an authentication issue in the GitHub action that performs the release. Build passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working full-test Test all LTS lines in this PR and do not halt upon first error.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants