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@0 extent: 640@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"! |
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
|
In menu Help/Extending the system there is already a entry Installer ensureRecentMetacello. Maybe we should add the Installer installGitInfrastructure there ? Best, Karl On Tue, Apr 2, 2019 at 6:33 PM Marcel Taeumel <[hidden email]> wrote:
|
In reply to this post by marcel.taeumel
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 <[hidden email]> 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 [hidden email] <[hidden email]>: > > 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@0 extent: 640@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"! > > > |
> On 2019-04-02, at 1:53 PM, Chris Muller <[hidden email]> wrote: > > > The last entry of the Do menu is "edit this list", this is how it was > intended to be personalized. Is that okay? How about extending the preferences so that saving your prefs to file includes these items in some manner? tim -- tim Rowledge; [hidden email]; http://www.rowledge.org/tim Fractured Idiom:- QUIP PRO QUO - A fast retort |
In reply to this post by Chris Muller-3
Hi, Am Di., 2. Apr. 2019 um 22:54 Uhr schrieb Chris Muller <[hidden email]>: Hi Marcel, Maybe I am not enough of a newcomer anymore, but I don't understand the relevance of many of the items on that list for newcomers. Such as reducing the display depth of each project to 16 bits. Inspecting the Undeclared dictionary is also not so much of a newcomer's operation, or even a basic one, is it? What does emergencyCollapse do? Sounds rather dangerous, so I would be hesitant to try it. Can we have tooltips on these items? What does Sensor keyboard do at all? It seems to have no visible effect. Even if I print it, it just returns nil. Smalltalk saveAsNewVersion is already in the Squeak menu and world menu. grabScreenAndSaveToDisk gives a MessageNotUnderstood error... reconstructTextWindowsFromFileNamed: gives a MessageNotUnderstood error... So I guess many of these look like riddles to newcomers. Just like the IDE tools do if you do not read an introduction somewhere. That the list is/was unchanged since 2002 is not a good argument for the current list, but rather an indication that it is unmaintained, isn't it? |
In reply to this post by Chris Muller-3
Am Di., 2. Apr. 2019 um 22:54 Uhr schrieb Chris Muller <[hidden email]>: I understand that you like Metacello and GitInfrastructure and may 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. 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 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 <[hidden email]>: Hi Marcel, |
In reply to this post by Chris Muller-3
Hi Chris,
I wonder how difficult it would be to make a menu tester which sends all messages on all standard menus to test for MNU & related, and make it part of release prep — if such a thing does not already exist. I ask because there are two items on the Do menu which would MNU if a newcomer (or anyone, for that matter) tried them in 5.2: Utilities class>>#grabScreenAndSaveOnDisk Utilities class>>#reconstructTextWindowsFromFileNamed: I submitted a partial fix for the first item last year but never got to the next step of the fix. :( Regarding Metacello and GitInfrastructure: whether these have a place on the Do menu or not, I find them useful for cross-dialect compatibility, and for using world-interoperable systems for source control — probably two domains outside of the scope of Installer or SqueakMap. I also like the added exposure Smalltalk gets from having projects on GitHub. (GitHub also offers semi-free hosting, versus e.g. WebDAV. But I digress.) Best, Tim On 2019-04-02 13:53, Chris Muller wrote: > 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 <[hidden email]> > 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 [hidden email] >> <[hidden email]>: >> >> 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@0 extent: 640@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"! >> >> >> |
In reply to this post by Jakob Reschke
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 <[hidden email]>: >> >> 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 <[hidden email]> 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 [hidden email] <[hidden email]>: >> > >> > 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@0 extent: 640@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"! >> > >> > >> > >> |
On Tue, 2 Apr 2019, Chris Muller wrote:
> 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 Levente > 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 <[hidden email]>: >>> >>> 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 <[hidden email]> 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 [hidden email] <[hidden email]>: >>> > >>> > 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@0 extent: 640@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"! >>> > >>> > >>> > >>> |
On Tue, Apr 2, 2019 at 7:08 PM Levente Uzonyi <[hidden email]> wrote:
> > On Tue, 2 Apr 2019, Chris Muller wrote: > > > 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 > > You mean a tool like Metacello? In this case Metacello is a pre-req package needing loaded, so, no. Are you making a joke? It should be handled the same as everything else: a script that checks / loads Metacello and then the dependent app, and store that script in SqueakMap. - Chris |
In reply to this post by commits-2
I am not happy with the System-cmm.1059 proposal because it reverts
previous updates but does not provide a solution to the problem that it is intended to address. Here is what it says that it does: > Name: System-cmm.1059 > Time: 1 April 2019, 6:08:54.797918 pm > > Organize configuration scripts in the "Extending The System" workspace or SqueakMap. What it actually does is revert these three prior commits: > Name: System-fn.1044 > Time: 15 October 2018, 10:11:52.454872 am > > Fixes dot inconsistency. > Name: System-pre.1043 > Time: 8 October 2018, 2:14:05.659633 pm > > In order to make the new Git version control infrastructure more > accessible, this commit adds the new Installer script to the Do menu. > Name: System-mt.1019 > Time: 16 April 2018, 10:47:59.119614 am > > Adds script for installing (or updating) Metacello to the "Do" menu. > > (Add it yourself or run "Utilities cleanUp: true" to test.) If we think that the two menu items in question might better be put on SqueakMap or in "Extending The System", then let's do that, then tidy up the "Do" menu after the better solution has been implemented. Dave On Mon, Apr 01, 2019 at 11:09:06PM +0000, [hidden email] wrote: > 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@0 extent: 640@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"! > > |
In reply to this post by Chris Muller-3
I'm planning a major upgrade to SqueakMap later this year that keeps
the existing model but server and UI upgraded to an AppStore-like experience. It'd be great to have GitInfrastructure and Metacello entries in there along with some of the interesting git-based projects. A consistent one-click experience to "load anything" is good for Squeak. One click would get you the whole way there (configuring a new image) instead of only half way as when starting in the Do menu. Easier for others to bootstrap and look. Maybe participate. Best, Chris On Tue, Apr 2, 2019 at 8:17 PM Chris Muller <[hidden email]> wrote: > > On Tue, Apr 2, 2019 at 7:08 PM Levente Uzonyi <[hidden email]> wrote: > > > > On Tue, 2 Apr 2019, Chris Muller wrote: > > > > > 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 > > > > You mean a tool like Metacello? > > In this case Metacello is a pre-req package needing loaded, > so, no. Are you making a joke? > > It should be handled the same as everything else: a script that > checks / loads Metacello and then the dependent app, and store that > script in SqueakMap. > > > > - Chris |
In reply to this post by David T. Lewis
Hi Dave,
Installer metacello is already in the Extending The system Workspace. My plan was to add the same GitInfrastructure right there too and submit that to Inbox too, but I got an Error when I tried to save it straight in the window. I had already committed this one to Inbox, I just haven't had time to debug whatever broke the ability to update the Extending The System workspace yet. Once fixed, the comment will make sense in conjunction with that commit. - Chris > I am not happy with the System-cmm.1059 proposal because it reverts > previous updates but does not provide a solution to the problem that > it is intended to address. > > Here is what it says that it does: > > > Name: System-cmm.1059 > > Time: 1 April 2019, 6:08:54.797918 pm > > > > Organize configuration scripts in the "Extending The System" workspace or SqueakMap. > > > What it actually does is revert these three prior commits: > > > Name: System-fn.1044 > > Time: 15 October 2018, 10:11:52.454872 am > > > > Fixes dot inconsistency. > > > > Name: System-pre.1043 > > Time: 8 October 2018, 2:14:05.659633 pm > > > > In order to make the new Git version control infrastructure more > > accessible, this commit adds the new Installer script to the Do menu. > > > > Name: System-mt.1019 > > Time: 16 April 2018, 10:47:59.119614 am > > > > Adds script for installing (or updating) Metacello to the "Do" menu. > > > > (Add it yourself or run "Utilities cleanUp: true" to test.) > > > If we think that the two menu items in question might better be put on > SqueakMap or in "Extending The System", then let's do that, then tidy > up the "Do" menu after the better solution has been implemented. > > Dave > > > On Mon, Apr 01, 2019 at 11:09:06PM +0000, [hidden email] wrote: > > 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@0 extent: 640@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"! > > > > > |
Ah, ok. It makes sense now :-)
Thanks, Dave On Tue, Apr 02, 2019 at 09:30:23PM -0500, Chris Muller wrote: > Hi Dave, > > Installer metacello is already in the Extending The system Workspace. > My plan was to add the same GitInfrastructure right there too and > submit that to Inbox too, > but I got an Error when I tried to save it straight in the window. > > I had already committed this one to Inbox, I just haven't had time to > debug whatever broke the ability to update the Extending The System > workspace yet. Once fixed, the comment will make sense in conjunction > with that commit. > > > - Chris > > > I am not happy with the System-cmm.1059 proposal because it reverts > > previous updates but does not provide a solution to the problem that > > it is intended to address. > > > > Here is what it says that it does: > > > > > Name: System-cmm.1059 > > > Time: 1 April 2019, 6:08:54.797918 pm > > > > > > Organize configuration scripts in the "Extending The System" workspace or SqueakMap. > > > > > > What it actually does is revert these three prior commits: > > > > > Name: System-fn.1044 > > > Time: 15 October 2018, 10:11:52.454872 am > > > > > > Fixes dot inconsistency. > > > > > > > Name: System-pre.1043 > > > Time: 8 October 2018, 2:14:05.659633 pm > > > > > > In order to make the new Git version control infrastructure more > > > accessible, this commit adds the new Installer script to the Do menu. > > > > > > > Name: System-mt.1019 > > > Time: 16 April 2018, 10:47:59.119614 am > > > > > > Adds script for installing (or updating) Metacello to the "Do" menu. > > > > > > (Add it yourself or run "Utilities cleanUp: true" to test.) > > > > > > If we think that the two menu items in question might better be put on > > SqueakMap or in "Extending The System", then let's do that, then tidy > > up the "Do" menu after the better solution has been implemented. > > > > Dave > > > > > > On Mon, Apr 01, 2019 at 11:09:06PM +0000, [hidden email] wrote: > > > 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@0 extent: 640@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"! > > > > > > > > > |
In reply to this post by Chris Muller-3
Chris Muller <[hidden email]> schrieb am Mi., 3. Apr. 2019, 03:18: On Tue, Apr 2, 2019 at 7:08 PM Levente Uzonyi <[hidden email]> wrote: Forgive me Chris, but are you joking? You do know what Metacello is, don't you? It provides the very dependency management you are writing about and it is *the* currently accepted standard way to load Smalltalk projects from GitHub. This is not something I made up to fit my case (in fact I don't like Metacello very much), but it is status quo. These projects place a Metacello load script in their README files. It is basically used like a platform requirement, like apt on Debian. It should be handled the same as everything else: a script that Yeah, projects that use Pharo or GemStone as their primary platform will be delighted to hear that they have to maintain a SqueakMap entry to give squeakers a chance to try their stuff. Not! |
In reply to this post by Chris Muller-3
Chris Muller <[hidden email]> schrieb am Mi., 3. Apr. 2019, 04:26: I'm planning a major upgrade to SqueakMap later this year that keeps Sounds nice, but we don't have it yet. So please let's keep the menu entries around in the meantime. (Side note: can we please include a function to mostly autogenerate a SqueakMap entry for a GitHub/Metacello-based project in the new or old tools?) How are you supposed to tell a so-called newcomer how to install your GitHub-based project today? Go to help extending the system find the piece of text that reads Installer ensureRecentMetacello mark it open the context menu click do it blah blah blah. When all they would need to do is click on a menu entry from the docking bar. |
In reply to this post by Jakob Reschke
On Apr 2, 2019, at 3:00 PM, Jakob Reschke wrote: > 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. +1 I'll note that one of the intended use cases of Metacello is to automate image-building for test environments. Think zero-click install rather than one-click install. I imagine Installer is good for that too, in Squeak. I still see these as complementary rather than competing tools. > 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... Where are they? Thanks, Tim J |
Am Do., 4. Apr. 2019 um 16:51 Uhr schrieb Tim Johnson <[hidden email]>:
That's part of the guessing game, isn't it? ;-) tl;dr: the "Refactoring Tools" are on the SqueakMap for Squeak 5.2 The Squeak Wiki tells you all kinds of things like installing Refactoring Browser from SqueakMap, the third Google hit is actually a diff view of a Wiki page, then there is a note that the OmniBrowser is not supported anymore... alright, don't want to know that. But hey, at least it mentions SqueakMap. (But still you need to know that for the latest Squeak, you need the "Tools", not the "Browser". I'll put the words "Refactoring Tools" on the pages I came across.) So there we go: 1) open SqueakMap Catalog from Apps menu 2) no packages there (Trunk image), have to right-click the package list and disable "New safely-available packages" 3) enter "refactoring" in the Search package box, hit return. Takes me to AwesomAtom first. Hmm. Unfortunately Refactoring Tools starts with an R, so I won't get there with repeated return hitting any time soon 3½) since I happen to already know the name, scroll down to Refactoring Tools manually 4) right-click, Install. "The package has no published release for your Squeak version [...]". Yes. Another warning prompt, yes. Done! 9 clicks or scroll actions if you know where to look (without step 3). Does not sound too bad actually, but still if you grab a new image every now and then and repeat it for multiple packages... Would have been 2 clicks from the Do menu, or maybe two-and-a-half if the Apps or Tools menu had a submenu to install often-used or recommended packages. By the way, why are the refactoring tools not in Trunk? Other IDEs that call themselves like that come with their refactoring tools preinstalled. |
Yah. I had to rant about this a little a while ago (look for list mails around mid-jan 2019, subject ' Refactoring browser loading'). Like you I found several divergent explanations of how to load the tools and mostly they didn't work. Eventually there *is* a way, but yes, I'd concur that they ought to be folded in with the basic tools - and then improved to be less painful to use.
> On 2019-04-04, at 12:54 PM, Jakob Reschke <[hidden email]> wrote: > [snip] > That's part of the guessing game, isn't it? ;-) tl;dr: the "Refactoring Tools" are on the SqueakMap for Squeak 5.2 > > The Squeak Wiki tells you all kinds of things like installing Refactoring Browser from SqueakMap, the third Google hit is actually a diff view of a Wiki page, then there is a note that the OmniBrowser is not supported anymore... alright, don't want to know that. But hey, at least it mentions SqueakMap. (But still you need to know that for the latest Squeak, you need the "Tools", not the "Browser". I'll put the words "Refactoring Tools" on the pages I came across.) > [snip] > > By the way, why are the refactoring tools not in Trunk? Other IDEs that call themselves like that come with their refactoring tools preinstalled. > tim -- tim Rowledge; [hidden email]; http://www.rowledge.org/tim Strange OpCodes: SLTMDL: Shift Left, Test Mask and Dim the Lights |
Free forum by Nabble | Edit this page |