Code diff between metacello versions

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

Code diff between metacello versions

NorbertHartl
Is there a tool or a code snippet which can show a code diff (side by side) between the packages of two metacello versions?

thanks,

Norbert


Reply | Threaded
Open this post in threaded view
|

Re: Code diff between metacello versions

Tudor Girba-2
You mean like this:
from := String cr join: ((ConfigurationOfGToolkit project version: '0.21-baseline') spec packages list collect: #name).
to := String cr join: ((ConfigurationOfGToolkit project version: '0.20-baseline') spec packages list collect: #name).

(DiffMorph new 
from: from
to: to) openInWindow

?

Inline image 1

Doru

On Fri, Jan 16, 2015 at 1:47 PM, Norbert Hartl <[hidden email]> wrote:
Is there a tool or a code snippet which can show a code diff (side by side) between the packages of two metacello versions?

thanks,

Norbert





--

"Every thing has its own flow"
Reply | Threaded
Open this post in threaded view
|

Re: Code diff between metacello versions

NorbertHartl
Doru,

I mean the code diffs. Metacello versions resolve to a list of packages with versions. Each package with same name but different versions leads to code diffs in the classes,… etc. What I want is a complete diff of all classes, methods of the packages in that metacello config. 

Norbert

Am 16.01.2015 um 14:02 schrieb Tudor Girba <[hidden email]>:

You mean like this:
from := String cr join: ((ConfigurationOfGToolkit project version: '0.21-baseline') spec packages list collect: #name).
to := String cr join: ((ConfigurationOfGToolkit project version: '0.20-baseline') spec packages list collect: #name).

(DiffMorph new 
from: from
to: to) openInWindow

?

<a DiffMorph(1027080192).png>

Doru

On Fri, Jan 16, 2015 at 1:47 PM, Norbert Hartl <[hidden email]> wrote:
Is there a tool or a code snippet which can show a code diff (side by side) between the packages of two metacello versions?

thanks,

Norbert





--

"Every thing has its own flow"