From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: Adding packages to ELPA Date: Sun, 21 Sep 2014 10:05:48 -0500 Message-ID: <85ppepdneb.fsf@stephe-leake.org> References: <87wq97i78i.fsf@earlgrey.lan> <87sijqxzr2.fsf@newcastle.ac.uk> <877g11c8wh.fsf@gmx.us> <83fvfo15z7.fsf@gnu.org> <8361gj20h7.fsf@gnu.org> <83zjdvzmd5.fsf@gnu.org> <83tx43zfep.fsf@gnu.org> <85egv6ff4k.fsf@stephe-leake.org> <838ulez2ez.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1411311989 23933 80.91.229.3 (21 Sep 2014 15:06:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Sep 2014 15:06:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 21 17:06:22 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XViiR-0007ay-BB for ged-emacs-devel@m.gmane.org; Sun, 21 Sep 2014 17:06:19 +0200 Original-Received: from localhost ([::1]:39762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XViiQ-0001yv-UF for ged-emacs-devel@m.gmane.org; Sun, 21 Sep 2014 11:06:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVii9-0001yb-Np for emacs-devel@gnu.org; Sun, 21 Sep 2014 11:06:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVii4-0001ns-AZ for emacs-devel@gnu.org; Sun, 21 Sep 2014 11:06:01 -0400 Original-Received: from dnvrco-outbound-snat.email.rr.com ([107.14.73.226]:17452 helo=dnvrco-oedge-vip.email.rr.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVii4-0001ne-67 for emacs-devel@gnu.org; Sun, 21 Sep 2014 11:05:56 -0400 Original-Received: from [70.94.38.149] ([70.94.38.149:58855] helo=TAKVER) by dnvrco-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 0E/D6-08316-D49EE145; Sun, 21 Sep 2014 15:05:50 +0000 In-Reply-To: <838ulez2ez.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 20 Sep 2014 19:23:32 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) X-RR-Connecting-IP: 107.14.64.130:25 X-Authority-Analysis: v=2.1 cv=ReIeCjdv c=1 sm=1 tr=0 a=AppmJ/7ZOOFWL/q6u6u93g==:117 a=AppmJ/7ZOOFWL/q6u6u93g==:17 a=ayC55rCoAAAA:8 a=9XSUBuVRJI8A:10 a=LBlZr-Nq7rYA:10 a=o_R75loqY_IA:10 a=9i_RQKNPAAAA:8 a=mDV3o1hIAAAA:8 a=5R5ZEhAoO04c053Gu_AA:9 a=ii61gXl28gQA:10 a=FMD1XRJ_Ct4A:10 X-Cloudmark-Score: 0 X-detected-operating-system: by eggs.gnu.org: BaiduSpider X-Received-From: 107.14.73.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174606 Archived-At: Eli Zaretskii writes: >> From: Stephen Leake >> Date: Sat, 20 Sep 2014 11:09:15 -0500 >> >> > No, I mean that a package that is part of Emacs can be used to create >> > a separate tarball disregarding the rest of Emacs. After all, once >> > you checkout the repo, they are just file in a certain directory. >> >> How would the typical Emacs/ELPA user use that "separate tarball"? >> >> Currently, to release a new version of Ada mode, I just update the elpa >> repository, incrementing the version in ada-mode.el header. >> >> Then users will see the new version when they next do 'list-packages', >> and can install from there. >> >> What would that process look like if I followed your approach? > > The same. If you are saying that list-packages currently doesn't > support the Emacs repo, we should modify it so it does. It's just > another repo, after all, there's nothing magic about it. I see. list-packages gets the core Emacs packages from the installed directory on my disk; that's from the Emacs release I installed. It gets ELPA packages (and others) from the web, as specified in `package-archives'. I suppose it would be possible to add the Emacs git (or bzr) repository to package-archives; it's not there by default. However, that would be problematic when core Emacs packages are changed to reflect other core changes that are not in the current Emacs release; users of that package would have to be careful to not upgrade. That _might_ be handled by the dependency mechanism; the new version of the core package should depend on the new version of Emacs, which list-packages should know is not available. There is a similar problem with ELPA packages, of course; but it is easier to provide backwards portability solutions there (these are usually discouraged in the Emacs trunk, which I think is a good policy). So it comes down to how closely coupled the package is to the Emacs core; if the coupling is loose, an ELPA package makes more sense. -- -- Stephe