|
From: | swedebugia |
Subject: | Re: [Feature idea] Adding wikidata, wikipedia & screenshot-url fields to package-recipes |
Date: | Fri, 2 Nov 2018 00:25:16 +0100 |
Hi Amirouche On 2018-11-01 14:37, Amirouche Boubekki
wrote:
Did you mean to correct my use of "object" here? Your are right about that. Scheme Syntax: define-record-type type (constructor fieldname …) predicate (fieldname accessor [modifier]) … I finally begin to understand all these words an Scheme-ways of doing things. Have I understood correctly that we have at least 1 nested record types in guix? E.g. the package record contains an origin record and a lot of other fields. Ok, I understand your point.The rationale for adding screenshot-url to the recipe is that this parsing of wikidata->en-WP->url-for-first-image for every package in our list is quite expensive. Better to do it once and perhaps update all the screenshot-urls once a year or so.I think the screenshot-url field will not be very helpful that can be fetched based on wikidata identifier. /Swedebugia |
[Prev in Thread] | Current Thread | [Next in Thread] |