[Glass] Update GLASS and MetacelloPreview

Dale K. Henrichs dale.henrichs at gemtalksystems.com
Tue Nov 26 11:24:44 PST 2013


Actually adding in a `get` command to refresh the baseline (equivalent to updateProject for a configuration) will ensure two things: 

1. that the git cache is flushed for each project (since you are using github-based projects) 
2. that you've got the latest version of the baseline loaded in your image 

So this would ensure a fresh load: 

Metacello new 
baseline: 'Metacello'; 
repository: 'github://dalehenrich/metacello-work:master/repository'; 
get '. Metacello new 
baseline: 'Metacello'; 
repository: 'github://dalehenrich/metacello-work:master/repository'; 
onWarning: [:ex | 
Transcript 
cr; 
show: ex description. 
ex resume]; 
load: 'ALL'. 

Metacello new 
baseline: 'GLASS1'; 
repository: 'github://glassdb/glass:master/repository'; get. 
Metacello new 
baseline: 'GLASS1'; 
repository: 'github://glassdb/glass:master/repository'; 
onConflict: [ :ex | ex allow ]; 
onWarning: [ :ex | 
Transcript 
cr; 
show: ex description. 
ex resume ]; 
load: 'default'. 
Dale 
----- Original Message -----

| From: "Mariano Martinez Peck" <marianopeck at gmail.com>
| To: glass at lists.gemtalksystems.com
| Sent: Tuesday, November 26, 2013 10:39:23 AM
| Subject: [Glass] Update GLASS and MetacelloPreview

| Hi Dale,

| Could you please confirm me if these were the correct scripts to
| update GLASS and MetacelloPreview?

| [Metacello new
| baseline: 'Metacello';
| repository: 'github://dalehenrich/metacello-work:master/repository';
| load: 'ALL'.
| ] on: Warning do: [ :ex |
| ex resume.
| ].

| Metacello new
| baseline: 'GLASS1';
| repository: 'github://glassdb/glass:master/repository';
| onConflict: [ :ex | ex allow ];
| onWarning: [ :ex |
| Transcript
| cr;
| show: ex description.
| ex resume ];
| load: 'default'.

| Thanks!

| --
| Mariano
| http://marianopeck.wordpress.com

| _______________________________________________
| Glass mailing list
| Glass at lists.gemtalksystems.com
| http://lists.gemtalksystems.com/mailman/listinfo/glass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20131126/e283077d/attachment.html>


More information about the Glass mailing list