<div dir="ltr">Ok<div><br></div><div>Karl</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 6:39 PM, Chris Muller <span dir="ltr">&lt;<a href="mailto:ma.chris.m@gmail.com" target="_blank">ma.chris.m@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">&gt; Maybe it would be nice if the filters where off when opening the SqueakMap<br>
&gt; browser. With filters on it seems to be empty and not functioning.<br>
<br>
</span>No.  Just a gentle reminder, the best way to talk about SqueakMap and<br>
figure out how to improve it is to orient ourselves with the<br>
requirements:<br>
<br>
    <a href="http://wiki.squeak.org/squeak/6183" rel="noreferrer" target="_blank">http://wiki.squeak.org/squeak/6183</a><br>
<br>
Presenting everything in the list would violate requirement #4.<br>
Publishers who simply follow these publishing guidelines [1] are able<br>
to meet these requirements, and so what users see in the list is what<br>
WORKS.  If we show &quot;everything&quot; then we&#39;re hiding what works, and SM<br>
becomes useless again.<br>
<br>
Why do you say its an empty list?  I just checked Squeak 5.0 and there<br>
are at least 20 packages showing up in there..?<br>
<br>
IF nothing were to show up in the list when &quot;Safely-available&quot; filter<br>
(and nothing else) is checked, then that&#39;s on us as a community.  It<br>
simply means that we didn&#39;t care enough to take the 5 minutes<br>
necessary to recertify our packages for the latest Squeak.  It is what<br>
it is, but let&#39;s not fake out the &quot;truth&quot;.<br>
<br>
Thankfully, we DON&#39;T have a blank list in 5.0.  Thanks to those in the<br>
community who have gotten on board with the publishing guidelines we<br>
have packages on SM that actually WORK (if they were done right) and<br>
have single one of those requirements met.  Users are able to consume<br>
those packages with one click instead of being forced to come begging<br>
to the list for &quot;how to load it&quot;..<br>
<br>
We will get there!<br>
<br>
[1] -- SqueakMap Publishing Guidelines<br>
<a href="http://wiki.squeak.org/squeak/6182" rel="noreferrer" target="_blank">http://wiki.squeak.org/squeak/6182</a><br>
<br>
[2] -- How to designate existing SqueakMap packages for a new version of Squeak<br>
<a href="http://wiki.squeak.org/squeak/6180" rel="noreferrer" target="_blank">http://wiki.squeak.org/squeak/6180</a><br>
<div class="HOEnZb"><div class="h5"><br>
&gt; There is always warnings about package not being compatible when you try to<br>
&gt; load them anyway.<br>
&gt;<br>
&gt; Karl<br>
&gt;<br>
&gt; On Tue, Sep 15, 2015 at 10:04 PM, Chris Muller &lt;<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; After review and some thought, it has become clear to me that Dave&#39;s<br>
&gt;&gt; change is incorrect.  Please take a look at the SqueakMap filters and<br>
&gt;&gt; consider them from the context of the use-cases -- what users need to<br>
&gt;&gt; do with SqueakMap, and NOT from the context of a database that needs<br>
&gt;&gt; to produce generalized &quot;query results&quot; &lt;---- because it doesn&#39;t.<br>
&gt;&gt;<br>
&gt;&gt; &quot;Published&quot; are the ones which have software to install, while<br>
&gt;&gt; &quot;Auto-installable&quot; shows only packages that are installable from the<br>
&gt;&gt; &quot;Install&quot; menu selection within the image.  These two filters are<br>
&gt;&gt; useful together in a restricting fashion, not an inflating one, so<br>
&gt;&gt; that newbies can see what&#39;s ready to go.<br>
&gt;&gt;<br>
&gt;&gt; It was then that I also realized that Hannes&#39; combination was not a<br>
&gt;&gt; use-case either.  The use-cases we have are:  1) user wants to install<br>
&gt;&gt; software or, 2) user wants to see what they have already installed.<br>
&gt;&gt; Seeing a cumulative list of both installed and uninstalled satisfies<br>
&gt;&gt; neither use-case.<br>
&gt;&gt;<br>
&gt;&gt; Nevertheless you may once again &quot;Clear all filters&quot; (which was broken<br>
&gt;&gt; by Dave&#39;s commit) if you want to see everything.<br>
&gt;&gt;<br>
&gt;&gt; I still say SqueakMap catalog can and needs improvement, but we need<br>
&gt;&gt; to really consider our changes because its clear that Göran put a lot<br>
&gt;&gt; of thought into the usage of SqueakMap and its role in the community;<br>
&gt;&gt; so I think we can afford to be a bit more skeptical before thinking<br>
&gt;&gt; something like that was a bug in the first place and for nine years<br>
&gt;&gt; running..<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Sep 15, 2015 at 2:58 PM,  &lt;<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>&gt; wrote:<br>
&gt;&gt; &gt; Chris Muller uploaded a new version of SMLoader to project The Trunk:<br>
&gt;&gt; &gt; <a href="http://source.squeak.org/trunk/SMLoader-cmm.85.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/trunk/SMLoader-cmm.85.mcz</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; ==================== Summary ====================<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Name: SMLoader-cmm.85<br>
&gt;&gt; &gt; Author: cmm<br>
&gt;&gt; &gt; Time: 15 September 2015, 2:58:07.033 pm<br>
&gt;&gt; &gt; UUID: 21a75b8d-4a1b-49c8-8f82-fbbd74fae96b<br>
&gt;&gt; &gt; Ancestors: SMLoader-dtl.84<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Revert dtl.84, because it broke the Catalog filters.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; =============== Diff against SMLoader-dtl.84 ===============<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Item was changed:<br>
&gt;&gt; &gt;   ----- Method: SMLoaderPlus&gt;&gt;packageListCalculated (in category<br>
&gt;&gt; &gt; &#39;lists&#39;) -----<br>
&gt;&gt; &gt;   packageListCalculated<br>
&gt;&gt; &gt;         &quot;Return a list of the SMPackages that should be visible<br>
&gt;&gt; &gt;         by applying all the filters. Also filter based on the currently<br>
&gt;&gt; &gt;         selected category - if any.&quot;<br>
&gt;&gt; &gt;         ^ self packages select: [:p |<br>
&gt;&gt; &gt; +               filters allSatisfy: [:currFilter |<br>
&gt;&gt; &gt; -               filters anySatisfy: [:currFilter |<br>
&gt;&gt; &gt;                         currFilter isSymbol<br>
&gt;&gt; &gt;                                 ifTrue: [(self perform: currFilter)<br>
&gt;&gt; &gt; value: p]<br>
&gt;&gt; &gt;                                 ifFalse: [self package: p<br>
&gt;&gt; &gt; filteredByCategory: (map object: currFilter)]]]!<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>