tim Rowledge uploaded a new version of Monticello to project The Trunk: http://source.squeak.org/trunk/Monticello-tpr.792.mcz
==================== Summary ====================
Name: Monticello-tpr.792 Author: tpr Time: 3 August 2023, 3:47:30.293976 pm UUID: c72a59e2-3e08-4ad1-8565-5f3665bcb7f3 Ancestors: Monticello-tpr.791
The prior change broke .mcm uploading (I didn't notice that the http repo was a subclass) so try fixing things the other way - catch the FileDoesNotExistException and see if things get better by adding '.mcz'. This helps with examining changes between packages but there is still the deeper problem of the package file name getting whacked as part of the MCRepositoryInspector>>#versionListMenu: process.
=============== Diff against Monticello-tpr.791 ===============
Item was changed: ----- Method: MCFileBasedRepository>>versionNamed: (in category 'versions') ----- versionNamed: aMCVersionName + "For FileBased repositories, aMCVersionName must have the appropriate extension!! Try to handle that " + | version | - "For FileBased repositories, aMCVersionName must have the appropriate extension!! :-(" - | version fileName | version := self cache at: aMCVersionName ifAbsent: + [[self loadVersionFromFileNamed: aMCVersionName ] - [[fileName := (aMCVersionName endsWith: '.mcz' ) - ifFalse:[aMCVersionName, '.mcz'] - ifTrue:[aMCVersionName]. - self loadVersionFromFileNamed: fileName ] on: FileDoesNotExistException , NotFound + do: + [:err| + "in some cases we try to load package versions where aMCVersionName does + not include the filename extension. Try again with the mcz extension; we + might need to be even cleverer?" + err return: (self loadVersionFromFileNamed: aMCVersionName, '.mcz')] ]. - do: [ : err | nil ] ]. self resizeCache: cache. (version notNil and: [ version isCacheable ]) ifTrue: [ cache at: aMCVersionName asMCVersionName put: version ]. ^ version!
packages@lists.squeakfoundation.org