From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "amano.kenji" Newsgroups: gmane.emacs.help Subject: Re: package-vc.el should not fetch all commits. Date: Tue, 05 Mar 2024 05:17:36 +0000 Message-ID: References: <4MaX8DWHJtqVVefdFcw4d0NbWWHGOR31FY0SDRpGk0O9hKn5J7CWuQzi8lsWx9YDdPhWoG-EfpK655MweVmsp2Lrl2IgydWCd0QAp9ntLlo=@proton.me> <8734taule1.fsf@posteo.net> <87o7bx3z0f.fsf@posteo.net> <877ciixd2e.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33040"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philip Kaludercic , help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 05 06:18:53 2024 Return-path: Envelope-to: geh-help-gnu-emacs@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 1rhNCX-0008NV-Jn for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 05 Mar 2024 06:18:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhNBp-0005Wu-DG; Tue, 05 Mar 2024 00:18:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhNBl-0005WR-Ak for help-gnu-emacs@gnu.org; Tue, 05 Mar 2024 00:18:06 -0500 Original-Received: from mail-4324.protonmail.ch ([185.70.43.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhNBg-0006e1-Ux for help-gnu-emacs@gnu.org; Tue, 05 Mar 2024 00:18:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1709615875; x=1709875075; bh=AnvkOe/Y8l7HTU/3ggD+2uqkZnv9wCTiXOFmZkuNoa4=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=fjn0N/tCAdUPin+GrTlZ5FyDvWIjAfuCSttQ1S938y9J0rpeHDb9Qa7UawhTPmwF8 Nxge4mFNyK2EKzUx89JRwXiAHUfCPNkaFLw0ZrSTZo27lGgdFethEaxN19H4QJTNd4 e5GU0u36F8tx1YGU/BzjPcuj0l+RQxhYclN2A+/utlTST5dSTdiz5XfYH0EJID+tDi JeX6JCe40MJF6FWQPCHjZAP5YJ3nKiy07VIvfx2foSqe4SwcszaGcBBet4lf9k+XPG UA94m3227brqn7+suwDw5EyIOtyQfGaj6PyMPExepGTPTBJYMM7n6qwOd3x6hAF6E3 jMvQUZC0e3fxw== In-Reply-To: Feedback-ID: 48725158:user:proton Received-SPF: pass client-ip=185.70.43.24; envelope-from=amano.kenji@proton.me; helo=mail-4324.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146042 Archived-At: I want emacs to update all (VCS) packages. If package management is outsourced, I can't update all packages with one e= macs command. On Monday, March 4th, 2024 at 4:30 PM, Stefan Monnier wrote: > > Right, but there is no inherent problem in supporting other workflows, > > as long as it is reasonably doable. E.g. we could add a user option > > that could influence the arguments passed to vc-git-clone, so that one > > can inject a --depth=3D1 argument, and restructure some of the package-= vc > > functionality to make it reusable for other intents (e.g. better > > isolating the "building" from the "installing"), so that other packages > > can make use of the logic that prepares manuals or resolves > > dependencies. But that should probable be discussed in a bug report, > > not here. >=20 >=20 > But when it comes to installing from arbitrary Git repositories, I think > a better path would be to provide commands that let `package.el` use > a local clone, so that users can `git clone` any which way they prefer, > and then just `M-x package-use-that-clone`. >=20 > It would provide total flexibility for the users without needing endless > options in our code to handle each and every possible detail. >=20 >=20 > Stefan