[Pkg] Installer: Installer-Core-kph.285.mcz
squeak-dev-noreply at lists.squeakfoundation.org
squeak-dev-noreply at lists.squeakfoundation.org
Wed Feb 11 20:16:34 UTC 2009
A new version of Installer-Core was added to project Installer:
http://www.squeaksource.com/Installer/Installer-Core-kph.285.mcz
==================== Summary ====================
Name: Installer-Core-kph.285
Author: kph
Time: 11 February 2009, 8:16:30 pm
UUID: 342312f4-e8f2-43fc-9acf-28c616b8da76
Ancestors: Installer-Core-kph.284
+ Installer fromUrl:
attempts to pick the correct Installer class for the url
=============== Diff against Installer-Core-kph.284 ===============
Item was changed:
----- Method: InstallerWeb class>>initialize (in category 'instanciation') -----
initialize
WebSearchPath := OrderedCollection
with: [ 'http://installer.pbwiki.com/*-', (Smalltalk version copy replaceAll: $. with: $:) ,'-', Utilities authorInitialsPerSe ,'?raw=bare' ]
+ with: [ 'http://installer.pbwiki.com/*-', (Smalltalk version copy replaceAll: $. with: $:) ]
+ with: [ 'http://installer.pbwiki.com/*-', (SystemVersion current majorMinorVersion replaceAll: $. with: $:) ]
+ with: 'http://installer.pbwiki.com/*'
- with: [ 'http://installer.pbwiki.com/*-', (Smalltalk version copy replaceAll: $. with: $:), '?raw=bare' ]
- with: [ 'http://installer.pbwiki.com/*-', (SystemVersion current majorMinorVersion replaceAll: $. with: $:) ,'?raw=bare' ]
- with: 'http://installer.pbwiki.com/*?raw=bare'
!
Item was added:
+ ----- Method: InstallerUrl>>latest (in category 'url') -----
+ latest
+ "for protocol compatability"!
Item was added:
+ ----- Method: Installer class>>fromUrl: (in category 'url') -----
+ fromUrl: aUrl
+
+ "try and pick an Installer appropriate for the Url"
+
+ | mci |
+
+ mci := Installer mc fromUrl: aUrl.
+
+ mci packages ifEmpty: [ ^ Installer url: aUrl ].
+
+ ^ mci!
More information about the Packages
mailing list