[squeak-dev] The Inbox: Monticello-tobe.724.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Sun Jun 14 16:28:49 UTC 2020

Hi Tom,

I suggest subclassing MCHttpRepository to document the format of the GitHub release page. Then you could also fix those labels:

Am 14.06.2020 18:08:02 schrieb Beckmann, Tom <tom.beckmann at student.hpi.uni-potsdam.de>:
Hey Marcel,

ah relative URLs are actually the current default, absolute ones were not supported.

I abused a Github project of mine for testing purposes: by adding this URL to the Monticello Browser, you should be able to load the mcz I uploaded there: https://github.com/tom95/sandblocks/releases

From: Squeak-dev on behalf of Taeumel, Marcel
Sent: Sunday, June 14, 2020 5:31:34 PM
To: squeak-dev
Subject: Re: [squeak-dev] The Inbox: Monticello-tobe.724.mcz

Hi Tom,

can you give an example of such a GitHub release page with relative URLs?


Am 14.06.2020 17:27:35 schrieb Beckmann, Tom :

Hey everyone!

With this change, you can add a Github releases page that hosts a mcz file to your Monticello Browser and it will pick the versions up correctly. I have tested some regular repos that I found by default in my image and they still worked. Does anyone know if this change could pose problems in some other setup?

From: Squeak-dev on behalf of commits at source.squeak.org
Sent: Sunday, June 14, 2020 5:24:54 PM
To: squeak-dev at lists.squeakfoundation.org
Subject: [squeak-dev] The Inbox: Monticello-tobe.724.mcz

A new version of Monticello was added to project The Inbox:

==================== Summary ====================

Name: Monticello-tobe.724
Author: tobe
Time: 14 June 2020, 5:24:40.705825 pm
UUID: 2c269510-4a04-42a0-995a-d29adcc33fee
Ancestors: Monticello-mt.723

Allow mc http repositories to handle absolute paths

Monticello will collect all tags on the repository's webpage. It currently expects these to be relative to the URL of the website. Some third party sites that can host mcz files, however do not use relative, but absolute paths. An example of this are Github releases pages.

=============== Diff against Monticello-mt.723 ===============

Item was changed:
----- Method: MCHttpRepository>>urlForFileNamed: (in category 'accessing') -----
urlForFileNamed: aString
+ " if we have an absolute path, take the base of the location and append the full path "
+ aString first = $/ ifTrue: [^ (location first: (location indexOf: $/ startingAt: 'https:// ' size)), aString].
^ self locationWithTrailingSlash, aString encodeForHTTP!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200614/e15a5f10/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 24535 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200614/e15a5f10/attachment-0001.png>

More information about the Squeak-dev mailing list