From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: package updater: operate on package structs, not names? Date: Wed, 02 Dec 2015 10:00:03 +0200 Message-ID: <877fkx2scc.fsf@gnu.org> References: 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]:43515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a452e-0006ck-3s for guix-devel@gnu.org; Wed, 02 Dec 2015 05:53:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a452a-000324-SJ for guix-devel@gnu.org; Wed, 02 Dec 2015 05:53:44 -0500 In-Reply-To: (Ricardo Wurmus's message of "Tue, 1 Dec 2015 11:41:25 +0100") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: "guix-devel@gnu.org" Ricardo Wurmus skribis: > There are two ways to approach this: we change the Guix package names to > closely match those of the upstream packages, or we pass the complete > package structure to =E2=80=98latest-release=E2=80=99. The latter approa= ch would allow > the CRAN updater to extract the appropriate name from the tarball URI. This sounds like a good idea; I don=E2=80=99t think there are any good reas= ons for just passing the package name. Could you do that? If need be, some of the CRAN packages could have a special property: (package (name "r-foo") ;; =E2=80=A6 (properties `((upstream-name . "Fo0")))) Ludo=E2=80=99.