[jira] [Comment Edited] (VELTOOLS-202) VelocityViewServlet extending from jakarta.servlet instead of javax.servlet

2024-01-10 Thread Martin Tzvetanov Grigorov (Jira)


[ 
https://issues.apache.org/jira/browse/VELTOOLS-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17805082#comment-17805082
 ] 

Martin Tzvetanov Grigorov edited comment on VELTOOLS-202 at 1/10/24 11:33 AM:
--

OK, we have a progress on the technical part! Let's continue!

Which module has been renamed ?

In https://github.com/apache/velocity-tools/pull/15/files I don't see renamed 
(Maven?!) module. I see updated Maven dependencies and updated Java imports. 
This matches with my idea of having two branches - one for javax and one for 
jakarta.
The contributor offered a PR against `master` branch. Here any Velocity 
maintainer can create a branch for Javax from master before merging this PR and 
use this new branch for Javax releases and use master for Jakarta releases. The 
(Maven) version in the PR should be updated to 4.0-SNAPSHOT too.

Later when there is a fix/improvement in either branches the maintainers could 
easily use `git cherry-pick -x someSHA` to port the commit to the other branch, 
if needed. If the cherry-pick fails then some manual work may be needed! It is 
a small effort! But the maintainer could always ask the contributor to open a 
second PR for the other branch if the effort is bigger!
The release manager will have to make two releases until there are users for 
Javax but this is how it is. Again I think this is little extra work!

You can also explain how you think it should be done and hopefully someone will 
do it one day!


was (Author: mgrigorov):
OK, we have a progress on the technical part! Let's continue!

Which module has been renamed ?

In https://github.com/apache/velocity-tools/pull/15/files I don't see renamed 
(Maven?!) module. I see updated Maven dependencies and updated Java imports. 
This matches with my idea of having two branches - one for javax and one for 
jakarta.
The contributor offered a PR against `master` branch. Here any Velocity 
maintainer can create a branch for Javax from master before merging this PR and 
use this new branch for Javax releases and use master for Jakarta releases. The 
Maven version in the PR should be updated to 4.0-SNAPSHOT too.

Later when there is a fix/improvement in either branches the maintainers could 
easily use `git cherry-pick -x someSHA` to port the commit to the other branch, 
if needed. If the cherry-pick fails then some manual work may be needed! It is 
a small effort! But the maintainer could always ask the contributor to open a 
second PR for the other branch if the effort is bigger!
The release manager will have to make two releases until there are users for 
Javax but this is how it is. Again I think this is little extra work!

You can also explain how you think it should be done and hopefully someone will 
do it one day!

> VelocityViewServlet extending from jakarta.servlet instead of javax.servlet
> ---
>
> Key: VELTOOLS-202
> URL: https://issues.apache.org/jira/browse/VELTOOLS-202
> Project: Velocity Tools
>  Issue Type: New Feature
>  Components: VelocityView
>Reporter: David Ruiz de Azua
>Priority: Trivial
>
> To whom may concern, 
> Currently VelocityViewServlet extends from javax rather than jakarta.
> Due the cutover from Java to Jakarta, *is there any plan to make Apache 
> Velocity compatible with Servlet 5.0?*
> Not sure if there are any plans to make the transition to Jakarta namespace 
> and if there is any ETA for it. 
> [https://jakarta.ee/specifications/servlet/5.0/apidocs/jakarta/servlet/http/httpservlet]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org



[jira] [Comment Edited] (VELTOOLS-202) VelocityViewServlet extending from jakarta.servlet instead of javax.servlet

2024-01-10 Thread Michael Osipov (Jira)


[ 
https://issues.apache.org/jira/browse/VELTOOLS-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17805047#comment-17805047
 ] 

Michael Osipov edited comment on VELTOOLS-202 at 1/10/24 10:12 AM:
---

reasonable: You don't just rename the old module, you add a second one, but 
better before even writing a single line I'd discuss my PR idea. It is not me 
who needs to start the discussion, but he because he wants to change something, 
not me.


was (Author: michael-o):
reasonable: You don't just rename the old module, you add a second one, but 
better before even writing a single line I'd discuss my PR idea. It is not me 
who needs to start the discussion, but the he because he wants to change 
something, not me.

> VelocityViewServlet extending from jakarta.servlet instead of javax.servlet
> ---
>
> Key: VELTOOLS-202
> URL: https://issues.apache.org/jira/browse/VELTOOLS-202
> Project: Velocity Tools
>  Issue Type: New Feature
>  Components: VelocityView
>Reporter: David Ruiz de Azua
>Priority: Trivial
>
> To whom may concern, 
> Currently VelocityViewServlet extends from javax rather than jakarta.
> Due the cutover from Java to Jakarta, *is there any plan to make Apache 
> Velocity compatible with Servlet 5.0?*
> Not sure if there are any plans to make the transition to Jakarta namespace 
> and if there is any ETA for it. 
> [https://jakarta.ee/specifications/servlet/5.0/apidocs/jakarta/servlet/http/httpservlet]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org



[jira] [Comment Edited] (VELTOOLS-202) VelocityViewServlet extending from jakarta.servlet instead of javax.servlet

2024-01-10 Thread Michael Osipov (Jira)


[ 
https://issues.apache.org/jira/browse/VELTOOLS-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17805047#comment-17805047
 ] 

Michael Osipov edited comment on VELTOOLS-202 at 1/10/24 10:07 AM:
---

reasonable: You don't just rename the old module, you add a second one, but 
better before even writing a single line I'd discuss my PR idea. It is not me 
who needs to start the discussion, but the he because he wants to change 
something, not me.


was (Author: michael-o):
reasonable: You don't just rename the old module, you add a second one, but 
better before even writing a single line I'd discuss my PR idea.

> VelocityViewServlet extending from jakarta.servlet instead of javax.servlet
> ---
>
> Key: VELTOOLS-202
> URL: https://issues.apache.org/jira/browse/VELTOOLS-202
> Project: Velocity Tools
>  Issue Type: New Feature
>  Components: VelocityView
>Reporter: David Ruiz de Azua
>Priority: Trivial
>
> To whom may concern, 
> Currently VelocityViewServlet extends from javax rather than jakarta.
> Due the cutover from Java to Jakarta, *is there any plan to make Apache 
> Velocity compatible with Servlet 5.0?*
> Not sure if there are any plans to make the transition to Jakarta namespace 
> and if there is any ETA for it. 
> [https://jakarta.ee/specifications/servlet/5.0/apidocs/jakarta/servlet/http/httpservlet]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org