[Pkg] Installer: Installer-Core-kph.226.mcz
squeak-dev-noreply at lists.squeakfoundation.org
squeak-dev-noreply at lists.squeakfoundation.org
Tue Sep 30 11:51:40 UTC 2008
A new version of Installer-Core was added to project Installer:
http://www.squeaksource.com/Installer/Installer-Core-kph.226.mcz
==================== Summary ====================
Name: Installer-Core-kph.226
Author: kph
Time: 30 September 2008, 12:51:35 pm
UUID: 1bef352d-18ed-405a-8a59-f18d2b02233d
Ancestors: Installer-Core-dc.225
attempt to work around pbwiki errors
=============== Diff against Installer-Core-dc.225 ===============
Item was changed:
----- Method: Installer>>webFindUrlToDownload (in category 'web install') -----
webFindUrlToDownload
self class webSearchPath do: [ :pathSpec |
| potentialUrl readPathSpec |
readPathSpec := pathSpec value readStream.
potentialUrl := (readPathSpec upTo: $*), self package, (readPathSpec upToEnd ifNil: [ '' ]).
+ [ pageDataStream := self urlGet: potentialUrl ]
+
+ doWhileTrue: [
+
+ ((pageDataStream notNil and: [ pageDataStream size > 0 ])
+ ifTrue: [ pageDataStream contents includesSubString: 'Please slow down a bit' ]) ifFalse: [ pageDataStream reset. ^ potentialUrl ].
+ (Delay forSeconds: 2) wait.
+ ].
+
- pageDataStream := self urlGet: potentialUrl.
- (pageDataStream notNil and: [ pageDataStream size > 0 ]) ifTrue: [ ^potentialUrl ]
].
^nil
!
Item was changed:
Object subclass: #Installer
instanceVariableNames: 'sm wsm mc ma url root command markers project package bug desc answers packages messagesToSuppress pageDataStream date universe afile sake'
+ classVariableNames: 'WebSearchPath SkipLoadingTests Fixes Sake Entities ValidationBlock InstallerBindings Remembered LastUniUpdate IsSetToTrapErrors'
- classVariableNames: 'WebSearchPath SkipLoadingTests Fixes ValidationBlock Entities InstallerBindings Sake Remembered LastUniUpdate IsSetToTrapErrors'
poolDictionaries: ''
category: 'Installer-Core'!
!Installer commentStamp: 'kph 12/19/2007 14:42' prior: 0!
Documentation now available at http://installer.pbwiki.com/Installer
!
More information about the Packages
mailing list