list methods with changes in a period of time

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

list methods with changes in a period of time

Nicolai Hess
How would you make a list of methods that changed
in a period of time.
For example: All methods with timestamp between 01/01/2014 01/10/2014.

I know that most methods have a timestamp, but this includes
the author as well and I don't know how to properly parse it.

And is it possible to make a list of all deleted methods.

I know that all code and changes are in my changes file
but I don't know how to find deleted methods.


regards
Nicolai
Reply | Threaded
Open this post in threaded view
|

Re: list methods with changes in a period of time

Benjamin Van Ryseghem (Pharo)
On 13 Jan 2014, at 16:14, Nicolai Hess <[hidden email]> wrote:

How would you make a list of methods that changed
in a period of time.
For example: All methods with timestamp between 01/01/2014 01/10/2014.

you can do something like:
list := timestamp splitOn: ‘ ‘.
date := Date fromString: list second.
time := Time fromString: list third.
dateAndTime := DateAndTime
date: date
time: time

I know that most methods have a timestamp, but this includes
the author as well and I don't know how to properly parse it.

And is it possible to make a list of all deleted methods.

Have a look a RecentMessageList.
It stores (or its supposed to) all the changes related to method, including deletion.

Ben
Reply | Threaded
Open this post in threaded view
|

Re: list methods with changes in a period of time

Nicolai Hess
2014/1/13 Benjamin <[hidden email]>
On 13 Jan 2014, at 16:14, Nicolai Hess <[hidden email]> wrote:

How would you make a list of methods that changed
in a period of time.
For example: All methods with timestamp between 01/01/2014 01/10/2014.

you can do something like:
list := timestamp splitOn: ‘ ‘.
date := Date fromString: list second.
time := Time fromString: list third.
dateAndTime := DateAndTime
date: date
time: time


Thank you

 
I know that most methods have a timestamp, but this includes
the author as well and I don't know how to properly parse it.

And is it possible to make a list of all deleted methods.

Have a look a RecentMessageList.
It stores (or its supposed to) all the changes related to method, including deletion.

Ben


No :(
Nothing in RecentMessageList,
and nothing in DualChangeSorter.
Wasn't it always the ChangeSorter where i can find deleted methods?

Reply | Threaded
Open this post in threaded view
|

Re: list methods with changes in a period of time

Marcus Denker-4

On 13 Jan 2014, at 20:45, Nicolai Hess <[hidden email]> wrote:
>
>
> No :(
> Nothing in RecentMessageList,
> and nothing in DualChangeSorter.
> Wasn't it always the ChangeSorter where i can find deleted methods?
>

depends if this is your code or if you want to see the history of the pharo image.
Here we delete the Changesets *and* the recent message in between updates.
(does not scale for hundreds of updates).

        Marcus