[squeak-dev] The Inbox: System-cmm.1059.mcz

Chris Muller ma.chris.m at gmail.com
Tue Apr 2 23:20:09 UTC 2019


Hi Jakob and Tim R.,

>> I understand that you like Metacello and GitInfrastructure and may
>> wish to promote their use to others, but as Karl mentioned we already
>> have existing places in the IDE dedicated to package installation, we
>> should not introduce another new place, especially one so orthogonal
>> to its regular purpose.  I guess you wouldn't to see "Installer
>> installMagma" in there, right?
>
> On the other hand, installing Metacello is nearly every time the first thing I have to do in a fresh Trunk image to load any projects from GitHub with their dependencies.
> The shorter the way to install Metacello, the better. I was delighted to have it in the menu. Not that I particularly like Metacello, but I *need* it.

You need a proper solution to dependency management, adding our
personal projects to the top of everyone's Do menu isn't it.   ;)

Tim R. wrote:

> How about extending the preferences so that saving your prefs to file includes these items in some manner?

I used to configure my images manually like this -- by a series of
clicks on this or that menu, opening up of Preferences to click the
"Load Preferences" button, setting my theme, etc.

It was and still is a really bad way to do configuration.

I now use a class-side #initialize method that configures _everything_
I need for preferences and stuff.

I also made sure all my packages have dependency management --

    - checking if a pre-requisite package is already present and, if not,
    - load that package

The 2nd step may, itself, have dependencies, but they each follow
those same two steps, so it doesn't matter how big the tree of
dependencies is, nor what overlappings may exist with whatever else
may already be loaded.

Best,
  Chris


> In fact, this menu item is the only one in the Do menu I have ever used. Well except for the git infrastructure one, but since I developed the things that it installs, I am biased. Note that it was not me who put the item on the list, although I felt flattered about it.
>
>>
>> The last entry of the Do menu is "edit this list", this is how it was
>> intended to be personalized.  Is that okay?
>
>
> Not if you would first have to edit this list to get your initialize-your-trunk-image items into it. ¯\_(ツ)_/¯
> On that note, if there was a way to restore the saved list (or preferences for that matter) quickly from a well-known file name, it should be on that list. Saving it to the well-known file should be on there too.
>
> Installing the current incarnation of the refactoring tools might be another good candidate for an image initialization shortlist. I mostly live without them just because the buttons to install them are too many clicks away...
>
> Am Di., 2. Apr. 2019 um 22:54 Uhr schrieb Chris Muller <asqueaker at gmail.com>:
>>
>> Hi Marcel,
>>
>> The Do menu was targeted toward newcomers as a way to introduce some
>> basics of Squeak.  It gives the newcomer list of Squeak expressions
>> which are generically useful, and have been unchanged since 2002.
>>
>> I understand that you like Metacello and GitInfrastructure and may
>> wish to promote their use to others, but as Karl mentioned we already
>> have existing places in the IDE dedicated to package installation, we
>> should not introduce another new place, especially one so orthogonal
>> to its regular purpose.  I guess you wouldn't to see "Installer
>> installMagma" in there, right?
>>
>> The last entry of the Do menu is "edit this list", this is how it was
>> intended to be personalized.  Is that okay?
>>
>> Best,
>>   Chris
>>
>> PS -- Marcel, can you simply define Metacello and/or GitInfrastructure
>> as prerequisites to whatever package(s) require them?
>>
>>
>>
>> On Tue, Apr 2, 2019 at 11:33 AM Marcel Taeumel <marcel.taeumel at hpi.de> wrote:
>> >
>> > Hi, there.
>> >
>> > Can you please restore those lines:
>> >
>> > Installer ensureRecentMetacello.
>> > Installer installGitInfrastructure.
>> >
>> > What is this commit part of? It removes a dot at the end and also the recent additions I mentioned above. :-)
>> >
>> > Best,
>> > Marcel
>> >
>> > Am 02.04.2019 01:09:14 schrieb commits at source.squeak.org <commits at source.squeak.org>:
>> >
>> > Chris Muller uploaded a new version of System to project The Inbox:
>> > http://source.squeak.org/inbox/System-cmm.1059.mcz
>> >
>> > ==================== Summary ====================
>> >
>> > Name: System-cmm.1059
>> > Author: cmm
>> > Time: 1 April 2019, 6:08:54.797918 pm
>> > UUID: 6ab6befc-9fa5-4aa5-a1b6-3570ba2853b9
>> > Ancestors: System-eem.1058
>> >
>> > Organize configuration scripts in the "Extending The System" workspace or SqueakMap.
>> >
>> > =============== Diff against System-eem.1058 ===============
>> >
>> > Item was changed:
>> > ----- Method: Utilities class>>initializeCommonRequestStrings (in category 'common requests') -----
>> > initializeCommonRequestStrings
>> > "Initialize the common request strings, a directly-editable list of expressions that can be evaluated from the 'do...' menu."
>> >
>> > CommonRequestStrings := StringHolder new contents:
>> > + 'Utilities emergencyCollapse.
>> > - 'Installer ensureRecentMetacello.
>> > - Installer installGitInfrastructure.
>> > - -
>> > - Utilities emergencyCollapse.
>> > Utilities closeAllDebuggers.
>> > -
>> > Sensor keyboard.
>> > ParagraphEditor abandonChangeText.
>> > Cursor normal show.
>> > -
>> > CommandHistory resetAllHistory.
>> > Project allInstancesDo: [:p | p displayDepth: 16].
>> > ScriptingSystem inspectFormDictionary.
>> > Form fromUser bitEdit.
>> > Display border: (0 at 0 extent: 640 at 480) width: 2.
>> > -
>> > Undeclared inspect.
>> > Undeclared removeUnreferencedKeys; inspect.
>> > Transcript clear.
>> > Utilities grabScreenAndSaveOnDisk.
>> > FrameRateMorph new openInHand.
>> > -
>> > Utilities reconstructTextWindowsFromFileNamed: ''TW''.
>> > Utilities storeTextWindowContentsToFileNamed: ''TW''.
>> > ChangeSorter removeEmptyUnnamedChangeSets.
>> > ChangeSorter reorderChangeSets.
>> > -
>> > ActiveWorld installVectorVocabulary.
>> > ActiveWorld abandonVocabularyPreference.
>> > + Smalltalk saveAsNewVersion'
>> > - Smalltalk saveAsNewVersion.'
>> >
>> > "Utilities initializeCommonRequestStrings"!
>> >
>> >
>> >
>>


More information about the Squeak-dev mailing list