[Pkg] Installer: Installer-Core-kph.226.mcz

squeak-dev-noreply at lists.squeakfoundation.org squeak-dev-noreply at lists.squeakfoundation.org
Wed Oct 1 06:12:48 UTC 2008


Keith Hodges uploaded a new version of Installer-Core 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
   !

Item was added:
+ ----- Method: Installer>>bug:retrieve: (in category 'mantis') -----
+ bug: aBugNo retrieve: aFileName
+ 
+ 	 self setBug: aBugNo.
+ 	^ (self maStreamForFile: aFileName) contents!

Item was removed:
- ----- Method: Installer>>bug:retrieve: (in category 'mantis') -----
- bug: aBugNo retrieve: aFileName
- 
- 	 self setBug: aBugNo.
- 	^ (self maStreamForFile: aFileName) contents!



More information about the Packages mailing list