From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Woodcroft Subject: Re: pypi URL change Date: Mon, 25 Apr 2016 11:44:39 +1000 Message-ID: <571D7687.8080404@gmail.com> References: <571C754A.1050506@gmail.com> <571D4811.4050300@gmail.com> <571D54EC.2030000@gmail.com> <571D612E.7000802@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auVZy-0003rX-4h for guix-devel@gnu.org; Sun, 24 Apr 2016 21:44:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auVZu-0007lS-Vc for guix-devel@gnu.org; Sun, 24 Apr 2016 21:44:50 -0400 Received: from mail-pf0-x230.google.com ([2607:f8b0:400e:c00::230]:33475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auVZu-0007lO-OW for guix-devel@gnu.org; Sun, 24 Apr 2016 21:44:46 -0400 Received: by mail-pf0-x230.google.com with SMTP id 206so11237401pfu.0 for ; Sun, 24 Apr 2016 18:44:46 -0700 (PDT) In-Reply-To: <571D612E.7000802@gmail.com> 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: Cyril Roelandt , Ben Woodcroft , guix-devel@gnu.org On 25/04/16 10:13, Cyril Roelandt wrote: > On 04/25/2016 01:21 AM, Ben Woodcroft wrote: >> 2) The new URLs are even uglier than the old one and a working pypi-uri >> would hide them from our eyes. > Yeah but it is my understanding that the new pattern will only be > applied to new releases, so how will pypi-uri know what pattern to apply? Good point. How about making a new function, perhaps pypi-url/hash or similar? Import/refresh will know what to do. Or, add an :#format flag to pypi-url which defaults to the new style, and we patch all the current python packages. ben