[Pharo-users] [ANN] Stargate v8.0.0 [v8.0.0] released!

2022-04-08 Thread Buenos Aires Smalltalk
Stargate, a library supporting the creation of HTTP based RESTful APIs.  reached it's v8.0.0 version.
What's Changed

Added support for Pharo 10

Breaking changes

Updated Hyperspace to v3 (see migration guide here )
Updated to the latest Zinc version

Regards,
The Buenos Aires Smalltalk team


[Pharo-users] Re: Installing code in a running image

2022-04-08 Thread Davide Varvello via Pharo-users
 Thanks Tim, that's a valid question, I don't love git so much, we have the 
code repository versioned on mercurial and we are also trying to have no more 
that a single baseline in production. On customers' machines should run only a 
small portion of code so I guess CodeImporter is enough, but I'll feedback the 
list within some days with my results ;-)
Thanks for helpingCheersDavide

On Monday, April 4, 2022, 03:31:42 PM GMT+2, Tim Mackinnon 
 wrote:  
 
 From memory - the Excercism project does this too (can't recall if it uses 
CodeImporter, but it does get source from Exercism and load it into the image).

Having said this - are you sure you don't want to have some versioned packed in 
git that your image can load up when needed? It would add a version control 
element for you which might make sense.

Tim
On Mon, 4 Apr 2022, at 2:15 PM, Davide Varvello via Pharo-users wrote:


Thanks Markus
It seems CodeImporter is the right tool

Davide

On Monday, April 4, 2022, 11:41:50 AM GMT+2, Marcus Denker 
 wrote:





On 1 Apr 2022, at 18:35, Davide Varvello via Pharo-users 
 wrote:
Hi Folks!

For a customer of mine I want to download a bunch of new code from my webserver 
and installing it in a running Pharo image, is there a feasible way to do it?


Maybe you could just have file-outs on the server and then just load it with 
CodeImporter?

Reading from a URL:

ZnClient new get: ‘someURL’.

Loading file outs from a String:

CodeImporter class>>#evaluateString:


Marcus



  

[Pharo-users] Re: [ANN] Pharo 10 released!

2022-04-08 Thread vinref
Looking forward to doing some serious work with Pharo. Thanks for all the hard 
work that has gone into Pharo over the years.

Marcus Denker wrote:

> I added an issue tracker entry as I have no idea where/how to fix it…
>
> ```
> PharoLauncher: List Pharo10 as stable #11102
>   https://github.com/pharo-project/pharo/issues/11102
> ```

This is the page that has to be updated: 
https://files.pharo.org/pharo-launcher/sources.list

Vince