From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] feature/integrated-elpa 4f6df43 15/23: README added Date: Fri, 30 Sep 2016 16:33:23 +0300 Message-ID: <83intdms0s.fsf@gnu.org> References: <20160916203414.25203.87032@vcs.savannah.gnu.org> <87vaxsjmvu.fsf@russet.org.uk> <878tunj2wr.fsf@russet.org.uk> <874m582ixv.fsf@russet.org.uk> <871t0apsxm.fsf@russet.org.uk> <87shsm7hi6.fsf@russet.org.uk> <83a8eucwi2.fsf@gnu.org> <878tudgwlq.fsf@russet.org.uk> <8360pgoyo4.fsf@gnu.org> <87d1jn3ws9.fsf@russet.org.uk> <83a8eqoi08.fsf@gnu.org> <87d1jlacsh.fsf@russet.org.uk> <83shshmvjv.fsf@gnu.org> <87zimp7d02.fsf@russet.org.uk> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1475242727 25266 195.159.176.226 (30 Sep 2016 13:38:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Sep 2016 13:38:47 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: phillip.lord@russet.org.uk (Phillip Lord) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 30 15:38:42 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpy1S-0005wB-1y for ged-emacs-devel@m.gmane.org; Fri, 30 Sep 2016 15:38:42 +0200 Original-Received: from localhost ([::1]:44584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpy1Q-0004BX-Dy for ged-emacs-devel@m.gmane.org; Fri, 30 Sep 2016 09:38:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpxwd-0001AU-3c for emacs-devel@gnu.org; Fri, 30 Sep 2016 09:33:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpxwZ-0002aT-Vc for emacs-devel@gnu.org; Fri, 30 Sep 2016 09:33:43 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpxwZ-0002aM-Sl; Fri, 30 Sep 2016 09:33:39 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4454 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bpxwW-0003VP-UC; Fri, 30 Sep 2016 09:33:39 -0400 In-reply-to: <87zimp7d02.fsf@russet.org.uk> (phillip.lord@russet.org.uk) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:207923 Archived-At: > From: phillip.lord@russet.org.uk (Phillip Lord) > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > Date: Fri, 30 Sep 2016 14:06:53 +0100 > > > My suggestion is none of the above. We should instead try to arrange > > things so that when a Emacs is built from the repository, the build > > process updates any packages from ELPA that need to be updated, as > > part of the build. And when an Emacs release tarball is tarred, each > > package has its files put/updated in the corresponding directory under > > lisp/. If we succeed doing this, there will be no difference between > > packages in the Emacs repository and in ELPA, as far as building and > > releasing Emacs is concerned. > > > > Can we try doing that? > > We could do, but then it means that packages will use two different file > organisations; one for when they are in package.el format, and one where > they are not. Aside from being more work for the build, I think this > will be fragile. Just as a simple example consider this file layout: > > package/foo/foo.el > package/foo/test/simple-test.el > > package/bar/bar.el > package/bar/test/simple-test.el > > where does simple-test.el go? These two files should be renamed to foo-simple-tests.el and bar-simple-tests.el. More generally, ELPA packages that are distributed as part of the Emacs tarball will have to use our naming conventions, and those include test files. Right? > Emacs currrently has two systems for building packages -- one in core, > one in package.el format. Adding support package.el format in core means > that package developers only have to support one of these. What do you mean by "system for building packages"? AFAIK, we don't build packages in core, we just byte-compile them and extract autoloads from them.