From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christophe Poncy Newsgroups: gmane.emacs.devel,gmane.emacs.tangents,gmane.comp.gnu.guix.devel,gmane.org.wikimedia.wikidata Subject: Wikidata, Guix and the Free Software DIrectory [was: Re: [ELPA] New package: repology.el] Date: Fri, 8 Jan 2021 13:46:32 +0100 Message-ID: <126a1171-bf5a-3c34-92ad-795224d3a637@poncy.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18112"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 To: emacs-devel@gnu.org, emacs-tangents@gnu.org, directory-discuss@gnu.org, guix-devel@gnu.org, wikidata@lists.wikimedia.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 08 13:47:35 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kxrB0-0004YZ-0A for ged-emacs-devel@m.gmane-mx.org; Fri, 08 Jan 2021 13:47:34 +0100 Original-Received: from localhost ([::1]:41318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxrAz-0006Eu-12 for ged-emacs-devel@m.gmane-mx.org; Fri, 08 Jan 2021 07:47:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxrAH-0005Yo-1F; Fri, 08 Jan 2021 07:46:49 -0500 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:55323) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxrA9-0003ol-R9; Fri, 08 Jan 2021 07:46:48 -0500 X-Originating-IP: 78.216.49.77 Original-Received: from [192.168.0.10] (cah46-1-78-216-49-77.fbx.proxad.net [78.216.49.77]) (Authenticated sender: christophe@poncy.fr) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id C93A31C0012; Fri, 8 Jan 2021 12:46:33 +0000 (UTC) Autocrypt: addr=christophe@poncy.fr; keydata= mDMEXijgXBYJKwYBBAHaRw8BAQdA2QWER57MqwOt1a3qQeYudlxVLIQe+ANnzR+Lwz7SdzW0 JkNocmlzdG9waGUgUG9uY3kgPGNocmlzdG9waGVAcG9uY3kuZnI+iJYEExYIAD4WIQQ1Q2KF ZwFZarIrp6HdUc0KE6SgNAUCXijgXAIbAwUJCWYBgAULCQgHAgYVCgkICwIEFgIDAQIeAQIX gAAKCRDdUc0KE6SgNLUIAQDiwj8fpu/W6Dfi9xZnEIF/jKmbvZbLbo1AqNxTsxciWAD8CWEx 7gauS2jpFB29m/ZhmAkGyfM94rDbmdm5TSWTbw24OAReKOBcEgorBgEEAZdVAQUBAQdABHgW nhJwfYGiYpnGKGPbbOQGiKunnUNJg0mGdvTG1hwDAQgHiH4EGBYIACYWIQQ1Q2KFZwFZarIr p6HdUc0KE6SgNAUCXijgXAIbDAUJCWYBgAAKCRDdUc0KE6SgNFqLAP47P+foABtTzKsbzEDg fjjg/TicjFo+OfGgnft1snACbwD+IePbyvyizIG73VIkURhCkr+Z3MCKuIPB2BAVxlSy/Qg= In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=217.70.183.197; envelope-from=christophe@poncy.fr; helo=relay5-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:262740 gmane.emacs.tangents:516 gmane.comp.gnu.guix.devel:56969 gmane.org.wikimedia.wikidata:13558 Archived-At: On 1/7/21 2:49 PM, Richard Stallman wrote: > I see two ways we could possibly manage to use repology.org in the > Free World. > > * Find a way to distinguish free from nonfree packages. I see two > ideas One is to snarf the lists of free packages from Debian and > Parabola. Another is to see if free packages list a license that > shows they are free. You might have other ideas. > Repology data can easily be found on Wikidata [1] but I wonder if Repology can locate and merge their entries on Wikidata or if it was done manually. > > Does anyone have another idea? Repology is a software directory but we already have such tool with the Free Software Directory! [1][2] Wikidata can natively distinguish free from nonfree packages. So one way is to add all Guix variable names into Wikidata [3] and find a way to link the Wikidata properties with the FSD entries… Then Emacs can use the Mediawiki API to query the fetched data. Christophe [1] https://www.wikidata.org/wiki/Property:P6931 [2] https://www.wikidata.org/wiki/Property:P2537 [3] https://www.wikidata.org/wiki/Property:P6765