From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: package-vc.el should not fetch all commits. Date: Mon, 04 Mar 2024 11:30:34 -0500 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 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17108"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: "amano.kenji" , help-gnu-emacs@gnu.org To: Philip Kaludercic Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 04 17:31:48 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 1rhBEA-0004Fo-K5 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 04 Mar 2024 17:31:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhBD7-0002yJ-NP; Mon, 04 Mar 2024 11:30:41 -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 1rhBD6-0002xr-8x for help-gnu-emacs@gnu.org; Mon, 04 Mar 2024 11:30:40 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhBD4-0003GJ-GY for help-gnu-emacs@gnu.org; Mon, 04 Mar 2024 11:30:39 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id F36FC44497D; Mon, 4 Mar 2024 11:30:36 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1709569835; bh=lQ1BmId1Fok1qisYvxFkU3kcE7HmEyGqSOywmJMcjUY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=mantR1bW5KiT22hV44ya0q/xWbJpdTH2soYq0nDyqkjcTmR82VZe9v62ZN2UrEg+m 1jmfuFZC0mgR1ldmVxFzUgHPKz2zWHkPlNZKjNMMRqWTHyPxW0VWRn/WrSCWV3og7V hrJUStkTgroJ2WdYPNJRUDv0297O/SEompeQflsenq3HlRP+FdCaNCZECb+yx8Vg+q qz3o4ULifruoWilEvIwErSWec99KVSId3LxwhC6FMQx1TiVuC8BSa6hRd5NGybldCp Ct0wrTTCAwbF0p1GoVGBofZKFTSR0tzI4lIaR/jQb86BmXqhTk14pA5CX2uYYqnHaB ud/0LHBaMsNsw== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 99E91444991; Mon, 4 Mar 2024 11:30:35 -0500 (EST) Original-Received: from pastel (unknown [104.247.233.29]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 686BC12069F; Mon, 4 Mar 2024 11:30:35 -0500 (EST) In-Reply-To: <877ciixd2e.fsf@posteo.net> (Philip Kaludercic's message of "Mon, 04 Mar 2024 14:54:17 +0000") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=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:146040 Archived-At: > 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=1 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. 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`. It would provide total flexibility for the users without needing endless options in our code to handle each and every possible detail. Stefan