From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Source tarballs from PyPI versus tarballs from the individual project websites Date: Wed, 12 Oct 2016 22:15:53 +0200 Message-ID: <87h98hmih2.fsf@gnu.org> References: <87a8e9dbkn.fsf@dustycloud.org> <871szlpwht.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buPwY-0006wd-TC for guix-devel@gnu.org; Wed, 12 Oct 2016 16:16:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buPwT-0007Tt-OG for guix-devel@gnu.org; Wed, 12 Oct 2016 16:16:01 -0400 In-Reply-To: (Arun Isaac's message of "Wed, 12 Oct 2016 20:22:11 +0530") 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: Arun Isaac Cc: "guix-devel@gnu.org" Arun Isaac skribis: >>> One concern is, what about the tooling for telling us when updates to >>> packages are available? >> >> =E2=80=98guix refresh=E2=80=99 works for PyPI but not for arbitrary site= s. > > Why not let 'guix refresh' use PyPI to detect package updates, and then > let somebody manually find the equivalent upstream tarball URI and put > it in the package definition? The problem is that the PyPI =E2=80=9Cupdater=E2=80=9D that =E2=80=98guix r= efresh=E2=80=99 uses needs to be able to determine that a package is a =E2=80=9CPyPI package=E2=80=9D, wh= ich is what the =E2=80=98pypi-package?=E2=80=99 predicate in (guix import pypi) does. = If a package uses a URL other than pypi.python.org, that predicate returns false. Ludo=E2=80=99.