[vwnc] Modified Classes in Package Version

View: New views
5 Messages — Rating Filter:   Alert me  

[vwnc] Modified Classes in Package Version

by Mircea Lungu-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

Given a version of a package in Store (Store.Package) I want to know  
all the classes that were changed in that version. Does anybody know  
how to do that? What if I want to know all the methods that were  
changed in a given version of the package?

Is there any Store developer documentation?

Thanks,
Mircea.
_______________________________________________
vwnc mailing list
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

Re: [vwnc] Modified Classes in Package Version

by Georg Heeg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mircea,

Yes to both questions. Store is documented in SourceCodeMgmtGuide.pdf in the
doc folder of your installation. The differences can be displayed with all
kinds of "compare" menu items.

Georg

Georg Heeg eK, Dortmund und Köthen, HR Dortmund A 12812
Tel. +49-3496-214328, Fax +49-3496-214712

> -----Ursprüngliche Nachricht-----
> Von: vwnc-bounces@... [mailto:vwnc-bounces@...] Im Auftrag
> von Mircea Lungu
> Gesendet: Freitag, 18. Juli 2008 19:11
> An: vwnc List
> Betreff: [vwnc] Modified Classes in Package Version
>
> Hello,
>
> Given a version of a package in Store (Store.Package) I want to know
> all the classes that were changed in that version. Does anybody know
> how to do that? What if I want to know all the methods that were
> changed in a given version of the package?
>
> Is there any Store developer documentation?
>
> Thanks,
> Mircea.
> _______________________________________________
> vwnc mailing list
> vwnc@...
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

Re: [vwnc] Modified Classes in Package Version

by Alan Knight-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It sounds like you might be referring to doing this programmatically. Probably the easiest entry point to that is PackageDifferences. Something like fileOutPackageDifferences:with:into:.

Asking what has changed in a particular version is of course meaningless unless you say with respect to which other version you're comparing it. An easy default is the "trace", which is how Store refers to the parent version. You can get that by sending parentRecord to the Package instance.

There's not a lot of developer documentation in the sense of documentation of the internals of Store. You might find it useful to look at the StoreGlorp model for something slightly clearer about the database model. Or you might not.

At 01:05 PM 7/19/2008, Georg Heeg wrote:
Mircea,

Yes to both questions. Store is documented in SourceCodeMgmtGuide.pdf in the
doc folder of your installation. The differences can be displayed with all
kinds of "compare" menu items.

Georg

Georg Heeg eK, Dortmund und Köthen, HR Dortmund A 12812
Tel. +49-3496-214328, Fax +49-3496-214712

> -----Ursprüngliche Nachricht-----
> Von: vwnc-bounces@... [vwnc-bounces@...] Im Auftrag
> von Mircea Lungu
> Gesendet: Freitag, 18. Juli 2008 19:11
> An: vwnc List
> Betreff: [vwnc] Modified Classes in Package Version
>
> Hello,
>
> Given a version of a package in Store (Store.Package) I want to know
> all the classes that were changed in that version. Does anybody know
> how to do that? What if I want to know all the methods that were
> changed in a given version of the package?
>
> Is there any Store developer documentation?
>
> Thanks,
> Mircea.
> _______________________________________________
> vwnc mailing list
> vwnc@...
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

--
Alan Knight [|], Engineering Manager, Cincom Smalltalk

_______________________________________________
vwnc mailing list
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

Re: [vwnc] Modified Classes in Package Version

by Mircea Lungu-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Georg,

Thanks for the answer.

Unfortunatly, the Source Code Management Guide presents documentation
from the point of view of the user, and what I am looking for, is a  
developer
targeted documentation. I want to do is to programatically discover
the changes between two versions.

Cheers,
Mircea.





On Jul 19, 2008, at 7:05 PM, Georg Heeg wrote:

> Mircea,
>
> Yes to both questions. Store is documented in  
> SourceCodeMgmtGuide.pdf in the
> doc folder of your installation. The differences can be displayed  
> with all
> kinds of "compare" menu items.
>
> Georg
>
> Georg Heeg eK, Dortmund und Köthen, HR Dortmund A 12812
> Tel. +49-3496-214328, Fax +49-3496-214712
>
>> -----Ursprüngliche Nachricht-----
>> Von: vwnc-bounces@... [mailto:vwnc-bounces@...] Im  
>> Auftrag
>> von Mircea Lungu
>> Gesendet: Freitag, 18. Juli 2008 19:11
>> An: vwnc List
>> Betreff: [vwnc] Modified Classes in Package Version
>>
>> Hello,
>>
>> Given a version of a package in Store (Store.Package) I want to know
>> all the classes that were changed in that version. Does anybody know
>> how to do that? What if I want to know all the methods that were
>> changed in a given version of the package?
>>
>> Is there any Store developer documentation?
>>
>> Thanks,
>> Mircea.
>> _______________________________________________
>> vwnc mailing list
>> vwnc@...
>> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
>
> _______________________________________________
> vwnc mailing list
> vwnc@...
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

Re: [vwnc] Modified Classes in Package Version

by Mircea Lungu-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Alan,

Indeed PackageDifferences is what I was looking for!

Cheers,
Mircea.




On Jul 21, 2008, at 1:18 AM, Alan Knight wrote:

It sounds like you might be referring to doing this programmatically. Probably the easiest entry point to that is PackageDifferences. Something like fileOutPackageDifferences:with:into:.

Asking what has changed in a particular version is of course meaningless unless you say with respect to which other version you're comparing it. An easy default is the "trace", which is how Store refers to the parent version. You can get that by sending parentRecord to the Package instance.

There's not a lot of developer documentation in the sense of documentation of the internals of Store. You might find it useful to look at the StoreGlorp model for something slightly clearer about the database model. Or you might not.

At 01:05 PM 7/19/2008, Georg Heeg wrote:
Mircea,

Yes to both questions. Store is documented in SourceCodeMgmtGuide.pdf in the
doc folder of your installation. The differences can be displayed with all
kinds of "compare" menu items.

Georg

Georg Heeg eK, Dortmund und Köthen, HR Dortmund A 12812
Tel. +49-3496-214328, Fax +49-3496-214712

> -----Ursprüngliche Nachricht-----
> Von: vwnc-bounces@... [vwnc-bounces@...] Im Auftrag
> von Mircea Lungu
> Gesendet: Freitag, 18. Juli 2008 19:11
> An: vwnc List
> Betreff: [vwnc] Modified Classes in Package Version
>
> Hello,
>
> Given a version of a package in Store (Store.Package) I want to know
> all the classes that were changed in that version. Does anybody know
> how to do that? What if I want to know all the methods that were
> changed in a given version of the package?
>
> Is there any Store developer documentation?
>
> Thanks,
> Mircea.
> _______________________________________________
> vwnc mailing list
> vwnc@...
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

--
Alan Knight [|], Engineering Manager, Cincom Smalltalk
_______________________________________________
vwnc mailing list
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
LightInTheBox - Buy quality products at wholesale price