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: Mon, 12 Mar 2018 21:11:35 +0000 Message-ID: <87h8pl0zjs.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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1520888989 16744 195.159.176.226 (12 Mar 2018 21:09:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Mar 2018 21:09:49 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) Cc: emacs-devel@gnu.org To: Achim Gratz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 12 22:09:45 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 1evUhU-0004AH-3V for ged-emacs-devel@m.gmane.org; Mon, 12 Mar 2018 22:09:44 +0100 Original-Received: from localhost ([::1]:34700 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evUjW-00017Q-Mm for ged-emacs-devel@m.gmane.org; Mon, 12 Mar 2018 17:11:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evUjQ-00017H-Cm for emacs-devel@gnu.org; Mon, 12 Mar 2018 17:11:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evUjN-00043Y-7b for emacs-devel@gnu.org; Mon, 12 Mar 2018 17:11:44 -0400 Original-Received: from [78.129.138.231] (port=39399 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 1evUjM-000432-Ux for emacs-devel@gnu.org; Mon, 12 Mar 2018 17:11:41 -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=LgnII1E4rPXPAocpaAP4EuSNxm09TC2hOjW2+suAbC4=; b=UtUmKE+qnk0x1Isu1v2VGFXAP XynyvEUoWDGnFmbSYfq88LIRuOizWvLHAxjyqrMUVu04hZaBnUS4mbLWb60bzxlDa10RkE/0sgK65 8GGxCvBG3Iqr+FPzGCGO0CecpM+4wqKimxWjp0bHXkINoGvkgiJitLys1pGbJGjTOPMxb692Xwjbs RW3hoEs3a3kccriCrH3jlw6nE6KUce5bxFniHYRRWmJVy2MYc32adn1iIscfn8wVR7J9It/SlycD1 20eJ0XA2t786SMM7u52Tc7jpLyp86ZfmZyD/oQNT+g6/MwSdgVkBulfuwbxG8H9iY3jR0Mjotc0kc 8qaXsd6dg==; Original-Received: from cpc142652-benw12-2-0-cust953.16-2.cable.virginm.net ([82.21.43.186]:41116 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 1evUjL-003sDT-J7; Mon, 12 Mar 2018 21:11:39 +0000 In-Reply-To: <87ina1ayud.fsf@Rainer.invalid> (Achim Gratz's message of "Mon, 12 Mar 2018 20:16:42 +0100") 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:223660 Archived-At: Achim Gratz writes: > Phillip Lord writes: >> 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. > > Well, if you replace those SHA you were previously talking about with > tags, then the required hackery gets significantly reduced. And no, I > don't think that EMACS needs to be able to reference any SHA directly > since ELPA is well enough under control to be able to place tags where > you need them, maybe even of the form emacs-x.y.z or similar so it > becomes clear which of these are in use where. Naming the tags > explicitly to indicate Emacs' use of them would certainly help any > maintainer who would want to backport important patches to a branch that > older Emacsen can use. Yeah, I thought about that. But tags are just aliases for SHAs so I am unconvinced this reduces the hackery that would come if we were to move VCS. So, for example, we move to nugit (the new VCS I am not working on). git tags would have to be translated to nugit tags. But, if we could do this, we could just put git SHAs onto nugit as a nugit tag; or we could edit Emacs git history so that git SHAs become nugit identifiers. 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. Phil