From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: [nongnu] main 385623dca6 2/2: * elpa-packages (notmuch): New package. Date: Wed, 21 Dec 2022 08:57:33 +0000 Message-ID: <87sfh9i16q.fsf@posteo.net> References: <167139941586.12438.1105626110857907494@vcs2.savannah.gnu.org> <20221218213656.56E0AC0061B@vcs2.savannah.gnu.org> <875ye51wc3.fsf@melete.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19878"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Sean Whitton , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 21 09:58:18 2022 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 1p7uvZ-0004wK-5M for ged-emacs-devel@m.gmane-mx.org; Wed, 21 Dec 2022 09:58:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7uuy-0005hz-Ns; Wed, 21 Dec 2022 03:57:40 -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 1p7uut-0005g6-QA for emacs-devel@gnu.org; Wed, 21 Dec 2022 03:57:35 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7uur-0007h6-NT for emacs-devel@gnu.org; Wed, 21 Dec 2022 03:57:35 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 69815240105 for ; Wed, 21 Dec 2022 09:57:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1671613051; bh=bd+oRDMdhEsmLGAL/ADIlxG45zWz2PPPVuiWlMntlPY=; h=From:To:Cc:Subject:Date:From; b=jkgDtAC1almu/h4ioM3y81TT+n8QyYHXbrUpd46lLoc3qRiHudv1VZuhx7Am2DJRL x10eDSUGxQ3kgHUJpQG/flZ8mvOaUTqr7SSLt1YLWzAZaJ24NDK0GmwKcwHI+uVFFM BQEEpx1MMc8oC9ShcZVN7x7kzjnx2u9s+D8fEWc1VoLan0GBC2nRldAZxOxXknjDyE pfZfothbydzl8xPpdx/rXGA96tuP7mXzdRRZiV69Cnxd67y0bKBJ3XBBGgm/lg236l O9GiIErQ8WozuLsFU7ra5+OS2C7hidfhsQsf32W4kM6laXhD870KNid7HsVWeqBQ1D 1OGuopzou6k0g== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NcS4m3Vgjz9rxQ; Wed, 21 Dec 2022 09:57:28 +0100 (CET) In-Reply-To: (Stefan Monnier's message of "Wed, 21 Dec 2022 00:01:58 -0500") Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301734 Archived-At: Stefan Monnier writes: > While I hope Git grows support for "partial clones" (or more likely is > superseded by something else which does support such things), the > current situation is that you just can't do that. Which means > `elpa-diffs` will be spammed with irrelevant commit to the non-Emacs > part of Notmuch, for example, and `package-vc` will still have to > download the 10MB of Notmuch's repository just to get at the relevant > 0.5MB. Do you know if this is being worked on? Does it even fit into Git's internal model? (This might be too hacking, but I recently found out that GitHub supports checking out repositories using Subversion. I guess they use some bridge to translate the requests. I don't know if it is possible to make use of this and a second SVN->Git bridge to check out partial repositories as SVN does) > The closest we can get, AFAIK, is to run an interposer repository which > fetches from https://git.notmuchmail.org/git/notmuch and filters the > `emacs` subtree into a new branch, and then add *that* branch to > `elpa-packages`. Of course, that creates a whole parallel history, so > it may end up biting us down the line, but I think given the current > situation it'd the "least wrong" way to do it (The Right Way being if > they do that split upstream and then use the new branch as the official > upstream). This was discussed back when I wanted to add a few modes developed in mono-repos (erlang was one example, cmake is another). I had managed to make this work using filter-branch IIRC, but we never set up a mirror. Perhaps we should tackle that again, even if the solution is suboptimal and host the filtered repositories on savannah.nongnu.org. I could set up a similar structure to nongnu.git and have each repository we are interested in mirrored on their own branches that nongnu.git:elpa-packages would target.