From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] Add rubygems updater. Date: Tue, 5 Jan 2016 15:56:31 +0100 Message-ID: References: <56863869.6080501@uq.edu.au> <20160101092803.GA19934@thebird.nl> <5686609E.80309@uq.edu.au> <87fuyhgo5u.fsf@gnu.org> <568715B9.5060803@uq.edu.au> <87mvsnya6e.fsf@gnu.org> <5688703F.80707@uq.edu.au> <87y4c6vjty.fsf@gnu.org> <568BCBDB.1010308@uq.edu.au> 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]:33055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGT2R-0004vv-Ju for guix-devel@gnu.org; Tue, 05 Jan 2016 09:56:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGT2N-0003zt-Hc for guix-devel@gnu.org; Tue, 05 Jan 2016 09:56:43 -0500 In-Reply-To: <568BCBDB.1010308@uq.edu.au> 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: Ben Woodcroft Cc: "guix-devel@gnu.org" Ben Woodcroft writes: >>> We could even default this to the expected name of the library guesse= d >>> from the name of the package when #:import is not given. However, thi= s >>> would unfortunately break packages that have been written outside of >>> Guix, so I imagine you don't feel this is a good idea. >> We could choose the package name as a default value, but often that=E2= =80=99s >> not going to work, notably because of the =E2=80=9Cruby-=E2=80=9D pref= ix. >> >> WDYT? > Removing the "ruby-" from the package name sounds like a reasonable=20 > default, but won't work every time because some imports use underscores= =20 > where some use dashes e.g. "minitest-pretty_diff". For R packages we=E2=80=99re using something like this (properties `((upstream-name . "gridExtra"))) to hold the upstream name. The Guix package is called =E2=80=9Cr-gridext= ra=E2=80=9D. Maybe that=E2=80=99s acceptable for Ruby packages too? ~~ Ricardo