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-62904] Remove unused files #167

Merged
merged 1 commit into from
Nov 17, 2020

Conversation

jeffret-b
Copy link
Contributor

@jeffret-b jeffret-b commented Nov 9, 2020

These files are unused and probably broken after the core tables-to-divs migration.

I've searched through the Jenkins ecosystem and haven't found any usages. This looks like something that was started at some point, but never completed, perhaps during the 1.0 to 2.0 transition of credentials-plugin. This doesn't show up in the credentials plugin UI nor is it referenced anywhere else.

After the tables-to-divs migration in Jenkins core, the domainCredential.jelly file probably doesn't work correctly. Instead of removing it, fixing it would require making sure it works correctly before the change and then testing to ensure it has been corrected.

See JENKINS-62904.

These views are unused and probably broken after the core tables-to-divs migration.
@jeffret-b jeffret-b requested review from jvz, Wadeck and jglick November 9, 2020 19:27
@jglick jglick requested a review from stephenc November 9, 2020 19:27
@jglick jglick added the removed label Nov 9, 2020
Copy link
Member

@jvz jvz left a comment

Choose a reason for hiding this comment

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

Same here; I haven't found any usages anymore. This seems to be outdated.

Copy link
Contributor

@Wadeck Wadeck left a comment

Choose a reason for hiding this comment

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

In the commit Towards 2.0, we can see it was used in SystemCredentialsProvider/index.jelly but the behavior was changed to have something inline instead of the internal tag. Also it was used until 2.0.1 in UserCredentialsProvider#UserCredentialsProperty/config.jelly.
Finally I checked the commit introducing the domainCredential.jelly, and confirm the two usages above were the only one introduced at that time.


I searched in the ecosystems (OSS + CB): no usage of domainCredential.


ℹ️ FTR the files in src/main/webapp/help/domain/ are still used, e.g. by CredentialsStoreAction#DomainWrapper.configure.jelly.

@jvz jvz merged commit 17cd5d2 into jenkinsci:master Nov 17, 2020
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.

4 participants