From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: Re: Guix Wikidata module - next steps Date: Wed, 09 Jan 2019 07:15:23 +0100 Message-ID: <12B4BE10-6FB3-4839-BE10-6B6A1CC77B00@pretty.Easy.privacy> References: <0BD0CA1F-AF8F-4584-969E-5C9A2D78E768@pretty.Easy.privacy>; <87zhsbukni.fsf@gnu.org>; Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----WT2U00CA0FJZHKLDQC28QQC9FRLS57" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gh79Q-0004OO-QY for guix-devel@gnu.org; Wed, 09 Jan 2019 01:15:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gh79O-0004ld-Qu for guix-devel@gnu.org; Wed, 09 Jan 2019 01:15:40 -0500 In-Reply-To: <0BD0CA1F-AF8F-4584-969E-5C9A2D78E768@pretty.Easy.privacy>; <87zhsbukni.fsf@gnu.org>; List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?ISO-8859-1?Q?Ludovic_Court=E8s?= Cc: Guix-devel ------WT2U00CA0FJZHKLDQC28QQC9FRLS57 Content-Type: multipart/alternative; boundary="----JV8SRBXQ77S4DTELFTAQ1GNE1IZTHZ" Content-Transfer-Encoding: 7bit ------JV8SRBXQ77S4DTELFTAQ1GNE1IZTHZ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
"Ludovic Court=C3= =A8s" <ludo@gnu=2Eorg> skrev: (8 januari 2019 18:25:05 CET)
Hello!

Interesting work!

swedebugia &l= t;swedebugia@riseup=2Enet> skribis:

First thing to add is the procedures from guile-wikida= ta that enables us to get a label for a given Qid and the output of queries= like the one below=2E

The second thing to add is fold procedures t= o guess the right qid according to the upstream names of guix packages=2E
The third thing to add is an importer that helps us add qid to our p= ackages=2E

Here we have a decision to make=2E Should we add them a= s properties or extend our record with a field?
I=2Ee=2E
=2E=2E=2E=
(properties
`((wikidata =2E "qid"))
Or
=2E=2E=2E
(wik= idata "qid")

Does Wikidata store Common Platform Enumer= ation (CPE) names for
software? CPE is a attempts to provide standard n= ames for software
packages, primarily so that one can unambiguously refe= r to a software
package in a CVE=2E

If Wikidata supported CPE, th= at=E2=80=99d be nice because in Guix we already
store (sometimes=E2=80= =A6) =E2=80=98cpe-name=E2=80=99 properties so that things like =E2=80=98gui= x lint
-c cve=E2=80=99 know which package to look for in the CVE databas= e=2E

Ludo=E2=80=99=2E

= No, not yet for the packages I looked at=2E
I will try proposing it as this would be really nice as a package-id which= is really important when synchronizing=2E
--
Sent from my p=E2=89=A1p for Android=2E
------JV8SRBXQ77S4DTELFTAQ1GNE1IZTHZ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "Ludovic Court=C3=A8s" skrev: (8 januari 2019 18:25:05 CET= ) >Hello! > >Interesting work! > >swedebugia skribis: > >> First thing to add is the procedures from guile-wikidata that enables >us to get a label for a given Qid and the output of queries like the >one below=2E >> >> The second thing to add is fold procedures to guess the right qid >according to the upstream names of guix packages=2E >> >> The third thing to add is an importer that helps us add qid to our >packages=2E=20 >> >> Here we have a decision to make=2E Should we add them as properties or >extend our record with a field?=20 >> I=2Ee=2E >> =2E=2E=2E >> (properties >> `((wikidata =2E "qid")) >> Or >> =2E=2E=2E >> (wikidata "qid") > >Does Wikidata store Common Platform Enumeration (CPE) names for >software? CPE is a attempts to provide standard names for software >packages, primarily so that one can unambiguously refer to a software >package in a CVE=2E > >If Wikidata supported CPE, that=E2=80=99d be nice because in Guix we alre= ady >store (sometimes=E2=80=A6) =E2=80=98cpe-name=E2=80=99 properties so that = things like =E2=80=98guix lint >-c cve=E2=80=99 know which package to look for in the CVE database=2E > >Ludo=E2=80=99=2E No, not yet for the packages I looked at=2E I will try proposing it as this would be really nice as a package-id which= is really important when synchronizing=2E --=20 Sent from my p=E2=89=A1p for Android=2E ------JV8SRBXQ77S4DTELFTAQ1GNE1IZTHZ-- ------WT2U00CA0FJZHKLDQC28QQC9FRLS57 Content-Type: application/pgp-keys; name="pEpkey.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="pEpkey.asc"; size=3825 LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptUUlOQkZ3Y25XMEJFQURhNWti U0t0ZEd6ZzQ1SjZkQnRFS21lZFM2bEtEQkx1UmlNZTRTNHppTFVMaVV5RTlWCmVNeTA0TUUzbFN6 WHg4TlpSNjVxSzdENDRhVlRvV29iUlcxMEhGWi9YOWh5bFlrcnFzUk45cndieW5mOTFrcU0KcVI2 TkRxQjJKRHZTek9LRzM0U2dnTzVkVGh1RE1GdzNmT3Z1cGhtSnN5b2s3OGVYQlFqTkxyaXNvQnhT SEFyVgpzZjdIMlJIYlNmTmZaclMxaEtUUzRtbFBpNnJZS2ZFMUFvbm8wdUs5SnVVZHBTTyswODdV ejhRam5GVTE5c09BClJWTWtUTnpuZk12MHVzeUsxSzc5U2pjYzJjTzhkNDRUalJlTGkxcFlHMjBV OHhtQXBpRlJhRXhaOHlyR3c5RTkKYm9CcVo2TUZoNjhQWFNQa0ZjMWhTQ3BUV0xVZW1ZdEFrMkpE RHo4R1EwYWNRNU1aMlRJSzZJR0RCaEw4b0xCNwo2anZOMlBVYUN3VmFDYUNwS1JncU9Fd2dvdDBr MlFZRnZkODZUM0kwYVVNMDkzYVZ6aWdmUnYzaDlaMFhINytUCmZickhxalMrUlZTcjVKYytVeGox KzlqWEFQeEllVmRqMWpIOXE2ejJ2Z3UzSHRpaXlsQUp4SlFhUFFEZkhHQzEKNm9HODBwd3JoWWFj Q3JPT2QxUWhwZzhSOUlsaUQ4bU85WERTcHZoNGo2UFpXY1F6YWRYOFl5b3Z0UDNL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