<div dir="auto"><div>Find the ported basic Tonel I/O here:<div dir="auto"><a href="https://github.com/j4yk/tonel/tree/squeak">https://github.com/j4yk/tonel/tree/squeak</a><br></div><div dir="auto"><br></div><div dir="auto">You should also be able to use Tonel repositories in Squot. Without method timestamps of course...</div><div dir="auto"><br></div><div dir="auto">But at the moment you cannot load with Metacello. Last year the state was that it assumes all GitHub downloads to be in filetree format. I guess Pharo modified Metacello to address this, so maybe we can copy code from them back to Dale's Metacello repository?</div><div dir="auto"><br></div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Levente Uzonyi <<a href="mailto:leves@caesar.elte.hu">leves@caesar.elte.hu</a>> schrieb am Mo., 10. Feb. 2020, 22:35:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Christoph,<br>
<br>
On Mon, 10 Feb 2020, Thiede, Christoph wrote:<br>
<br>
> <br>
> Hello list,<br>
> <br>
> <br>
> not sure if this is possible at all or if I am making a stupid error: I always had assumed that FileTree is a kind of mediator between Smalltalk<br>
> code objects and file systems, so shouldn't it be possible to load code from a Pharo code structure (<a href="http://SomeClass.class.st" rel="noreferrer noreferrer" target="_blank">SomeClass.class.st</a> files) into a Squeak code<br>
> structure (SomeClass.class/someSelector.st) via Metacello?<br>
> <br>
> <br>
> Here is my concrete example: I would like to install NeoJSON in Squeak, which apparently was written for Pharo. So I did this (in a fresh image)<br>
> <br>
> <br>
> Metacello new<br>
>   repository: 'github://svenvc/NeoJSON/repository';<br>
>   baseline: 'NeoJSON';<br>
>   load.<br>
> <br>
> ... but unfortunately, this gives me a MetacelloPackageSpecResolutionError:<br>
> <br>
> <br>
> [IMAGE]<br>
> <br>
> <br>
> So this might be a general question: Did I misunderstood the mediator concept of FileTree or is there some specific error in either Metacello or<br>
> this repo's configuration?<br>
> <br>
> Some explanations would be highly welcome!<br>
<br>
NeoJSON is for Pharo. Pharo migrated to Tonel, so NeoJSON uses Tonel.<br>
AFAIK no one has written Tonel support for Squeak. But even if there were <br>
Tonel support, NeoJSON probably has incompatibilities with Squeak, so <br>
you'll have to port it.<br>
If you need to process JSON files, I suggest using the Json package.<br>
If you specifically need NeoJSON, you can either use an earlier commit <br>
of NeoJSON which is still in FileTree format, or just file out the code <br>
from a Pharo image.<br>
<br>
Levente<br>
<br>
> <br>
> <br>
> (PS: Not sure if I chose the right list for this question. If this should have gone to the Beginners list instead, please tell me and I will<br>
> resend.)<br>
> <br>
> <br>
> Best,<br>
> <br>
> Christoph<br>
> <br>
> <br>
><br>
</blockquote></div></div></div>