[squeak-dev] The Trunk: UpdateStream-tpr.11.mcz
tim Rowledge
tim at rowledge.org
Tue Feb 19 06:04:41 UTC 2019
> On 2019-02-18, at 9:54 PM, Tobias Pape <Das.Linux at gmx.de> wrote:
>>
>> Item was changed:
>> ----- Method: UpdateStreamDownloader class>>newUpdatesOn:special:throughNumber: (in category 'fetching updates') -----
>> newUpdatesOn: serverList special: indexPrefix throughNumber: aNumber
>> "Return a list of fully formed URLs of update files we do not yet have. Go to the listed servers and look at the file 'updates.list' for the names of the last N update files. We look backwards for the first one we have, and make the list from there. tk 9/10/97
>> No updates numbered higher than aNumber (if it is not nil) are returned "
>>
>> | existing out maxNumber |
>> maxNumber := aNumber ifNil: [99999].
>> out := OrderedCollection new.
>> existing := SystemVersion current updates.
>> serverList do: [:server | | raw doc list char |
>> + doc := HTTPSocket httpGet: 'http://' , server,indexPrefix,'updates.list'.
>> - doc := HTTPClient httpGet: 'http://' , server,indexPrefix,'updates.list'.
>
> Why not WebClient directly?
Baby steps. And time; feel free to bang on it a bit more.
tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: WAF: Warn After the Fact
More information about the Squeak-dev
mailing list
|