Load Zinc and some packages without UI
Hi list and Sven :) Iâd like to load some additional packages about Zinc without human intervention If I use this: Gofer it smalltalkhubUser: 'Pharo' project: 'MetaRepoForPharo30'; package: 'ConfigurationOfZincHTTPComponents'; load. (Smalltalk at:#ConfigurationOfZincHTTPComponents) load. ((Smalltalk at:#ConfigurationOfZincHTTPComponents) project version: #stable) load: #('REST' 'SSO' 'WebSocket' 'Zodiac'). I do get an UI asking for merge or to confirm load What am I doing wrong to make it automation friendly? sebastian o/
On 11 May 2014, at 19:55, Sebastian Sastre <sebastian@flowingconcept.com> wrote:
Hi list and Sven :)
Iâd like to load some additional packages about Zinc without human intervention
If I use this:
Gofer it smalltalkhubUser: 'Pharo' project: 'MetaRepoForPharo30'; package: 'ConfigurationOfZincHTTPComponents'; load.
(Smalltalk at:#ConfigurationOfZincHTTPComponents) load. ((Smalltalk at:#ConfigurationOfZincHTTPComponents) project version: #stable) load: #('REST' 'SSO' 'WebSocket' 'Zodiac').
I do get an UI asking for merge or to confirm load
What am I doing wrong to make it automation friendly?
To answer that I should try it myself, or you have to tell me what the conflict is. I believe there might be some last minute changes to Zinc packages in the released 3.0 that are not yet merged upstream, I am not sure. In any case, I would not load Zodiac. A merge is scriptable by wrapping an #on:do: around it, suppressing the merge warning. If you just want the extra's, don't load the main one.
sebastian
o/
Hi Sebastian, Adding this around the load expression should make it work: [ ... ] on: MCMergeOrLoadWarning do: [ :ex | ex resume: true]. btw, this is the same problem that caused broken builds when I updated Grease #stable back in March Johan On 11 May 2014, at 19:55, Sebastian Sastre <sebastian@flowingconcept.com> wrote:
Hi list and Sven :)
Iâd like to load some additional packages about Zinc without human intervention
If I use this:
Gofer it smalltalkhubUser: 'Pharo' project: 'MetaRepoForPharo30'; package: 'ConfigurationOfZincHTTPComponents'; load.
(Smalltalk at:#ConfigurationOfZincHTTPComponents) load. ((Smalltalk at:#ConfigurationOfZincHTTPComponents) project version: #stable) load: #('REST' 'SSO' 'WebSocket' 'Zodiac').
I do get an UI asking for merge or to confirm load
What am I doing wrong to make it automation friendly?
sebastian
o/
awesome! thanks for that! On May 11, 2014, at 3:05 PM, Johan Brichau <johan@inceptive.be> wrote:
Hi Sebastian,
Adding this around the load expression should make it work:
[ ... ] on: MCMergeOrLoadWarning do: [ :ex | ex resume: true].
btw, this is the same problem that caused broken builds when I updated Grease #stable back in March
Johan
On 11 May 2014, at 19:55, Sebastian Sastre <sebastian@flowingconcept.com> wrote:
Hi list and Sven :)
Iâd like to load some additional packages about Zinc without human intervention
If I use this:
Gofer it smalltalkhubUser: 'Pharo' project: 'MetaRepoForPharo30'; package: 'ConfigurationOfZincHTTPComponents'; load.
(Smalltalk at:#ConfigurationOfZincHTTPComponents) load. ((Smalltalk at:#ConfigurationOfZincHTTPComponents) project version: #stable) load: #('REST' 'SSO' 'WebSocket' 'Zodiac').
I do get an UI asking for merge or to confirm load
What am I doing wrong to make it automation friendly?
sebastian
o/
participants (3)
-
Johan Brichau -
Sebastian Sastre -
Sven Van Caekenberghe