Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007558 [Squeak] Monticello feature always 09-03-10 02:53 09-05-10 18:01
Reporter seandenigris View Status public  
Assigned To avi
Priority normal Resolution open  
Status assigned   Product Version trunk
Summary 0007558: First-class Package comments
Description Discussed at http://forum.world.st/SMSqueakMapAdminView-was-Maui-1-2-release-1-td2020021.html#a2047596 [^] and http://forum.world.st/Documentation-What-about-package-comments-td2062634.html#a2062634. [^]
Additional Information
Attached Files

- Relationships

- Notes
(0013847 - 296 - 338 - 338 - 338 - 338 - 338)
hirzel
09-04-10 06:43

There is a package 'PackageInfo' which contains four classes

PackageInfo allInstances size 29
PackageList allInstances size 0
PackageOrganizer allInstances size 1
PackageServices allInstances size 0

The classes seem to be used? What is the function? They do not have class comments.
 
(0013848 - 53 - 75 - 75 - 75 - 75 - 75)
hirzel
09-04-10 07:05

Hook:

explore "PackageOrganizer default packages"
 
(0013850 - 1100 - 1342 - 1554 - 1554 - 1554 - 1554)
hirzel
09-04-10 13:01

From: http://lists.squeakfoundation.org/pipermail/squeak-dev/2010-September/153233.html [^]

On 04.09.2010, at 07:53, Hannes Hirzel wrote:

> 1) How are the 29 PackageInfo instances currently used?

To gather info about which classes and methods are in a Monticello package. Also, to hold package load/unload scripts (which is a hack).

> How have they been created?

Typically by MCPackage>>packageInfo.

Or interactively. E.g. one can ask for all ToolBuilder classes even though ToolBuilder is 4 separate MC packages in trunk:

    (PackageInfo named: 'ToolBuilder') classes

> 2) What does the PackageOrganizer instance do?

It holds onto PackageInfo instances, so that after creating one you always get the same instance.

> Is it just used by the PackagePaneBrowser?

The PackagePaneBrowser has nothing to do with packages. It operates on class categories, not packages. I do not find it useful.

The only shipping browser showing packages is in Monticello, when you click "browse". Monticello has a separate registry:

    MCWorkingCopy allManagers collect: #package

- Bert -
 
(0013855 - 320 - 376 - 376 - 376 - 376 - 376)
hirzel
09-05-10 18:00

Note 1)

    MCWorkingCopy allManagers
gives an Array of MCWorkingCopy instances. It seems that this is the currently available 'packages information'. Is this correct?

Note 2)
An MCWorkingCopy instance holds an instance of MCWorkingAncestry. The ancestor information is hold in an Array of MCVersionInfo objects.
 
(0013856 - 146 - 146 - 146 - 146 - 146 - 146)
hirzel
09-05-10 18:01

The latest MCVersionInfo instance mentioned above has a method 'message' which gives access to the description put to this version when commiting.
 

- Issue History
Date Modified Username Field Change
09-03-10 02:53 seandenigris New Issue
09-03-10 02:53 seandenigris Status new => assigned
09-03-10 02:53 seandenigris Assigned To  => avi
09-04-10 06:43 hirzel Note Added: 0013847
09-04-10 07:05 hirzel Note Added: 0013848
09-04-10 13:01 hirzel Note Added: 0013850
09-05-10 18:00 hirzel Note Added: 0013855
09-05-10 18:01 hirzel Note Added: 0013856


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
51 total queries executed.
38 unique queries executed.
Powered by Mantis Bugtracker