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: Mon, 25 Jan 2021 14:00:07 -0800 Message-ID: <86o8hc65js.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> <7d85c33d-5f9c-e4b4-c37a-121bee411465@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24317"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt) Cc: Eli Zaretskii , emacs-devel@gnu.org, phillip.lord@russet.org.uk To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 25 23:02:02 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 1l49vs-0006C2-Tl for ged-emacs-devel@m.gmane-mx.org; Mon, 25 Jan 2021 23:02:00 +0100 Original-Received: from localhost ([::1]:42170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l49vr-0005Ll-W4 for ged-emacs-devel@m.gmane-mx.org; Mon, 25 Jan 2021 17:02:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l49uC-0004kf-94 for emacs-devel@gnu.org; Mon, 25 Jan 2021 17:00:16 -0500 Original-Received: from gateway30.websitewelcome.com ([192.185.146.7]:26645) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l49uA-0006kb-D6 for emacs-devel@gnu.org; Mon, 25 Jan 2021 17:00:15 -0500 Original-Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway30.websitewelcome.com (Postfix) with ESMTP id B91C0925A for ; Mon, 25 Jan 2021 16:00:12 -0600 (CST) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with SMTP id 49u8laP9tsvw949u8lnGk2; Mon, 25 Jan 2021 16:00:12 -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=TlNMdauEgYocpQzmLiWe6qMZQKOKPBn46pW+lyDZ2Zg=; b=gpGYdyPj43LRXytebRfVRU9p5 AQ3oyDA2byaBAtDfZoK4syw3FHcLP2bfwjIGBkrSm88mCA4ena+B+DltMqfCdiDLXcSlEC2QH3zQ3 k4g42x7Ge35Krt5gicc6WATDB5i4hDtAXfrrP1HNtZEN+EeGlN1tzua57mfUT7FMaQuWCCUuGvYDJ voRUnxNZYOC2vrqoW0zet7TXX2NG2Ha2/8p044espUlkgBjBlf9gRx0gX078l28r6eRbl3VhJqilD l2GF3ZLu3iDv4tWJi8z6NOs/vI7ZU/OMgPZKfEkjlg93O24bRxN4KOXOIGJnhF1jdeGORJ0PpmPAt +F1/FhFgw==; Original-Received: from [76.77.182.20] (port=55525 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 1l49u8-000kGh-0M; Mon, 25 Jan 2021 15:00:12 -0700 In-Reply-To: <7d85c33d-5f9c-e4b4-c37a-121bee411465@yandex.ru> (Dmitry Gutov's message of "Sun, 24 Jan 2021 22:42:11 +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: 1l49u8-000kGh-0M X-Source-Sender: (Takver4) [76.77.182.20]:55525 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 4 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes Received-SPF: neutral client-ip=192.185.146.7; envelope-from=stephen_leake@stephe-leake.org; helo=gateway30.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_H4=0.001, RCVD_IN_MSPIKE_WL=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:263425 Archived-At: Dmitry Gutov writes: > On 24.01.2021 22:15, Eli Zaretskii wrote: >> IMO, people who are interested only in packages bundled with Emacs >> should not need to have ELPA on their local machines. Not even one >> checkout of ELPA should be needed. They should just need to clone the >> Emacs Git repository (modulo the submodules-related options), and >> that's all. Exactly like they do today: there's no need to clone ELPA >> to have a fully functional clone of the Emacs Git repository. > > Git allows one to check out one branch's contents, without the rest of > the repository. Just to be clear, "checkout" means retrieve from a local git repository into a directory tree; that is always a single branch. > So said people wouldn't need to download the whole of ELPA, if you > were worried about that. "clone" and "add submodule" download from the remote repository. "add submodule -b " specifies what branch to checkout, but still downloads the whole repository. Ah; "clone ... --single-branch --branch " allows downloading only that branch into the local repository. But you can't specify more than one branch, so that would be inconvenient for more than one bundled package. And "git add submodule" does not accept --single-branch. -- -- Stephe