[squeak-dev] The Trunk: UpdateStream-tpr.11.mcz
Tobias Pape
Das.Linux at gmx.de
Tue Feb 19 07:28:18 UTC 2019
> On 19.02.2019, at 07:04, tim Rowledge <tim at rowledge.org> wrote:
>
>
>
>> 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.
Point taken. Go ahead.
:)
Best regards
-Tobias
More information about the Squeak-dev
mailing list
|