From: swedebugia <swedebugia@riseup.net>
To: Amirouche Boubekki <amirouche.boubekki@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [Feature idea] Adding wikidata, wikipedia & screenshot-url fields to package-recipes
Date: Fri, 2 Nov 2018 00:25:16 +0100 [thread overview]
Message-ID: <8745311c-0b40-a590-41dc-3c2b84d24faf@riseup.net> (raw)
In-Reply-To: <CAL7_Mo9AoSWR2kFmNUMPkmacKnJzc2zHT9fbungV38ysqU9VNA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]
Hi Amirouche
On 2018-11-01 14:37, Amirouche Boubekki wrote:
>
>> Implementation:
>>
>> It could be implemented by adding the fields to package-objects.
> nitpick, those are records in guile scheme.
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.
>> 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.
Ok, I understand your point.
/Swedebugia
[-- Attachment #2: Type: text/html, Size: 1955 bytes --]
next prev parent reply other threads:[~2018-11-01 23:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-01 9:44 [Feature idea] Adding wikidata, wikipedia & screenshot-url fields to package-recipes swedebugia
2018-11-01 10:21 ` Pjotr Prins
2018-11-01 22:33 ` swedebugia
2018-11-02 7:24 ` Pjotr Prins
2018-11-02 11:37 ` swedebugia
2018-11-02 15:37 ` Pjotr Prins
2018-11-01 13:37 ` Amirouche Boubekki
2018-11-01 23:25 ` swedebugia [this message]
2018-11-03 7:53 ` Catonano
2018-11-01 15:00 ` Tobias Geerinckx-Rice
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8745311c-0b40-a590-41dc-3c2b84d24faf@riseup.net \
--to=swedebugia@riseup.net \
--cc=amirouche.boubekki@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.