From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: [PATCH 3/5] build: Add 'emacs-build-system' Date: Thu, 9 Jul 2015 22:41:04 +0200 Message-ID: References: <87pp43j45o.fsf@gmail.com> <87oajlemsl.fsf@gmail.com> 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]:33348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDId1-0002C2-HS for guix-devel@gnu.org; Thu, 09 Jul 2015 16:41:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZDIcz-0005vJ-Go for guix-devel@gnu.org; Thu, 09 Jul 2015 16:41:07 -0400 Received: from mail-ie0-x229.google.com ([2607:f8b0:4001:c03::229]:35718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDIcz-0005v9-CP for guix-devel@gnu.org; Thu, 09 Jul 2015 16:41:05 -0400 Received: by iecuq6 with SMTP id uq6so184456378iec.2 for ; Thu, 09 Jul 2015 13:41:04 -0700 (PDT) In-Reply-To: <87oajlemsl.fsf@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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Kost Cc: Guix-devel On Thu, Jul 9, 2015 at 10:51 AM, Alex Kost wrote: > Federico Beffa (2015-07-08 23:22 +0300) wrote: > >> On Tue, Jul 7, 2015 at 6:58 PM, Alex Kost wrote: >>> A side note: I think generally it would be preferable to use an upstrea= m >>> release in the package recipe rather than to use a melpa(-stable) URL, >>> i.e.: >>> >>> http://foo-upstream.org/foo-0.1.tar.gz instead of >>> http://stable.melpa.org/packages/foo-0.1.tar >> >> I believe that such information is not available from ELPA archives. >> Therefore the ELPA importer has no way to do this. But, obviously, >> manual modification is possible. (By the way, the tar files are >> similar but not identical.) > > Surely, I didn't mean that it's a task for the elpa importer. I'm > totally for the manual modification to use an upstream release, not the > melpa(-stable) one. > > By "the tar files are similar" do you mean that MELPA usually leaves > only elisp files in the tarballs? I think since it's a common practice > to put elisp files in the root directory of the repo, we should add a > phase to the emacs build system to remove non-elisp files (like > .gitignore or README) from the final > /gnu/store/=E2=80=A6-foo-0.1/share/emacs/site-lisp/guix.d/foo-0.1/ direct= ory. One difference that I noticed in the tar files is that tar coming from elpa archives always include the .info file, while the upstream ones do not always do so. I've not investigated further differences. While often the READMEs are not very usefull, sometimes they are. Therefore I do not like the idea of removing them, nor anything else provided by the package. It's upstream who should decide what's relevant. With the use of 'guix.d' there will be no name clashes. Did you happen to see the following thread? https://lists.gnu.org/archive/html/guix-devel/2015-06/msg00392.html Fede