find used deprecated methods when moving from pharo2 to pharo3

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

find used deprecated methods when moving from pharo2 to pharo3

Sabine Manaa
Hi,

I am currently moving my application from pharo2 to pharo3.

I am asking myself if there is an easy way to find all deprecated methods I used in my app.
The only way I see currently is to use the app and testing for walkbacks and run the test cases.

How did others manage this?

Sabine
Reply | Threaded
Open this post in threaded view
|

Re: find used deprecated methods when moving from pharo2 to pharo3

Andre Hora
Hello Sabine,

I have a set of smalllint rules I have created by mining code history between Pharo 2.0 and 3.0.
Note however they do not cover all deprecated methods and classes.

If you want to give a try, just load them (using the code below), and run the rules using the Critic Browser to find the violations and the replacement **suggestion**.

Gofer new
   package: 'Rules-Pharo30';
   load.

The is also this report for a fast overview of the changes (note that some may be false positives):

hope that it helps,

-- 
Andre Hora


On Thu, Jan 16, 2014 at 12:21 PM, Sabine Knöfel <[hidden email]> wrote:
Hi,

I am currently moving my application from pharo2 to pharo3.

I am asking myself if there is an easy way to find all deprecated methods I
used in my app.
The only way I see currently is to use the app and testing for walkbacks and
run the test cases.

How did others manage this?

Sabine



--
View this message in context: http://forum.world.st/find-used-deprecated-methods-when-moving-from-pharo2-to-pharo3-tp4737174.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




--
Andre Hora
Reply | Threaded
Open this post in threaded view
|

Re: find used deprecated methods when moving from pharo2 to pharo3

Sabine Manaa
Hi Andre,

thanks, I used it and it worked fine but as you said - several methods are not covered.

Sabine


On Thu, Jan 16, 2014 at 2:02 PM, Andre Hora [via Smalltalk] <[hidden email]> wrote:
Hello Sabine,

I have a set of smalllint rules I have created by mining code history between Pharo 2.0 and 3.0.
Note however they do not cover all deprecated methods and classes.

If you want to give a try, just load them (using the code below), and run the rules using the Critic Browser to find the violations and the replacement **suggestion**.

Gofer new
   package: 'Rules-Pharo30';
   load.

The is also this report for a fast overview of the changes (note that some may be false positives):

hope that it helps,

-- 
Andre Hora


On Thu, Jan 16, 2014 at 12:21 PM, Sabine Knöfel <[hidden email]> wrote:
Hi,

I am currently moving my application from pharo2 to pharo3.

I am asking myself if there is an easy way to find all deprecated methods I
used in my app.
The only way I see currently is to use the app and testing for walkbacks and
run the test cases.

How did others manage this?

Sabine



--
View this message in context: http://forum.world.st/find-used-deprecated-methods-when-moving-from-pharo2-to-pharo3-tp4737174.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




--
Andre Hora



If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/find-used-deprecated-methods-when-moving-from-pharo2-to-pharo3-tp4737174p4737198.html
To start a new topic under Pharo Smalltalk Users, email [hidden email]
To unsubscribe from Pharo Smalltalk Users, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: find used deprecated methods when moving from pharo2 to pharo3

Ben Coman
Can you report those to be added?

btw, maybe it would be good for the opening screen of the Pharo 3 release to link to a tutorial on how to run those Deprecated-Rules-only on a package.

cheers -ben

Sabine Knöfel wrote:
Hi Andre,

thanks, I used it and it worked fine but as you said - several methods are not covered.

Sabine


On Thu, Jan 16, 2014 at 2:02 PM, Andre Hora [via Smalltalk] <[hidden email]> wrote:
Hello Sabine,

I have a set of smalllint rules I have created by mining code history between Pharo 2.0 and 3.0.
Note however they do not cover all deprecated methods and classes.

If you want to give a try, just load them (using the code below), and run the rules using the Critic Browser to find the violations and the replacement **suggestion**.

Gofer new
   package: 'Rules-Pharo30';
   load.

The is also this report for a fast overview of the changes (note that some may be false positives):

hope that it helps,

-- 
Andre Hora


On Thu, Jan 16, 2014 at 12:21 PM, Sabine Knöfel <[hidden email]> wrote:
Hi,

I am currently moving my application from pharo2 to pharo3.

I am asking myself if there is an easy way to find all deprecated methods I
used in my app.
The only way I see currently is to use the app and testing for walkbacks and
run the test cases.

How did others manage this?

Sabine



--
View this message in context: http://forum.world.st/find-used-deprecated-methods-when-moving-from-pharo2-to-pharo3-tp4737174.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




--
Andre Hora



If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/find-used-deprecated-methods-when-moving-from-pharo2-to-pharo3-tp4737174p4737198.html
To start a new topic under Pharo Smalltalk Users, email [hidden email]
To unsubscribe from Pharo Smalltalk Users, click here.
NAML



View this message in context: Re: find used deprecated methods when moving from pharo2 to pharo3
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.