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: Wed, 27 Jan 2021 06:31:13 -0800 Message-ID: <867dny5u4u.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> <86o8he6y4k.fsf@stephe-leake.org> <8335yq4350.fsf@gnu.org> <86k0s26qqt.fsf@stephe-leake.org> <83sg6q2is5.fsf@gnu.org> <86wnw06cgo.fsf@stephe-leake.org> <83y2gg23qb.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="21142"; 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 Wed Jan 27 15:33:05 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 1l4lsU-0005GB-M4 for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Jan 2021 15:33:02 +0100 Original-Received: from localhost ([::1]:44896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4lsT-00048Q-Nn for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Jan 2021 09:33:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4lqw-0002yz-1x for emacs-devel@gnu.org; Wed, 27 Jan 2021 09:31:26 -0500 Original-Received: from gateway23.websitewelcome.com ([192.185.50.120]:29564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4lqt-0001iR-0A for emacs-devel@gnu.org; Wed, 27 Jan 2021 09:31:25 -0500 Original-Received: from cm13.websitewelcome.com (cm13.websitewelcome.com [100.42.49.6]) by gateway23.websitewelcome.com (Postfix) with ESMTP id C7141BAD4 for ; Wed, 27 Jan 2021 08:31:18 -0600 (CST) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with SMTP id 4lqnlp32poE4D4lqnlyJKa; Wed, 27 Jan 2021 08:31:18 -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=u1wmqewi7sBIZwt6HsqojHauL0OguWF23N2eua1Wk00=; b=I3L5b4utJD6IWWvUqX9+Ukt3F 7GjAFuAHHv/9JX6mBbuMTnNPe04+PIfAEGCS4T1E0k3TqLSoKNZFI2fpwDy8WVgULa92/aRoiLnrs 92QcZcTZsup3RktbQGRWuA8GJdqKcLFVRLJUEdu3ZDuELvzyWoYLNYunRnWjCIiJVrii0TEWiOvFl HmRoMnB5lPJEucA+enUuDjDjfVQhzLE6r2JoHwP+Rq/OBjIwmbXj09GtP9ONg1qZn9IJYx8huJfU+ Ga7rGdUXSNIloirqYaRtzemJMJfK95N5B+s7PtVjzvzlcKLjVmvGb+y0+2Sdfwb9xCUuqY9K+9CS6 ZBCcgYkGA==; Original-Received: from [76.77.182.20] (port=59335 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 1l4lqn-003VzD-EV; Wed, 27 Jan 2021 07:31:17 -0700 In-Reply-To: <83y2gg23qb.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 25 Jan 2021 21:53:00 +0200") 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: 1l4lqn-003VzD-EV X-Source-Sender: (Takver4) [76.77.182.20]:59335 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 7 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes Received-SPF: neutral client-ip=192.185.50.120; envelope-from=stephen_leake@stephe-leake.org; helo=gateway23.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:263499 Archived-At: Eli Zaretskii writes: >> From: Stephen Leake >> Cc: phillip.lord@russet.org.uk, emacs-devel@gnu.org >> Date: Mon, 25 Jan 2021 11:30:47 -0800 >> >> Doing 'git clone @git.savannah.gnu.org:/srv/git/emacs.git' >> results in disk space usage of around 300 MB in emacs/.git, and does not >> populate emacs/elpa. > > Where did emacs/elpa come from? I don't think we ever discussed such a > beast, and I don't understand what it is and what it will contain. emacs/elpa is the directory in the emacs directory tree where bundled elpa packages are kept. I agree this is confusing; I need to write up a new baseline description. >> Doing 'git clone @git.savannah.gnu.org:/srv/git/emacs.git >> --recurse-submodules' results in disk space usage of around 500 MB in >> emacs/.git, and populates emacs/elpa. >> >> If we implemented the suggestion to split the ELPA repository into one >> repository per bundled package, that extra 200 MB would be smaller. >> >> Is 200 MB acceptable? > > That's a the question I can answer, because I have no clear idea what > is included in those 200MB, and in particular how much of that is > ballast we don't need for the purposes of maintaining Emacs and > building its development versions. Some of it is ballast, yes; all of the ELPA packages that are not bundled with emacs. > Maybe if you explained why splitting ELPA into several repositories > would save some of that disk space, I could then try answering the > question. Gnu ELPA is currently a single repository with lots of branches, one branch per package. git submodule downloads the entire repository, even if you only want one branch. So one way to eliminate the ballast is to split Gnu ELPA into one repository per package; then git submodule will only download the repository for that package. Stefan's suggestion eliminates the ballast in a different way; by keeping the release branches of bundled packages in emacs.git, there is no ballast in the local emacs repository. >> I can see some reasons for the current git design; _all_ of the info needed >> to update the code for project foo is in foo/.git. Worktrees stretch >> that; allowing submodules to be worktree-like references to yet another >> repository somewhere else would probably break many things in git. > > I think we should first find a way to have a single worktree with all > the bundled packages that come from ELPA. How to have several > worktrees from that is something we should consider later. I don't think we can leave it until later; if we choose a design that explicitly prohibits worktrees, there is nothing that can be done later. -- -- Stephe