From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: policy discussion on bundling ELPA packages in the emacs tarball - take 2 Date: Fri, 29 Jan 2021 16:07:16 -0800 Message-ID: <86pn1n2sp7.fsf@stephe-leake.org> References: <86tuqz35f1.fsf@stephe-leake.org> <874kizz6t0.fsf@russet.org.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22156"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt) Cc: emacs-devel To: Phillip Lord Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 30 01:07:59 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5dnz-0005gS-25 for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Jan 2021 01:07:59 +0100 Original-Received: from localhost ([::1]:60044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5dny-00079B-3a for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Jan 2021 19:07:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5dnR-0006iA-MK for emacs-devel@gnu.org; Fri, 29 Jan 2021 19:07:25 -0500 Original-Received: from gateway31.websitewelcome.com ([192.185.144.29]:20744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5dnP-0008F5-HD for emacs-devel@gnu.org; Fri, 29 Jan 2021 19:07:25 -0500 Original-Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway31.websitewelcome.com (Postfix) with ESMTP id A27F09E39 for ; Fri, 29 Jan 2021 18:07:21 -0600 (CST) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with SMTP id 5dnNl3XHAHPnU5dnNlfbKw; Fri, 29 Jan 2021 18:07:21 -0600 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stephe-leake.org; 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=9aojoxS8d9hKUmO4IDNSIVaFCe1p4EiC+RGlKN7jsDs=; b=fUuFEx0Gdu9s+xz2NLDxIRMtL 7XNoIMT8oIwhGfAQyij77Vt93OYtaQmOb5qTJEWkaRnN1V7yQJQ45+0w/zGdel2XpfD2mpJY/Klrn uTYBa0VSpBk/GZvRJRpJW9GaM8ac+bOob4LWZM8WvNFFRdl8+ebHbWao/B5iUMWeu+XK3ScLcbKgV iFBHLRMAil4n4jVoK69eYWynk2qe9JSPRcO0j8Dm3GRs3ff/StxTPCTDZCnEx4dgktsc45peYravB vNrrlbzpzNp4E++AollMKem1dT5DMnPxKmv4Evk8rNbgbccuElG362U+OfY4AmumV0xd32wbwo1JE K4u2Wk/eg==; Original-Received: from [76.77.182.20] (port=64739 helo=Takver4) by host2007.hostmonster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1l5dnM-004LuD-Un; Fri, 29 Jan 2021 17:07:21 -0700 In-Reply-To: <874kizz6t0.fsf@russet.org.uk> (Phillip Lord's message of "Fri, 29 Jan 2021 23:01:31 +0000") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2007.hostmonster.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stephe-leake.org X-BWhitelist: no X-Source-IP: 76.77.182.20 X-Source-L: No X-Exim-ID: 1l5dnM-004LuD-Un X-Source-Sender: (Takver4) [76.77.182.20]:64739 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 2 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes Received-SPF: neutral client-ip=192.185.144.29; envelope-from=stephen_leake@stephe-leake.org; helo=gateway31.websitewelcome.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_BL_SPAMCOP_NET=1.347, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:263592 Archived-At: Phillip Lord writes: > Stephen Leake writes: > >> Attached is an updated version of emacs/admin/notes/elpa, describing a >> proposal for bundling ELPA packages in the emacs distribution. >> >> I believe I have included all the recent discussions. >> >> I think I figured out a way to resolve the submodles vs worktrees >> dilemma; each emacs developer can choose. If they don't execute any >> submodule commands, they can use worktrees. > > That will be a significant help, actually. I presume that any build > would be missing bundled packages? I don't follow. If you mean "a build from an emacs directory tree", then it will have whatever the developer checked out into that tree. If they did "git clone --recurse-submodules", then the build will have the bundled packages. If they left --recurse-submodules off the clone, but later did either: git submodule update --reference . --init or: ./checkout_git_elpa_worktrees.sh then the build will have the bundled packages. The last option is indented for your Windows packaging workflow; it uses git worktrees instead of submodules. If they do neither of these options, the build will not have the bundled packages. > For me, this would not be a hassle because I'll just set it up so they > install from ELPA on first use. This is with your emacs user hat on, I guess. Yes, using a build from an emacs directory tree without bundled packages would require getting those packages via M-x list-packages (or equivalent). > It would still break my windows packaging scripts which use worktrees, It should not, as described above. -- -- Stephe