From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: 'package-name-version' and 'strip-store-file-name' does the same thing with different ways Date: Tue, 16 Oct 2018 03:26:14 +0800 Message-ID: <875zy3j9k9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gC8Vz-0001uM-19 for guix-devel@gnu.org; Mon, 15 Oct 2018 15:26:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gC8Vs-0005Ce-Bc for guix-devel@gnu.org; Mon, 15 Oct 2018 15:26:51 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:46080) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gC8Vr-0005AA-Cr for guix-devel@gnu.org; Mon, 15 Oct 2018 15:26:47 -0400 Received: by mail-pl1-x635.google.com with SMTP id v5-v6so9764877plz.13 for ; Mon, 15 Oct 2018 12:26:45 -0700 (PDT) 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: guix-devel@gnu.org --=-=-= Content-Type: text/plain Hi guix, Currently, I am attempting to create clojure-build-system. In the process of doing so, I discover 2 procedures with different names actually does the same thing with different ways. The 2 procedures are 'package-name-version' and 'strip-store-file-name'. 'strip-store-file-name' is defined in (guix build utils), while 'package-name-version' is defined in (guix build haskell-build-system) and (guix java-utils). I think we should remove the ones not defined in (guix build utils) and provide 'package-name-version' as alias for 'strip-store-file-name' in (guix build utils). What do you think? Cheers, Alex --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSof2ZdXkE0FM5aU4XzrkvbI+zaGwUCW8Tp1gAKCRDzrkvbI+za Gy31AQDsHqQkLu70GlHNpcB00Dt8WUh+Ohdfmj14vMbCsuvsXgEAmkNSHGU3ND5s R4E2YJbQ7RtM3QJQVnbqOWAFEAzDWQU= =sBxs -----END PGP SIGNATURE----- --=-=-=--