<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-03-10 8:51 GMT+01:00 Sven Van Caekenberghe <span dir="ltr"><<a href="mailto:sven@stfx.eu" target="_blank">sven@stfx.eu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><br>
> On 10 Mar 2017, at 00:21, Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@<wbr>gmail.com</a>> wrote:<br>
><br>
> Grrr, even the mailing list changes, the first match in gmail just bounces, ;)<br>
><br>
> ---------- Forwarded message ----------<br>
> From: Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@<wbr>gmail.com</a>><br>
> Date: 2017-03-10 0:05 GMT+01:00<br>
> Subject: Where are the Metacello ConfigurationOfYourProject supposed to be?<br>
> To: Pharo Development <<a href="mailto:Pharo-project@lists.gforge.inria.fr">Pharo-project@lists.gforge.<wbr>inria.fr</a>>, The general-purpose Squeak developers list <<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.<wbr>squeakfoundation.org</a>><br>
><br>
><br>
> Hi,<br>
> I must come back to one of the balkanization and lack of stability that most upset me.<br>
><br>
> Imagine that you are developping a cross dialect library, say for Squeak/Pharo and why not Gemstone.<br>
><br>
> Imagine that this library has a few dependencies to some other libraries, either Core like Alien/FFI or more exotic third party also available in other dialects.<br>
><br>
> The question are:<br>
> -1) where are you supposed to maintain your own ConfigurationOf*?<br>
<br>
</span>Just next to your original source code. It is your config and you maintain it.<br>
<span class="gmail-"><br></span></blockquote><div><br>Yes, I generally maintain the ConfigurationOf* in my own repo along with the other packages,<br></div><div>and I copy the ConfigurationOf* to some centralized place (<a href="http://www.squeaksource.com/MetacelloRepository" target="_blank">http://www.squeaksource.com/<wbr>MetacelloRepository</a>)<br></div><div>It's like registering the application i nSqueakMap/CPAN/PyPI/etc...<br><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">
> -2) where are you supposed to find the ConfigurationOf* dependencies?<br>
<br>
</span>Anywhere ;-)<br>
 <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The config refers to its home repo. That is the one you should use in your dependency.<br></blockquote><div><br>OK, that's not particularly robust if source code repository is moving<br>(i.e. on squeaksource, then ss3, then smalltalkhub, then github via filetree, then ...)<br></div><div><br><div>A centralized Configuration provides a level of resilience.</div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
The different repos Pharo uses are for classification purposes.<br>
<br>
That is how I understand it anyway.<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br></div></div></blockquote><div><br></div>No. The Pharos repos exist because we NEED something like a catalog (SqueakMap/CPAN/PyPI/whatever).<br></div><div class="gmail_quote">Otherwise, ConfigurationOf* scattered around the web are not discoverable.<br><br></div><div class="gmail_quote">The fact that there are as many repos as pharo versions is because there is no such easy thing as filtering the ConfigurationOf* matching target version without loading them all...</div><div class="gmail_quote"><div> <br></div><div>Thanks Sven for answering.<br></div><div>BTW, why do you continue to put copies in <a href="http://www.squeaksource.com/MetacelloRepository" rel="noreferrer" target="_blank">http://www.squeaksource.com/<wbr>MetacelloRepository</a><br><br></div><div>Nicolas<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5">
> Once upon a time, the answer would have been<br>
> <a href="http://www.squeaksource.com/MetacelloRepository" rel="noreferrer" target="_blank">http://www.squeaksource.com/<wbr>MetacelloRepository</a><br>
><br>
> But now, what is it? I see surprisingly few updates here (apart from Sven and a few others).<br>
><br>
> How can the Metacello feature of supporting cross-dialect work if the dialect specific configuration of dependencies are scattered all around the web?<br>
><br>
> Do the CPAN or PyPI have to change their URL each time a new release of perl or python is released?<br>
><br>
> Careless decisions in this area can easily sabotage the cross-dialect initiative.<br>
><br>
> Maybe I'm ranting by ignorance.<br>
> I wish your answers will reassure me.<br>
><br>
> Nicolas<br>
><br>
<br>
<br>
</div></div></blockquote></div><br></div></div>