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 Date: Sun, 24 Jan 2021 09:30:35 -0800 Message-ID: <86o8he6y4k.fsf@stephe-leake.org> References: <86eeifawx8.fsf@stephe-leake.org> <87czxygdl9.fsf@russet.org.uk> <86tur88izp.fsf@stephe-leake.org> <86h7n880lo.fsf@stephe-leake.org> <83y2gk3rin.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16509"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt) Cc: emacs-devel@gnu.org, phillip.lord@russet.org.uk To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 24 18:32:39 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 1l3jFe-0004CG-Ld for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Jan 2021 18:32:38 +0100 Original-Received: from localhost ([::1]:33800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3jFd-0005bB-NK for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Jan 2021 12:32:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3jDs-0004zS-9l for emacs-devel@gnu.org; Sun, 24 Jan 2021 12:30:48 -0500 Original-Received: from gateway21.websitewelcome.com ([192.185.45.36]:44282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3jDq-0006Jn-3h for emacs-devel@gnu.org; Sun, 24 Jan 2021 12:30:47 -0500 Original-Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway21.websitewelcome.com (Postfix) with ESMTP id 0258C400CA1F4 for ; Sun, 24 Jan 2021 11:30:40 -0600 (CST) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with SMTP id 3jDjlAOuwsvw93jDjlNyya; Sun, 24 Jan 2021 11:30:39 -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: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:In-Reply-To:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Jj9X3UxJiRRl5Dzfxekkn1Nv9q41kMmpJ/1BrUUivoU=; b=AhFxk+0aV9YzyKyP3la9nhNsuu MxARsPqLB+0mi1jzrBX7Hl/0ffH4Pi5FTeizm3TmV5r1wUo5k73+vV8hfBMkFrpiMzUpn3LUblthi tTRkbcu6Fq6hipdsJypbKmwOGh6HTsHC7W4dODaVGxz6ZN57+11sGwKXfcANy2Xm/sebNhv6o03yC uCKCF2dx7E/O0LCQ5iAc2fVHf24qCws26QXc3m5bHye6M/tr7U03xF+imxUbLwxwO9tiSEET+k0UA Etp8czrosmoW9RaLByYv+h3jwdofWsdkVDyBIpjMdc6nvUzYyJM+81AY+NNcvPX4r68n7hfsF8wyc UDRStUgg==; Original-Received: from [76.77.182.20] (port=52221 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 1l3jDj-001tp9-9x; Sun, 24 Jan 2021 10:30:39 -0700 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: 1l3jDj-001tp9-9x X-Source-Sender: (Takver4) [76.77.182.20]:52221 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 3 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes Received-SPF: neutral client-ip=192.185.45.36; envelope-from=stephen_leake@stephe-leake.org; helo=gateway21.websitewelcome.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, 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:263345 Archived-At: Eli Zaretskii writes: >> From: Stephen Leake >> Date: Sat, 23 Jan 2021 01:27:15 -0800 >> Cc: emacs-devel >> >> Stephen Leake writes: >> >> > I'll have to test some stuff. If the submodules cannot be worktrees, >> > then I think we have to abandon this approach. Although maybe using >> > --depth=1 (or some small number) would be acceptable. >> >> I've played with 'git submodules' on Windows mingw64. You can pass a >> local ELPA repository to 'git submodules add', but it copies the whole >> thing into the emacs repository: > > It is quite clear that ELPA will need some changes on its side to > support this integration. One such change is to have branches that > roughly correspond to Emacs's 'master' and 'release' branches, because > we would want to have only the stable branches of the ELPA packages to > be visible on the Emacs's release branch. Yes. However, I don't see how that affects my point, which was that 'git add submodule' appears to copy the entire ELPA repository for each bundled package. This is on Windows, using mingw64 git. However, after doing more investigating, it seems git recogizes that the submodules are from the same repository, and uses hard links to avoid file duplication. The Windows File Explorer Properties dialog double-counts hard links, so it reports a bogus size (https://docs.microsoft.com/en-us/troubleshoot/windows-client/deployment/address-disk-space-issues-caused-by-winsxs). mingw64 'du' reports the correct size. We can live with one extra copy of the ELPA repository. -- -- Stephe