From: swedebugia <swedebugia@riseup.net>
To: guix-devel@gnu.org
Subject: [Feature idea] Adding wikidata, wikipedia & screenshot-url fields to package-recipes
Date: Thu, 1 Nov 2018 10:44:19 +0100 [thread overview]
Message-ID: <a0541da7-0cf2-6921-c018-ba391ed2362c@riseup.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 2715 bytes --]
Hi
I am a contributor to OSM and have seen how combining OSM and
Wikidata/Wikipedia (WP) has been very useful.
I got the idea of adding Wikidata-entries to guix package objecs would
be fruitful because:
It makes it possible to a more useful list of packages e.g. by showing
links to WP entries for the program in the users local language. (E.g.
by firing up a browser from emacs or the shell, or by populating a (per
channel) html package list (with screenshots, local WP-links, etc.) and
firing up a throw-away web-server instance serving this with e.g. /guix
package --list-available-packages-html)/
It would also perhaps be of benefit to WP-contributors because we could
easily make statistics for how many of the packages in guix a
Wikidata-entry and/or WP-entry exists. Thus perhaps leading to creating
of more articles for notable packages or improving WP-articles with
outdated release information.
*Implementation:*
It could be implemented by adding the fields to package-objects.
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.
The rationale for adding WP (list of Wikipeidas with an article in the
wikidata entry, e.g. ("en" "sv" "es") to the recipe is that this parsing
of wikidata->WP for every package in our list is quite expensive. Better
to do it once and perhaps update once a year or so.
Also to help us to associate new and existing packages with
wikidata-entries we could devise a guile-programmed way to associate
wikidata-entries to existing package objects and perhaps use this to
populate new package-recipes created with /guix import/
Guix would then be the first package manager to both be completely free
of proprietary software and to leverage knowledge from Wikidata and WP.
What do you think?
/Cheers/
Swedebugia
PS: we could further improve our recipes by adding fields like "release
date" either via guix import from upstream or by populating from WP.
This would make it easy for WP-contributors to track when new releases
happen and perhaps with a script automatically update WP-articles based
on our recipes when we have newer information.
PPS: Perhaps over time it will even be feasible for WP to use our
synopsis/descriptions somehow. This would enable us to integrate
descriptions and translations for programs. E.g. a WP-contributor sees
that an article in spanish for program x does not yet exist in es.WP but
a translated synopsis and description already exists in Guix.
[-- Attachment #2: Type: text/html, Size: 3265 bytes --]
next reply other threads:[~2018-11-01 9:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-01 9:44 swedebugia [this message]
2018-11-01 10:21 ` [Feature idea] Adding wikidata, wikipedia & screenshot-url fields to package-recipes 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
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a0541da7-0cf2-6921-c018-ba391ed2362c@riseup.net \
--to=swedebugia@riseup.net \
--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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).