Grails 2.3 migration to Grails 3.0.2

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Grails 2.3 migration to Grails 3.0.2

Pavel Zakharov
Hello, i have some question. I interested in Grails migration from oldest version. Can I make migration? Can I use spring security plugin, if not, tell me why?

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/0b9e79c4-aac7-4317-81e1-687e8bb1e649%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Grails 2.3 migration to Grails 3.0.2

Esau Rodriguez
Hi,
I'm not an expert though, some weeks ago, we tried to migrate from 2.3.6 to 2.3.11. Finally we had to revert because a bug regarding transactions was fixed in 2.3.11, and the effort to change our codebase was too high. That was a minor version. I can't even imagine the pain you're going to suffer if you finally decide to go from 2.3.x to 3.0.2. 

Best of my wishes

Regards,
Esau Rodriguez.

El jueves, 9 de julio de 2015, 13:48:12 (UTC+1), Pavel Zakharov escribió:
Hello, i have some question. I interested in Grails migration from oldest version. Can I make migration? Can I use spring security plugin, if not, tell me why?

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/970a69f9-d6b2-4035-8c4f-a2f555627742%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Grails 2.3 migration to Grails 3.0.2

Jeff Brown

> On Jul 9, 2015, at 8:43 AM, Esau Rodriguez <[hidden email]> wrote:
>
> Hi,
> I'm not an expert though, some weeks ago, we tried to migrate from 2.3.6 to 2.3.11. Finally we had to revert because a bug regarding transactions was fixed in 2.3.11, and the effort to change our codebase was too high. That was a minor version.

It is difficult for me to evaluate that anecdote without knowing the details of what was going to involve so much effort but in any case it is unfortunate that the work was going to be too much effort.  Tuesday I updated a significantly large application for a client from 2.3.11 to 2.4.5 and that took less than an afternoon to do, including a good bit of testing to try and find problems that it turned out didn’t exist.  The only issues were trivial and related to CSS because they had been using an old version of asset-pipeline that needed to be updated.

In fairness I would expect these things to be easier for me to do but in all of the cases where I have been engaged to help a client upgrade, there have never been any that were particularly complicated.  If you are interested in discussing why your app was so difficult to upgrade, we would welcome that discussion.  If you do want to do that, drop me a note off list and we will setup a conference call at no cost to you.

Thanks for the feedback.



JSB

Jeff Scott Brown
Principal Software Engineer
Grails Development Team
Object Computing Inc.
http://www.ociweb.com/

Autism Strikes 1 in 166
Find The Cause ~ Find The Cure
http://www.autismspeaks.org/

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/0B025FE8-C4D5-4371-9E0D-0E9443D5B347%40ociweb.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Grails 2.3 migration to Grails 3.0.2

Pavel Zakharov
In reply to this post by Esau Rodriguez
Thanks for reply, You amused me :) But we don't use the transactions. 

четверг, 9 июля 2015 г., 6:43:14 UTC-7 пользователь Esau Rodriguez написал:
Hi,
I'm not an expert though, some weeks ago, we tried to migrate from 2.3.6 to 2.3.11. Finally we had to revert because a bug regarding transactions was fixed in 2.3.11, and the effort to change our codebase was too high. That was a minor version. I can't even imagine the pain you're going to suffer if you finally decide to go from 2.3.x to 3.0.2. 

Best of my wishes

Regards,
Esau Rodriguez.

El jueves, 9 de julio de 2015, 13:48:12 (UTC+1), Pavel Zakharov escribió:
Hello, i have some question. I interested in Grails migration from oldest version. Can I make migration? Can I use spring security plugin, if not, tell me why?

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/9bf60f09-9cc6-43be-ad26-a70a6164094d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Grails 2.3 migration to Grails 3.0.2

Esau Rodriguez
In reply to this post by Jeff Brown
Hi,
To be completely fair, I think that the problem was the size of the
project. We managed to solve most of the problems we faced with little
or no effort. But then we found like 200 tests (of a base of more
5000) were not fixed. These tests didn't look easy to fix, and we
decide to postpone the upgrade as we had some work to deliver.

I also took a look to the possibility to migrate to 2.4.5 and looks
like our code, have some problems we need to solve before that (for
instance we use static Holders), as was migrated from a previous
grails version to 2.3.

To be honest I think that migrating from 2.3.x to 2.5.x in an average
project (I think mine is big with over 200k lines of code reported by
grails stats) could be done without too much pain. But I'm not sure of
be able to say the same thing about grails 3.x.x.

Regards
Esau Rodriguez.

On Thu, Jul 9, 2015 at 2:53 PM, Jeff Scott Brown <[hidden email]> wrote:

>
>> On Jul 9, 2015, at 8:43 AM, Esau Rodriguez <[hidden email]> wrote:
>>
>> Hi,
>> I'm not an expert though, some weeks ago, we tried to migrate from 2.3.6 to 2.3.11. Finally we had to revert because a bug regarding transactions was fixed in 2.3.11, and the effort to change our codebase was too high. That was a minor version.
>
> It is difficult for me to evaluate that anecdote without knowing the details of what was going to involve so much effort but in any case it is unfortunate that the work was going to be too much effort.  Tuesday I updated a significantly large application for a client from 2.3.11 to 2.4.5 and that took less than an afternoon to do, including a good bit of testing to try and find problems that it turned out didn’t exist.  The only issues were trivial and related to CSS because they had been using an old version of asset-pipeline that needed to be updated.
>
> In fairness I would expect these things to be easier for me to do but in all of the cases where I have been engaged to help a client upgrade, there have never been any that were particularly complicated.  If you are interested in discussing why your app was so difficult to upgrade, we would welcome that discussion.  If you do want to do that, drop me a note off list and we will setup a conference call at no cost to you.
>
> Thanks for the feedback.
>
>
>
> JSB
> —
> Jeff Scott Brown
> Principal Software Engineer
> Grails Development Team
> Object Computing Inc.
> http://www.ociweb.com/
>
> Autism Strikes 1 in 166
> Find The Cause ~ Find The Cure
> http://www.autismspeaks.org/
>
> --
> You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/0B025FE8-C4D5-4371-9E0D-0E9443D5B347%40ociweb.com.
> For more options, visit https://groups.google.com/d/optout.



--
Esaú Rodríguez
[hidden email]

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/CAB4Jw74Dg5s3BhwjbswY%2BN5GGHmGP3OQJ2UoPvFgrJ6B3N_z-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Grails 2.3 migration to Grails 3.0.2

Ronny Løvtangen
I have migrated a few applications from 2.2.4 to 2.5.0 and it took from 4 to 8 hours each. That includes switching from resources to asset-pipeline, but that can be taken as a separate step (resources plugin still works in 2.5.0)
Last one was about 4500 LOC. Main issues during update was Geb tests and cache-ehcache issues.

No experience migrating to 3.x.x yet.

Ronny


> On 09 Jul 2015, at 16:07, Esau Rodriguez <[hidden email]> wrote:
>
> Hi,
> To be completely fair, I think that the problem was the size of the
> project. We managed to solve most of the problems we faced with little
> or no effort. But then we found like 200 tests (of a base of more
> 5000) were not fixed. These tests didn't look easy to fix, and we
> decide to postpone the upgrade as we had some work to deliver.
>
> I also took a look to the possibility to migrate to 2.4.5 and looks
> like our code, have some problems we need to solve before that (for
> instance we use static Holders), as was migrated from a previous
> grails version to 2.3.
>
> To be honest I think that migrating from 2.3.x to 2.5.x in an average
> project (I think mine is big with over 200k lines of code reported by
> grails stats) could be done without too much pain. But I'm not sure of
> be able to say the same thing about grails 3.x.x.
>
> Regards
> Esau Rodriguez.
>
> On Thu, Jul 9, 2015 at 2:53 PM, Jeff Scott Brown <[hidden email]> wrote:
>>
>>> On Jul 9, 2015, at 8:43 AM, Esau Rodriguez <[hidden email]> wrote:
>>>
>>> Hi,
>>> I'm not an expert though, some weeks ago, we tried to migrate from 2.3.6 to 2.3.11. Finally we had to revert because a bug regarding transactions was fixed in 2.3.11, and the effort to change our codebase was too high. That was a minor version.
>>
>> It is difficult for me to evaluate that anecdote without knowing the details of what was going to involve so much effort but in any case it is unfortunate that the work was going to be too much effort.  Tuesday I updated a significantly large application for a client from 2.3.11 to 2.4.5 and that took less than an afternoon to do, including a good bit of testing to try and find problems that it turned out didn’t exist.  The only issues were trivial and related to CSS because they had been using an old version of asset-pipeline that needed to be updated.
>>
>> In fairness I would expect these things to be easier for me to do but in all of the cases where I have been engaged to help a client upgrade, there have never been any that were particularly complicated.  If you are interested in discussing why your app was so difficult to upgrade, we would welcome that discussion.  If you do want to do that, drop me a note off list and we will setup a conference call at no cost to you.
>>
>> Thanks for the feedback.
>>
>>
>>
>> JSB
>> —
>> Jeff Scott Brown
>> Principal Software Engineer
>> Grails Development Team
>> Object Computing Inc.
>> http://www.ociweb.com/
>>
>> Autism Strikes 1 in 166
>> Find The Cause ~ Find The Cure
>> http://www.autismspeaks.org/
>>
>> --
>> You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
>> To post to this group, send email to [hidden email].
>> To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/0B025FE8-C4D5-4371-9E0D-0E9443D5B347%40ociweb.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Esaú Rodríguez
> [hidden email]
>
> --
> You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/CAB4Jw74Dg5s3BhwjbswY%2BN5GGHmGP3OQJ2UoPvFgrJ6B3N_z-Q%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/AA5A884D-0DFB-4D37-9325-5D5230EF3997%40lovtangen.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Grails 2.3 migration to Grails 3.0.2

Pavel Zakharov
Thank's for reply, but i can try to migrate. I found user guide for this issue https://grails.github.io/grails-doc/latest/guide/upgrading.html . And all i need to do move files and migrate build process to Gradle, but i seen, that spring-security not supported in Grails 3.x versions. And i serch solution for this trouble

четверг, 9 июля 2015 г., 8:23:54 UTC-7 пользователь Ronny Løvtangen написал:
I have migrated a few applications from 2.2.4 to 2.5.0 and it took from 4 to 8 hours each. That includes switching from resources to asset-pipeline, but that can be taken as a separate step (resources plugin still works in 2.5.0)
Last one was about 4500 LOC. Main issues during update was Geb tests and cache-ehcache issues.

No experience migrating to 3.x.x yet.

Ronny


> On 09 Jul 2015, at 16:07, Esau Rodriguez <<a href="javascript:" target="_blank" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">esa...@...> wrote:
>
> Hi,
> To be completely fair, I think that the problem was the size of the
> project. We managed to solve most of the problems we faced with little
> or no effort. But then we found like 200 tests (of a base of more
> 5000) were not fixed. These tests didn't look easy to fix, and we
> decide to postpone the upgrade as we had some work to deliver.
>
> I also took a look to the possibility to migrate to 2.4.5 and looks
> like our code, have some problems we need to solve before that (for
> instance we use static Holders), as was migrated from a previous
> grails version to 2.3.
>
> To be honest I think that migrating from 2.3.x to 2.5.x in an average
> project (I think mine is big with over 200k lines of code reported by
> grails stats) could be done without too much pain. But I'm not sure of
> be able to say the same thing about grails 3.x.x.
>
> Regards
> Esau Rodriguez.
>
> On Thu, Jul 9, 2015 at 2:53 PM, Jeff Scott Brown <<a href="javascript:" target="_blank" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">bro...@...> wrote:
>>
>>> On Jul 9, 2015, at 8:43 AM, Esau Rodriguez <<a href="javascript:" target="_blank" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">esa...@...> wrote:
>>>
>>> Hi,
>>> I'm not an expert though, some weeks ago, we tried to migrate from 2.3.6 to 2.3.11. Finally we had to revert because a bug regarding transactions was fixed in 2.3.11, and the effort to change our codebase was too high. That was a minor version.
>>
>> It is difficult for me to evaluate that anecdote without knowing the details of what was going to involve so much effort but in any case it is unfortunate that the work was going to be too much effort.  Tuesday I updated a significantly large application for a client from 2.3.11 to 2.4.5 and that took less than an afternoon to do, including a good bit of testing to try and find problems that it turned out didn’t exist.  The only issues were trivial and related to CSS because they had been using an old version of asset-pipeline that needed to be updated.
>>
>> In fairness I would expect these things to be easier for me to do but in all of the cases where I have been engaged to help a client upgrade, there have never been any that were particularly complicated.  If you are interested in discussing why your app was so difficult to upgrade, we would welcome that discussion.  If you do want to do that, drop me a note off list and we will setup a conference call at no cost to you.
>>
>> Thanks for the feedback.
>>
>>
>>
>> JSB
>> —
>> Jeff Scott Brown
>> Principal Software Engineer
>> Grails Development Team
>> Object Computing Inc.
>> <a href="http://www.ociweb.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.ociweb.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNGmJq4FzWg40kVUyr9KFZMiSj7t1Q&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.ociweb.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNGmJq4FzWg40kVUyr9KFZMiSj7t1Q&#39;;return true;">http://www.ociweb.com/
>>
>> Autism Strikes 1 in 166
>> Find The Cause ~ Find The Cure
>> <a href="http://www.autismspeaks.org/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.autismspeaks.org%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNHLOilSQBYB1lzLN6Ms6K6DtQY5DQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.autismspeaks.org%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNHLOilSQBYB1lzLN6Ms6K6DtQY5DQ&#39;;return true;">http://www.autismspeaks.org/
>>
>> --
>> You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">grails-dev-discuss+unsubscribe@....
>> To post to this group, send email to <a href="javascript:" target="_blank" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">grails-de...@....
>> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/grails-dev-discuss/0B025FE8-C4D5-4371-9E0D-0E9443D5B347%40ociweb.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/grails-dev-discuss/0B025FE8-C4D5-4371-9E0D-0E9443D5B347%40ociweb.com&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/grails-dev-discuss/0B025FE8-C4D5-4371-9E0D-0E9443D5B347%40ociweb.com&#39;;return true;">https://groups.google.com/d/msgid/grails-dev-discuss/0B025FE8-C4D5-4371-9E0D-0E9443D5B347%40ociweb.com.
>> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>
>
>
> --
> Esaú Rodríguez
> <a href="javascript:" target="_blank" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">esa...@...
>
> --
> You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">grails-dev-discuss+unsubscribe@....
> To post to this group, send email to <a href="javascript:" target="_blank" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">grails-de...@....
> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/grails-dev-discuss/CAB4Jw74Dg5s3BhwjbswY%2BN5GGHmGP3OQJ2UoPvFgrJ6B3N_z-Q%40mail.gmail.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/grails-dev-discuss/CAB4Jw74Dg5s3BhwjbswY%2BN5GGHmGP3OQJ2UoPvFgrJ6B3N_z-Q%40mail.gmail.com&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/grails-dev-discuss/CAB4Jw74Dg5s3BhwjbswY%2BN5GGHmGP3OQJ2UoPvFgrJ6B3N_z-Q%40mail.gmail.com&#39;;return true;">https://groups.google.com/d/msgid/grails-dev-discuss/CAB4Jw74Dg5s3BhwjbswY%2BN5GGHmGP3OQJ2UoPvFgrJ6B3N_z-Q%40mail.gmail.com.
> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/eeef2780-bbb6-4943-b943-e7bd67c1138e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.