[etoys-dev] Re: Switching update stream

Bert Freudenberg bert at freudenbergs.de
Tue Nov 10 04:25:54 EST 2009


When the username is nil, it asks on upload.

- Bert -

On 10.11.2009, at 04:48, Timothy Falconer wrote:

> Thanks Bert,
>
> What's involved in getting the username field active in the other  
> direction so that more than one account can commit?
>
> Tim
>
>
>
> On Nov 9, 2009, at 6:50 PM, Bert Freudenberg wrote:
>
>> Hi Tim,
>>
>> we talked about moving the update stream today. Here's how to make  
>> the image use the new server for testing.
>>
>> To replace the old update server in the image:
>>
>> 	| d |
>> 	d := DAVServerDirectory on: 'http://host.domain/path/updates'.
>> 	d altUrl: 'http://host.domain/path/updates'.
>> 	d moniker: 'Squeakland'.
>> 	d user: 'username'.
>>
>> 	Utilities classPool at: #UpdateUrlLists put: nil.
>> 	ServerDirectory inImageServers keysDo: [:k | ServerDirectory  
>> inImageServers removeKey: k].
>> 	ServerDirectory inImageServers at: 'Squeakland' put: d.
>> 	Utilities updateUrlLists add: (Array with: 'Squeakland' with: # 
>> ('host.domain/path/')).
>>
>> To switch to the new version's stream:
>>
>> 	SystemVersion newVersion: 'etoys4.1'.
>>
>> - Bert -
>>
>>
>
> --
> Timothy Falconer
> Squeakland Foundation
> http://squeakland.org
> 610-797-3100
> --
> "Intelligence is what you use when you don't know what to do."  ...  
> piaget
>
>
>
>
>



More information about the etoys-dev mailing list