From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: Adding ELPA to Emacs core Date: Tue, 13 Mar 2018 17:00:56 +0000 Message-ID: <87y3ivc3lj.fsf@russet.org.uk> References: <87efks1642.fsf@russet.org.uk> <83lgezu57f.fsf@gnu.org> <87k1ujzmn3.fsf@russet.org.uk> <87tvtmqnh5.fsf@russet.org.uk> <87ina1ayud.fsf@Rainer.invalid> <87h8pl0zjs.fsf@russet.org.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1520962625 2276 195.159.176.226 (13 Mar 2018 17:37:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Mar 2018 17:37:05 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 13 18:37:01 2018 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 1evnrA-0000Sx-SU for ged-emacs-devel@m.gmane.org; Tue, 13 Mar 2018 18:37:00 +0100 Original-Received: from localhost ([::1]:41533 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evntD-000360-Ty for ged-emacs-devel@m.gmane.org; Tue, 13 Mar 2018 13:39:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evnIN-0005Q4-FR for emacs-devel@gnu.org; Tue, 13 Mar 2018 13:01:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evnIJ-0007es-Hw for emacs-devel@gnu.org; Tue, 13 Mar 2018 13:01:03 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:42737) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1evnIJ-0007ch-7e for emacs-devel@gnu.org; Tue, 13 Mar 2018 13:00:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=VfGhO3+vfapgPpuIzaaPD/d0DjrzeXU4SgRuyc+nHKc=; b=tIhnvR6qFOXb7DUgRzhWh8nPE j0N86+O1Aqg/DYFvfJu8bkYgEyguSmJwDnowHSQHSo3G+7cxfsgDKRHmGwMzaMnKAhOXQNakd0j5v 2dW/oDU2VHpKL9cwGBZxByMO9LBQ03QBM5fnMfM86mh2q8vxx3hQZEnH7i6XQEwUy6qyZWAEPRbFI W+BsuTvf2zMnKG/xNKBp6bwWZAETqxbrjhJ5iMPeM/pwXLIpanPg8y4l0/g8UROlP8neyIuFXaefz D/VQuSXSd3nXg6Zv59lYCA52SaSGuesvcn7q3RId6YA+pFt3DxI9+RvG8tZPy4fJKe2YQaL7jyyBZ 781xWLw5Q==; Original-Received: from cpc142652-benw12-2-0-cust953.16-2.cable.virginm.net ([82.21.43.186]:44956 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1evnIF-0012Oa-OA; Tue, 13 Mar 2018 17:00:55 +0000 In-Reply-To: (Stefan Monnier's message of "Mon, 12 Mar 2018 20:53:11 -0400") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 78.129.138.110 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:223700 Archived-At: Stefan Monnier writes: >> Of course, my current solution does allow use of tags instead of SHAs, >> since you can use anywhere a SHA is valid in git, you can use a tag. But >> I don't share your confidence that tags could be controlled on >> ELPA. There are multiple branches, and even on master the "current >> version" maps to multiple commits. So, you need "A-emacs-x.y.z" and >> "B-emacs.x.y.z" where A and B are package names. Putting this much >> semantics in a string goes against my better judgement, I think. > > FWIW, I tend to agree that SHAs will work at least as well as tags. > Also if you want reproducibility, you need SHAs rather than tags. > One issue with my branch so far is that the packages that I have copied into the build become built-in, and package.el doesn't see versions on ELPA as upgrades. I guess this brings us to a related and perhaps bigger problem. ELPA (the web end of the archive, rather than git) doesn't support multiple versions of packages. Say Emacs-27 bundles bob-3.1.el which is also in ELPA. Now bob-4.1.el is released which is an upgrade. So surely Emacs-27 should offer to update? But, then bob-5.1.el comes out along with Emacs-28 and bob-5.1.el does not support Emacs-27. Now Emacs-27 should no longer install bob-5.1.el. But surely, it should allow installation of bob-4.1.el. AFAICT, neither package.el, nor ELPA supports multiple versions with different Emacs dependencies. Phil