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

Deprecate jelly:core "expr" tag in favor of "out" #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NotMyFault
Copy link
Member

In Jenkins, we rather use the "out" tag, over "expr". I would like to propose to deprecate the "expr" tag in favor of the now properly created and registered "out" tag. The description is taken from https://wiki.jenkins.io/display/JENKINS/Jelly+and+XSS+prevention

The "out" tag was registered with the same class the "expr" tag was. Hence, both have been a drop in for each other.

@NotMyFault NotMyFault requested a review from a team as a code owner April 3, 2023 09:38
@daniel-beck
Copy link
Member

daniel-beck commented Apr 3, 2023

What does this PR accomplish? Is there some IDE magic that results in the Java class's deprecation marking uses of expr as deprecated?

@NotMyFault
Copy link
Member Author

Is there some IDE magic that results in the Java class's deprecation marking uses of expr as deprecated?

No, given you typically don't interface with the Java part of Jelly. That's just for us to know the reasoning behind the deprecation.
If you generate XSDs for the tag, the javadoc comment is picked up appropriately pointing to the deprecation, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants