-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
Remove of commons-digester from core #5320
Conversation
Still a draft as this need some discussions. |
Have you checked the usage in plugins? I have a hunch that I might have used it somewhere a long time ago :) |
Used a lot in plugins, which is why it got a security hardening recently. Please use https://github.com/jenkins-infra/usage-in-plugins to identify uses of APIs you plan to change. |
I would rather suggest deprecating |
Used in 14 plugins:
|
d680867
to
2400a5c
Compare
|
ok I will fix the PRs but we should remove this from core as we do not use it. |
@bitwiseman the table just got updated with latest status a few seconds ago, can you please file a PR to update the JEP-231 with impacted plugins? Thank you! |
The https://github.com/jenkinsci/tfs-plugin is not suspended see https://issues.jenkins-ci.org/browse/INFRA-2751 |
@trivalik it is until:
Likely not terribly hard to do, just needs someone to step up and do it |
Formally deprecating plugins left behind in jenkinsci/jenkins#5320, jenkinsci/jenkins#5338, jenkinsci/jenkins#5521, and jenkinsci/jenkins#5526.
Although included in the primary list of candidates for deprecation due to jenkinsci/jenkins#5320, the plugin was fixed on its 1.10 release on June 3, and removed from the list (see https://github.com/bitwiseman/jep/tree/00c184f97f40c5f79f8f83074c78dd4fb1e1ac43/jep/231) The plugin does have mantainers and is not deprecated
Although included in the primary list of candidates for deprecation due to jenkinsci/jenkins#5320, the plugin was fixed on its 1.10 release on June 3, and removed from the list (see https://github.com/bitwiseman/jep/tree/00c184f97f40c5f79f8f83074c78dd4fb1e1ac43/jep/231) The plugin does have mantainers and is not deprecated
@timja Are these related to this class https://github.com/jenkinsci/tfs-plugin/blob/master/tfs/src/main/java/hudson/plugins/tfs/model/Server.java? I provide a pull request for SECURITY-1506 / CVE-2020-2249 jenkinsci/tfs-plugin#244 but nobody is review nor merging it. |
responded in the tfs plugin PR |
This is related to the following changes of Jenkins: jenkinsci/jenkins#5320
Kind of a follow up of jenkinsci/jenkins#5320.
Causes the test harness to stop compiling against recent cores: |
Should be easy enough to fix in the usual way (jenkinsci/subversion-plugin#259). |
@olamy FYI |
@olamy Do you intend to fix this regression? |
@basil yup on it. |
The change is based on the jenkinsci/jenkins#5320 PR
The change is based on the jenkinsci/jenkins#5320 PR
* Update minimum Jenkins version, BOM and parent POM Jenkins minimum version 2.204.2 -> 2.303.1 Parent POM 4.00 -> 4.38 BOM 2.204.x -> 2.303.x * Update pom dependencies * Update plugin to use commons.digester3 The change is based on the jenkinsci/jenkins#5320 PR
See JENKINS-65161.
Proposed changelog entries
Proposed upgrade guidelines
With this change commons-digester will not be anymore provided by core.
Some plugins were using it and pull requests has been made to fix the removal (see the list in this PR).
If you need use commons-digester from a plugin, you can look at this PR (jenkinsci/plasticscm-plugin#40) to understand the change.
Or use this code snippet:
Corresponding plugin PRs
These plugins were identified using the following approaches:
release status
Legend:
✔️ : Fixed or no need to fix
🛑 : It's not going to be fixed (no maintainer mainly)
❗ : Waiting for something (merge or release)
Plugins that got suspended
Never released
Submitter checklist
Proposed changelog entries
section only if there are breaking changes or other changes which may require extra steps from users during the upgradeDesired reviewers
@mention
Maintainer checklist
Before the changes are marked as
ready-for-merge
:Proposed changelog entries
are correctupgrade-guide-needed
label is set and there is aProposed upgrade guidelines
section in the PR title. (example)If it would make sense to backport the change to LTS, a Jira issue must exist, be a Bug or Improvement, and be labeled aslts-candidate
to be considered (see query).