This works but doesn't permanently change the repos in the configuration and
you have to have some way to load the configuration in the first place.  It
just adds more repos during the load process:


MetacelloRepositoriesSpec>>add: aStringOrSpec
        (aStringOrSpec isString and: [ '*squeaksource*' match: aStringOrSpec ])
                ifTrue: [ 
                        (aStringOrSpec copy
                                replaceFrom: 8
                                to: 27
                                with: 'dsal.cl/squeaksource/'
                                startingAt: 1) addToMetacelloRepositories: self 
].
        aStringOrSpec addToMetacelloRepositories: self

MetacelloRepositoriesSpec>>repository:aStringOrSpec
       self add: aStringOrSpec


You should also change the networking timeout to something more tolerable
than 30 seconds.  e.g.

ZnNetworkingUtils defaultSocketStreamTimeout:3


And I've only tried it in Pharo 1.4 and only loaded Seaside3.0.7.  So ymmv.





Stéphane Ducasse wrote
> yes we should do that
> Do you have one example?
> So that I also add it to the metacello chapter?
> 
> Stef
> 
> On Nov 5, 2012, at 7:12 PM, Paul DeBruicker wrote:
> 
>> http://dsal.cl/squeaksource/ is the address for the Chilean Squeaksource
>> mirror.  
>> 
>> 
>> It'd be nice to update every Metacello config that has a squeaksource
>> primary repository to point to the chilean mirror as a secondary source
>> (or
>> github/smnalltalkhub/ss3 ...).  





--
View this message in context: 
http://forum.world.st/Squeaksource-down-are-people-using-something-else-tp4653990p4654024.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

Reply via email to