The Inbox: Installer-Core-tcj.426.mcz

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

The Inbox: Installer-Core-tcj.426.mcz

commits-2
A new version of Installer-Core was added to project The Inbox:
http://source.squeak.org/inbox/Installer-Core-tcj.426.mcz

==================== Summary ====================

Name: Installer-Core-tcj.426
Author: tcj
Time: 1 April 2019, 2:12:29.625292 pm
UUID: 210468c4-4297-48c9-9d7c-02fe4a04a91f
Ancestors: Installer-Core-dtl.425

Include the package for Metacello help (written in Squeak HelpBrowser format) when loading Metacello via Installer's convenience method.

(Developed in collaboration with Dale Henrichs)

=============== Diff against Installer-Core-dtl.425 ===============

Item was changed:
  ----- Method: Installer class>>ensureRecentMetacello (in category 'scripts') -----
  ensureRecentMetacello
  "Copied and adapted from https://github.com/Metacello/metacello/blob/master/README.md"
 
  | metacello |
  ((Smalltalk classNamed: #WebClient)
  ifNil: [ false ]
  ifNotNil: [ :webClient |
  [ (webClient httpHead: 'https://github.com') isSuccess ]
  on: Error
  do: [ false ] ])
  ifFalse: [ ^self inform: 'Could not connect to "https://github.com".\\You need an internet connection and SSL support\to install (or update) Metacello.\\Please fix those issues and try again.' translated withCRs ].
 
  metacello := (Smalltalk classNamed: #Metacello) ifNil: [
  "Get the Metacello configuration (for Squeak users)"
  Installer gemsource
  project: 'metacello';
  addPackage: 'ConfigurationOfMetacello';
  install.
 
  "Bootstrap Metacello Preview, using mcz files (#'previewBootstrap' symbolic version"
  ((Smalltalk classNamed: #ConfigurationOfMetacello) project
  version: #'previewBootstrap') load.
 
  Smalltalk classNamed: #Metacello ].
 
  "Now load latest version of Metacello"
  metacello new
  baseline: 'Metacello';
  repository: 'github://Metacello/metacello:master/repository';
  get.
  metacello new
  baseline: 'Metacello';
  repository: 'github://Metacello/metacello:master/repository';
+ load: #('default' 'Metacello-Help').
+ !
- load.!


Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Installer-Core-tcj.426.mcz

Tobias Pape
>
> On 01.04.2019, at 20:12, [hidden email] wrote:
>
> A new version of Installer-Core was added to project The Inbox:
> http://source.squeak.org/inbox/Installer-Core-tcj.426.mcz
>
> ==================== Summary ====================
>
> Name: Installer-Core-tcj.426
> Author: tcj
> Time: 1 April 2019, 2:12:29.625292 pm
> UUID: 210468c4-4297-48c9-9d7c-02fe4a04a91f
> Ancestors: Installer-Core-dtl.425
>
> Include the package for Metacello help (written in Squeak HelpBrowser format) when loading Metacello via Installer's convenience method.

good idea.

>
> (Developed in collaboration with Dale Henrichs)
>
> =============== Diff against Installer-Core-dtl.425 ===============
>
> Item was changed:
>  ----- Method: Installer class>>ensureRecentMetacello (in category 'scripts') -----
>  ensureRecentMetacello
>   "Copied and adapted from https://github.com/Metacello/metacello/blob/master/README.md"
>  
>   | metacello |
>   ((Smalltalk classNamed: #WebClient)
>   ifNil: [ false ]
>   ifNotNil: [ :webClient |
>   [ (webClient httpHead: 'https://github.com') isSuccess ]
>   on: Error
>   do: [ false ] ])
>   ifFalse: [ ^self inform: 'Could not connect to "https://github.com".\\You need an internet connection and SSL support\to install (or update) Metacello.\\Please fix those issues and try again.' translated withCRs ].
>  
>   metacello := (Smalltalk classNamed: #Metacello) ifNil: [
>   "Get the Metacello configuration (for Squeak users)"
>   Installer gemsource
>   project: 'metacello';
>   addPackage: 'ConfigurationOfMetacello';
>   install.
>
>   "Bootstrap Metacello Preview, using mcz files (#'previewBootstrap' symbolic version"
>   ((Smalltalk classNamed: #ConfigurationOfMetacello) project
>   version: #'previewBootstrap') load.
>
>   Smalltalk classNamed: #Metacello ].
>
>   "Now load latest version of Metacello"
>   metacello new
>   baseline: 'Metacello';
>   repository: 'github://Metacello/metacello:master/repository';
>   get.
>   metacello new
>   baseline: 'Metacello';
>   repository: 'github://Metacello/metacello:master/repository';
> + load: #('default' 'Metacello-Help').
> + !
> - load.!
>
>



Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Installer-Core-tcj.426.mcz

Chris Muller-3
Hey,

I accidentally blew up my image because I was so used to having "Close
All Debuggers" at the top of the "Do" menu, I used the keyboard to
quickly select the first, and it immediately started trying to intall
GitInfrastructure or Metacello stuff.  It wrote a bunch of stuff to my
.changes file, too.

This sort of image configuration is only done once when you initially
set up an image, why should you and even people who never use these
have to mouse or key past them every time they use Do menu?  If you
don't want to have a SqueakMap entry there is always the "Extending
The System" workspace.

An initialization script that is executed when loading your base-layer
packages to configure automatically is the quickest and most
convenient way to configure one's image and makes one-click
installation possible.

Best,
  Chris



On Mon, Apr 1, 2019 at 3:42 PM Tobias Pape <[hidden email]> wrote:

>
> >
> > On 01.04.2019, at 20:12, [hidden email] wrote:
> >
> > A new version of Installer-Core was added to project The Inbox:
> > http://source.squeak.org/inbox/Installer-Core-tcj.426.mcz
> >
> > ==================== Summary ====================
> >
> > Name: Installer-Core-tcj.426
> > Author: tcj
> > Time: 1 April 2019, 2:12:29.625292 pm
> > UUID: 210468c4-4297-48c9-9d7c-02fe4a04a91f
> > Ancestors: Installer-Core-dtl.425
> >
> > Include the package for Metacello help (written in Squeak HelpBrowser format) when loading Metacello via Installer's convenience method.
>
> good idea.
>
> >
> > (Developed in collaboration with Dale Henrichs)
> >
> > =============== Diff against Installer-Core-dtl.425 ===============
> >
> > Item was changed:
> >  ----- Method: Installer class>>ensureRecentMetacello (in category 'scripts') -----
> >  ensureRecentMetacello
> >       "Copied and adapted from https://github.com/Metacello/metacello/blob/master/README.md"
> >
> >       | metacello |
> >       ((Smalltalk classNamed: #WebClient)
> >               ifNil: [ false ]
> >               ifNotNil: [ :webClient |
> >                       [ (webClient httpHead: 'https://github.com') isSuccess ]
> >                               on: Error
> >                               do: [ false ] ])
> >               ifFalse: [ ^self inform: 'Could not connect to "https://github.com".\\You need an internet connection and SSL support\to install (or update) Metacello.\\Please fix those issues and try again.' translated withCRs ].
> >
> >       metacello := (Smalltalk classNamed: #Metacello) ifNil: [
> >               "Get the Metacello configuration (for Squeak users)"
> >               Installer gemsource
> >                       project: 'metacello';
> >                       addPackage: 'ConfigurationOfMetacello';
> >                       install.
> >
> >               "Bootstrap Metacello Preview, using mcz files (#'previewBootstrap' symbolic version"
> >               ((Smalltalk classNamed: #ConfigurationOfMetacello) project
> >                       version: #'previewBootstrap') load.
> >
> >               Smalltalk classNamed: #Metacello ].
> >
> >       "Now load latest version of Metacello"
> >       metacello new
> >               baseline: 'Metacello';
> >               repository: 'github://Metacello/metacello:master/repository';
> >               get.
> >       metacello new
> >               baseline: 'Metacello';
> >               repository: 'github://Metacello/metacello:master/repository';
> > +             load: #('default' 'Metacello-Help').
> > + !
> > -             load.!
> >
> >
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Installer-Core-tcj.426.mcz

David T. Lewis
I think those entries have been in the Do menu for quite a while in
trunk(?).  At least I have had them in my own trunk image for quite
a while. In any case, they were not added in Installer-Core-tcj.426.

However they may have been added, I do think that it is a good thing
for global menu changes in trunk to be activated right away so that
we can all use them and decide if we are happy with the changes prior
to an official release.

In this case, your experience suggests that it might be a good thing
for the git menu entries to be moved down one or two sections in the
menu list so that someone does not accidentally hit them as default
selections when using keyboard navigation in the menus.

Dave


On Mon, Apr 01, 2019 at 05:57:14PM -0500, Chris Muller wrote:

> Hey,
>
> I accidentally blew up my image because I was so used to having "Close
> All Debuggers" at the top of the "Do" menu, I used the keyboard to
> quickly select the first, and it immediately started trying to intall
> GitInfrastructure or Metacello stuff.  It wrote a bunch of stuff to my
> .changes file, too.
>
> This sort of image configuration is only done once when you initially
> set up an image, why should you and even people who never use these
> have to mouse or key past them every time they use Do menu?  If you
> don't want to have a SqueakMap entry there is always the "Extending
> The System" workspace.
>
> An initialization script that is executed when loading your base-layer
> packages to configure automatically is the quickest and most
> convenient way to configure one's image and makes one-click
> installation possible.
>
> Best,
>   Chris
>
>
>
> On Mon, Apr 1, 2019 at 3:42 PM Tobias Pape <[hidden email]> wrote:
> >
> > >
> > > On 01.04.2019, at 20:12, [hidden email] wrote:
> > >
> > > A new version of Installer-Core was added to project The Inbox:
> > > http://source.squeak.org/inbox/Installer-Core-tcj.426.mcz
> > >
> > > ==================== Summary ====================
> > >
> > > Name: Installer-Core-tcj.426
> > > Author: tcj
> > > Time: 1 April 2019, 2:12:29.625292 pm
> > > UUID: 210468c4-4297-48c9-9d7c-02fe4a04a91f
> > > Ancestors: Installer-Core-dtl.425
> > >
> > > Include the package for Metacello help (written in Squeak HelpBrowser format) when loading Metacello via Installer's convenience method.
> >
> > good idea.
> >
> > >
> > > (Developed in collaboration with Dale Henrichs)
> > >
> > > =============== Diff against Installer-Core-dtl.425 ===============
> > >
> > > Item was changed:
> > >  ----- Method: Installer class>>ensureRecentMetacello (in category 'scripts') -----
> > >  ensureRecentMetacello
> > >       "Copied and adapted from https://github.com/Metacello/metacello/blob/master/README.md"
> > >
> > >       | metacello |
> > >       ((Smalltalk classNamed: #WebClient)
> > >               ifNil: [ false ]
> > >               ifNotNil: [ :webClient |
> > >                       [ (webClient httpHead: 'https://github.com') isSuccess ]
> > >                               on: Error
> > >                               do: [ false ] ])
> > >               ifFalse: [ ^self inform: 'Could not connect to "https://github.com".\\You need an internet connection and SSL support\to install (or update) Metacello.\\Please fix those issues and try again.' translated withCRs ].
> > >
> > >       metacello := (Smalltalk classNamed: #Metacello) ifNil: [
> > >               "Get the Metacello configuration (for Squeak users)"
> > >               Installer gemsource
> > >                       project: 'metacello';
> > >                       addPackage: 'ConfigurationOfMetacello';
> > >                       install.
> > >
> > >               "Bootstrap Metacello Preview, using mcz files (#'previewBootstrap' symbolic version"
> > >               ((Smalltalk classNamed: #ConfigurationOfMetacello) project
> > >                       version: #'previewBootstrap') load.
> > >
> > >               Smalltalk classNamed: #Metacello ].
> > >
> > >       "Now load latest version of Metacello"
> > >       metacello new
> > >               baseline: 'Metacello';
> > >               repository: 'github://Metacello/metacello:master/repository';
> > >               get.
> > >       metacello new
> > >               baseline: 'Metacello';
> > >               repository: 'github://Metacello/metacello:master/repository';
> > > +             load: #('default' 'Metacello-Help').
> > > + !
> > > -             load.!
> > >
> > >
> >
> >
> >
>

Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Installer-Core-tcj.426.mcz

Hannes Hirzel
+1 for moving down as well.

On 4/2/19, David T. Lewis <[hidden email]> wrote:

> I think those entries have been in the Do menu for quite a while in
> trunk(?).  At least I have had them in my own trunk image for quite
> a while. In any case, they were not added in Installer-Core-tcj.426.
>
> However they may have been added, I do think that it is a good thing
> for global menu changes in trunk to be activated right away so that
> we can all use them and decide if we are happy with the changes prior
> to an official release.
>
> In this case, your experience suggests that it might be a good thing
> for the git menu entries to be moved down one or two sections in the
> menu list so that someone does not accidentally hit them as default
> selections when using keyboard navigation in the menus.
>
> Dave
>
>
> On Mon, Apr 01, 2019 at 05:57:14PM -0500, Chris Muller wrote:
>> Hey,
>>
>> I accidentally blew up my image because I was so used to having "Close
>> All Debuggers" at the top of the "Do" menu, I used the keyboard to
>> quickly select the first, and it immediately started trying to intall
>> GitInfrastructure or Metacello stuff.  It wrote a bunch of stuff to my
>> .changes file, too.
>>
>> This sort of image configuration is only done once when you initially
>> set up an image, why should you and even people who never use these
>> have to mouse or key past them every time they use Do menu?  If you
>> don't want to have a SqueakMap entry there is always the "Extending
>> The System" workspace.
>>
>> An initialization script that is executed when loading your base-layer
>> packages to configure automatically is the quickest and most
>> convenient way to configure one's image and makes one-click
>> installation possible.
>>
>> Best,
>>   Chris
>>
>>
>>
>> On Mon, Apr 1, 2019 at 3:42 PM Tobias Pape <[hidden email]> wrote:
>> >
>> > >
>> > > On 01.04.2019, at 20:12, [hidden email] wrote:
>> > >
>> > > A new version of Installer-Core was added to project The Inbox:
>> > > http://source.squeak.org/inbox/Installer-Core-tcj.426.mcz
>> > >
>> > > ==================== Summary ====================
>> > >
>> > > Name: Installer-Core-tcj.426
>> > > Author: tcj
>> > > Time: 1 April 2019, 2:12:29.625292 pm
>> > > UUID: 210468c4-4297-48c9-9d7c-02fe4a04a91f
>> > > Ancestors: Installer-Core-dtl.425
>> > >
>> > > Include the package for Metacello help (written in Squeak HelpBrowser
>> > > format) when loading Metacello via Installer's convenience method.
>> >
>> > good idea.
>> >
>> > >
>> > > (Developed in collaboration with Dale Henrichs)
>> > >
>> > > =============== Diff against Installer-Core-dtl.425 ===============
>> > >
>> > > Item was changed:
>> > >  ----- Method: Installer class>>ensureRecentMetacello (in category
>> > > 'scripts') -----
>> > >  ensureRecentMetacello
>> > >       "Copied and adapted from
>> > > https://github.com/Metacello/metacello/blob/master/README.md"
>> > >
>> > >       | metacello |
>> > >       ((Smalltalk classNamed: #WebClient)
>> > >               ifNil: [ false ]
>> > >               ifNotNil: [ :webClient |
>> > >                       [ (webClient httpHead: 'https://github.com')
>> > > isSuccess ]
>> > >                               on: Error
>> > >                               do: [ false ] ])
>> > >               ifFalse: [ ^self inform: 'Could not connect to
>> > > "https://github.com".\\You need an internet connection and SSL
>> > > support\to install (or update) Metacello.\\Please fix those issues and
>> > > try again.' translated withCRs ].
>> > >
>> > >       metacello := (Smalltalk classNamed: #Metacello) ifNil: [
>> > >               "Get the Metacello configuration (for Squeak users)"
>> > >               Installer gemsource
>> > >                       project: 'metacello';
>> > >                       addPackage: 'ConfigurationOfMetacello';
>> > >                       install.
>> > >
>> > >               "Bootstrap Metacello Preview, using mcz files
>> > > (#'previewBootstrap' symbolic version"
>> > >               ((Smalltalk classNamed: #ConfigurationOfMetacello)
>> > > project
>> > >                       version: #'previewBootstrap') load.
>> > >
>> > >               Smalltalk classNamed: #Metacello ].
>> > >
>> > >       "Now load latest version of Metacello"
>> > >       metacello new
>> > >               baseline: 'Metacello';
>> > >               repository:
>> > > 'github://Metacello/metacello:master/repository';
>> > >               get.
>> > >       metacello new
>> > >               baseline: 'Metacello';
>> > >               repository:
>> > > 'github://Metacello/metacello:master/repository';
>> > > +             load: #('default' 'Metacello-Help').
>> > > + !
>> > > -             load.!
>> > >
>> > >
>> >
>> >
>> >
>>
>
>