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: Sun, 11 Mar 2018 22:03:18 +0000 Message-ID: <87tvtmqnh5.fsf@russet.org.uk> References: <87efks1642.fsf@russet.org.uk> <83lgezu57f.fsf@gnu.org> <87k1ujzmn3.fsf@russet.org.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1520805697 21927 195.159.176.226 (11 Mar 2018 22:01:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Mar 2018 22:01:37 +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 Sun Mar 11 23:01:33 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 1ev923-0005Vu-C1 for ged-emacs-devel@m.gmane.org; Sun, 11 Mar 2018 23:01:31 +0100 Original-Received: from localhost ([::1]:55739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ev946-0004Mx-7e for ged-emacs-devel@m.gmane.org; Sun, 11 Mar 2018 18:03:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ev93t-0004KW-MK for emacs-devel@gnu.org; Sun, 11 Mar 2018 18:03:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ev93q-0000hn-Jy for emacs-devel@gnu.org; Sun, 11 Mar 2018 18:03:25 -0400 Original-Received: from [78.129.138.231] (port=59961 helo=cloud103.planethippo.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ev93q-0000h6-DU for emacs-devel@gnu.org; Sun, 11 Mar 2018 18:03:22 -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=Q5oEBcd4HcKzaYr+Hb6N97ZXBcEakiP9Oy8Us7sjFUQ=; b=Bt4FjzI10UPfJxpUT0BSCgqQh nQModF2zAbb3MHkAMMixNHOtzxhm9Nmvk+PfKhH3kH8TFZlrw7Md33rLT2hIKNt2qcWOvSctQg6QW 0gj9mwXwhL+2b7M4+WSlr5pAC+RlRZduelfK1jOc/S1wxWxdJC+mKvrYFqv9u6qzrB8sta8vjH1+1 7JuWhHKaUNWwNp+ebdVAfHonYEtVMcfHWA34Klc4txT4j1D62QttnVckoGSA9TxSUxMrJe2Uwy+0l 5X3xYokERSeQloKYFENtggAfSuqKf9uXKPWe1OsArPg7tO4EpwLRYZlOMCXjOsLNpVO6MDhxlL9na k+RLqJ9Fg==; Original-Received: from cpc142652-benw12-2-0-cust953.16-2.cable.virginm.net ([82.21.43.186]:42098 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 1ev93n-004DcD-JO; Sun, 11 Mar 2018 22:03:19 +0000 In-Reply-To: (Stefan Monnier's message of "Sat, 10 Mar 2018 22:56:37 -0500") 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.231 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:223628 Archived-At: Stefan Monnier writes: >> It would *only* be used during a development build. During a "normal" >> from source tarball, all the files would already been in place. > > Is there some way to "pin" a package to particular revision (on release > branches, we'll want to do that for all packages)? At the moment, it's the opposite. There isn't any way to unpin. Packages are pulled out by a specific SHA individual for each package. This is necessary because ELPA is a mixed economy: packages on branches will have a different SHA from HEAD on master; and on trunk, package releases are not co-ordinated, so each package needs to define it's own SHA. Personally, I think that this is correct and not just for release branches. Otherwise, the build would be far from repeatable, depending on the state of ELPA. Having a "ignore the make file and take HEAD" would be a nice option to have for running on a CI system. It would also be possible to support other repos beyond ELPA (i.e. org-mode has it's own git and we could take from there directly). Whether this is a good idea or not, I leave as an open question. One thing that does worry me is that it means Emacs source as references to ELPA git. If Emacs (or ELPA) ever needs to move VCS, it's going to require some significant hackery. Phil