Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
MCPackageManager
Last updated at 3:51 pm UTC on 8 April 2017
A MCPackageManager is xxxxxxxxx. ???



From: Bert Freudenberg <bert@freudenbergs.de>
Date: Wed, 27 Feb 2013 15:22:04 +0100
Subject: Re: [squeak-dev] The Trunk: ReleaseBuilder-fbs.93.mcz
To: The general-purpose Squeak developers list
<squeak-dev@lists.squeakfoundation.org>


On 2013-02-27, at 12:12, Frank Shearar <frank.shearar@gmail.com> wrote:

> At any rate, this is half of my proposal. I haven't yet actually
> stripped anything out of Trunk, mainly because I'm unsure how. I think
> I need to take a clean, updated image and run a script on it, and at
> the moment don't know what that script looks like. Maybe this?:

       (MCWorkingCopy allManagers select:
>               [:mgr | #('Foo' 'Bar' 'Baz') includes: mgr packageName ])
>                       do: [:wc | wc unload].

Or perhaps

#('Foo' 'Bar' 'Baz') do: [:pkgName | | pkg |
        pkg := MCPackage named: pkgName.
        pkg hasWorkingCopy ifTrue: [pkg unload]].

>       WorldState addDeferredUIMessage: [ SmalltalkImage current snapshot:
> false andQuit: true ].


No snapshot?

- Bert -