Enumerate Package Versions

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

Enumerate Package Versions

Rob Rothwell
How can I enumerate the Packages I have loaded to increase my bug reporting abilities without having to type all the package versions I have?

I tried 

     PackageInfo allPackages do: [:each | Transcript show: each packageName; cr]., 

but that only gets me the base package name, not the one with versions which shows up in Monticello.

An instance of PackageInfo doesn't seem to have a version that I can find.

Thanks...I have tried figuring out how Monticello is doing it, but just can't seem to find it...

Rob

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Enumerate Package Versions

Bert Freudenberg

On 29.03.2008, at 20:42, Rob Rothwell wrote:
> How can I enumerate the Packages I have loaded to increase my bug  
> reporting abilities without having to type all the package versions  
> I have?
>
> Thanks...I have tried figuring out how Monticello is doing it, but  
> just can't seem to find it...

MCWorkingCopy allManagers collect: [:each | each ancestry  
ancestorString]

- Bert -


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Enumerate Package Versions

Rob Rothwell
On Sat, Mar 29, 2008 at 4:47 PM, Bert Freudenberg <[hidden email]> wrote:
MCWorkingCopy allManagers collect: [:each | each ancestry
ancestorString]

Thank you.  I wish I could follow the thought process you used to figure that out!  It would have taken me a long time to get to "MCWorkingCopy allManagers."

That seems to have NOTHING to do with "List the current system packages!"

I assume you were able to find this because you understand how Monticello thinks...

Rob

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Enumerate Package Versions

cedreek
> >

> > MCWorkingCopy allManagers collect: [:each | each ancestry
> > ancestorString]
> >
>
> Thank you.  I wish I could follow the thought process you used to figure
> that out!  It would have taken me a long time to get to "MCWorkingCopy
> allManagers."
>
> That seems to have NOTHING to do with "List the current system packages!"
>
> I assume you were able to find this because you understand how Monticello
> thinks...
>
not really necessary...

I once find that by myself by exploring the morph model in an opened
monticello browser...
I center click to open halos on morph until plugableListMorphPlus is
selected, then debug icon, then inspect model and it open an inspector
on aMCWorkingCopy... Then I chose explore and look for the monticello
version string (wich is called ancestorString).

Not easy but I start to get used to find such information...  just
need to be well awake ;)

Cédrick

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Enumerate Package Versions

Rob Rothwell
On Sat, Mar 29, 2008 at 5:48 PM, cdrick <[hidden email]> wrote:
not really necessary...

I once find that by myself by exploring the morph model in an opened
monticello browser...

That makes sense...

I center click to open halos on morph until plugableListMorphPlus is
selected, then debug icon, then inspect model and it open an inspector
on aMCWorkingCopy...

1.  I center click twice until I have selected pluggableListMorphPlus
2.  debug>inspect model
3.  Which gives me a MCWorkingCopyBrowser
4.  Ok...If I "explore" workingCopy...
 
Then I chose explore and look for the monticello
version string (wich is called ancestorString).

Whereas I would have struggled to find allManagers and would have had a hard time getting past:

(workingCopy ancestors at: 1) name, which of course doesn't always work!

Not easy but I start to get used to find such information...  just
need to be well awake ;)

Man.  "Zen and the art of Smalltalk Programming... "

You guys are amazing!

Rob

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Enumerate Package Versions

cedreek
2008/3/30, Rob Rothwell <[hidden email]>:

>
> On Sat, Mar 29, 2008 at 8:02 PM, cdrick <[hidden email]> wrote:
> >
> > Zen is a good word :) always have to think...before thinking object ;)
>
> Very nice.  I have always imagined Smalltalk to be like the place before
> thought...just another path to enlightenment!  However, I would not say that
> I have, as yet, experienced satori!
>
> > This makes me wander where could we add such fonctionnality (pretty
> > common I think) so that there is an option in monticelle menus so
> > display such information (with possible restrictions to repositories).
> > Where this responsability belong ?
>
>
> Actually, I WAS looking for an option in the Monticello context menu before
> I asked for help.

classic ;)

>
> With help, I recently extended an Omnibrowser context menu, but I bet
> Monticello is separate...

depends, where exactly ?
I'm sure this is something that should be added somewhere.
What others think ?

>
> Rob
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Enumerate Package Versions

cedreek
> depends, where exactly ?
>  I'm sure this is something that should be added somewhere.
>  What others think ?
>

One more thing...

What I do for such information (as lots of people out there I guess)
is having a Personnal Utility class where I put such methods ( often
class side like for instance #listOmnibrowserPackages). Then
monticello help keeping it avalaible for all my new images. A precious
ressource would be to share such utilities (do we need a model ? maybe
only a web app that shows them?). Ramon image for instance has lots of
them.

Cheers,

Cédrick

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Enumerate Package Versions

Bert Freudenberg
In reply to this post by cedreek
On 30.03.2008, at 14:32, cdrick wrote:

> 2008/3/30, Rob Rothwell <[hidden email]>:
>>
>> On Sat, Mar 29, 2008 at 8:02 PM, cdrick <[hidden email]> wrote:
>>> This makes me wander where could we add such fonctionnality (pretty
>>> common I think) so that there is an option in monticelle menus so
>>> display such information (with possible restrictions to  
>>> repositories).
>>> Where this responsability belong ?
>>
>>
>> Actually, I WAS looking for an option in the Monticello context  
>> menu before
>> I asked for help.
>
> classic ;)


Err, now that would have been much easier: Bring up the halo for the  
Monticello Browser's package list (cmd-click twice), click the halo  
icon, choose "copy & print ...", then "copy text", and paste wherever  
you like. Like so:

3DTransform (3DTransform-bgf.18)
Balloon (Balloon-ar.13)
Chat (Chat-mpm.62)
Collections (Collections-ar.18)
CollectionsTests (CollectionsTests-ar.4)
Compiler (Compiler-ar.17)
Compression (Compression-ar.9)
Croquet-Contacts (Croquet-Contacts-ar.4)
Croquet-Copier (Croquet-Copier-ar.9)
Croquet-Demo (Croquet-Demo-das.23)
Croquet-Embed (Croquet-Embed-ar.15)
Croquet-Harness (Croquet-Harness-ar.120)
Croquet-Import (Croquet-Import-bgf.1)
Croquet-Islands (Croquet-Islands-das.15)
Croquet-Kernel (Croquet-Kernel-ar.38)
Croquet-Menus (Croquet-Menus-ar.12)
Croquet-Misc (Croquet-Misc-ar.8)
Croquet-Objects (Croquet-Objects-ar.238)
Croquet-Router (Croquet-Router-ar.91)
Croquet-Window (Croquet-Window-hrs.24)
Exceptions (Exceptions-ar.6)
FFI (FFI-ar.9)
Files (Files-ar.11)
Flash (Flash-ar.4)
Games (Games-ar.1)
Graphics (Graphics-ar.16)
GraphicsTests (GraphicsTests-ar.2)
GraphicsTools (GraphicsTools-ar.5)
HedgeHacks-3Body (HedgeHacks-3Body-das.8)
HedgeHacks-BFD (HedgeHacks-BFD-hrs.39)
HedgeHacks-Morphic (HedgeHacks-Morphic-ar.35)
HedgeHacks-MPEG (HedgeHacks-MPEG-ar.5)
HedgeHacks-Painter (HedgeHacks-Painter-ar.32)
HedgeHacks-Spreadsheet (HedgeHacks-Spreadsheet-ar.10)
Islands (Islands-ar.41)
Kernel (Kernel-ar.27)
KernelTests (KernelTests-ar.7)
* MenuUI (MenuUI-mpm.87)
Monticello (Monticello-ar.295)
MonticelloConfigurations (MonticelloConfigurations-ar.39)
* Morphic (Morphic-ar.17)
MorphicTests (MorphicTests-ar.4)
MotionCapture (MotionCapture-mpm.61)
Movies (Movies-ar.8)
Multilingual (Multilingual-ar.17)
Nebraska (Nebraska-ar.4)
Network (Network-ar.14)
NetworkTests (NetworkTests-ar.4)
OpenAL (OpenAL-mpm.49)
OpenAL-Pools (OpenAL-Pools-ar.1)
OpenGL (OpenGL-ar.37)
* OpenGL-Core (OpenGL-Core-ar.1)
* OpenGL-Pools (OpenGL-Pools-ar.2)
PackageInfo-Base (PackageInfo-Base-ar.26)
Protocols (Protocols-ar.7)
RFB (RFB-jcg.23)
SailingMorph (SailingMorph-pbm.27)
Scamper (Scamper-ar.8)
Scripting (Scripting-ar.36)
Scripting-Preload (Scripting-Preload-ar.4)
SimpleDemoMorph (SimpleDemoMorph-mpm.8)
SMBase (SMBase-ar.81)
SMLoader (SMLoader-ar.34)
SmaCC (SmaCC-ar.4)
Sound (Sound-ar.7)
Speech (Speech-ar.7)
ST80 (ST80-ar.10)
StarSqueak (StarSqueak-ar.5)
SUnit (SUnit-ar.6)
* System (System-ar.24)
TerrainBuilder (TerrainBuilder-ar.5)
Tests (Tests-ar.7)
ThumbtackAnnotations (ThumbtackAnnotations-mpm.8)
ToolBuilder-Kernel (ToolBuilder-Kernel-ar.16)
ToolBuilder-Morphic (ToolBuilder-Morphic-ar.20)
Tools (Tools-ar.29)
TrueType (TrueType-ar.4)
TweakMC (TweakMC-ar.12)
Tweak-Basic (Tweak-Basic-ar.130)
Tweak-Books (Tweak-Books-ar.18)
Tweak-Compiler (Tweak-Compiler-ar.32)
Tweak-Core-Object (Tweak-Core-Object-ar.19)
Tweak-Core-Proto (Tweak-Core-Proto-ar.47)
Tweak-Costume (Tweak-Costume-ar.76)
Tweak-Demo (Tweak-Demo-ar.2)
Tweak-DevTools (Tweak-DevTools-ar.46)
Tweak-EToys (Tweak-EToys-ar.27)
Tweak-Explain (Tweak-Explain-ar.21)
Tweak-Hacks (Tweak-Hacks-ar.26)
Tweak-Maker (Tweak-Maker-ar.10)
Tweak-Morphic (Tweak-Morphic-ar.36)
Tweak-Painter (Tweak-Painter-ar.15)
Tweak-Platforms (Tweak-Platforms-ar.15)
Tweak-Preload (Tweak-Preload-ar.3)
Tweak-ProjectBuilder (Tweak-ProjectBuilder-ar.96)
Tweak-Projects (Tweak-Projects-ar.57)
Tweak-Skins (Tweak-Skins-ar.9)
Tweak-Tests (Tweak-Tests-ar.31)
Tweak-Text-HTML (Tweak-Text-HTML-ar.3)
Tweak-Tiles (Tweak-Tiles-ar.103)
Tweak-ToolBuilder (Tweak-ToolBuilder-ar.2)
Tweak-Tools (Tweak-Tools-ar.42)
Tweak-Updates (Tweak-Updates-ar.11)
Tweak-Widgets (Tweak-Widgets-ar.152)
Vehicles (Vehicles-mpm.37)
VersionNumber (VersionNumber-ar.3)
VMMaker (VMMaker-ar.61)
Wisconsin (Wisconsin-hrs.137)
XML-Parser (XML-Parser-ar.7)


- Bert -


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Enumerate Package Versions

Rob Rothwell
On Sun, Mar 30, 2008 at 9:37 AM, Bert Freudenberg <[hidden email]> wrote:
Err, now that would have been much easier: Bring up the halo for the
Monticello Browser's package list (cmd-click twice), click the halo
icon, choose "copy & print ...", then "copy text", and paste wherever
you like. Like so:

Guess that's why this is the Beginners List!  (A FRIENDLY place to get answers...!)

Yes...someone can walk me through adding a new context menu item to the OmniBrowser, and I can't "copy text!"

Rob

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners