[PD] [PD-announce] a barrel of fun: deken v0.7.1

IOhannes m zmölnig zmoelnig at iem.at
Thu Mar 4 21:32:28 CET 2021


On 3/4/21 10:22 AM, Roman Haefeli wrote:
> When searching for multiple packages, the results are not listed
> alphabetically. For instance, the results for search term 'slip zexy'
> list zexy before slip.


actually, they never were sorted alphabetically.
or well, they were, but in reverse order (so Zexy sorted before Slip, 
which sorted before Else).

this was somewhat bogus: https://github.com/pure-data/deken/issues/230

however, as described (well: alluded) in the issue, i don't think that 
an alphabetical sort makes much sense anyhow.

since 0.7, deken therefore sorts libraries by their latest releases 
(actually the last upload date).
that's bsaed on the assumption that the newest packages are of more 
interest.

in the above example, else (last upload 2020-12-28) sorts before zexy 
(last upload 2020-05-29), which sorts before slip (last upload 2019-04-28)

there's a bug in 0.7.1, where the upload-date of a version of the 
package of a non-compatible architecture would affect the sorting of the 
compatible packages, but that is fixed in current development version.

> 
> I guess that is not an issue with the deken-plugin, but (probably) with
> the server. I mention it anyway.


actually, the sorting is done in the plugin.

gfmdsr
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210304/ba735d1c/attachment.sig>


More information about the Pd-list mailing list