From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.devel Subject: Re: [nongnu] main 385623dca6 2/2: * elpa-packages (notmuch): New package. Date: Tue, 20 Dec 2022 22:42:19 -0700 Message-ID: <87h6xpz51g.fsf@melete.silentflame.com> 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="39587"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 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 06:43:19 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 1p7rsp-000A3G-Ug for ged-emacs-devel@m.gmane-mx.org; Wed, 21 Dec 2022 06:43:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7rs2-0001vi-PF; Wed, 21 Dec 2022 00:42:26 -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 1p7rs0-0001tw-Ok for emacs-devel@gnu.org; Wed, 21 Dec 2022 00:42:24 -0500 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7rrz-00021W-1V for emacs-devel@gnu.org; Wed, 21 Dec 2022 00:42:24 -0500 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 87C39320082A; Wed, 21 Dec 2022 00:42:20 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 21 Dec 2022 00:42:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1671601340; x=1671687740; bh=Ku W1xuTAwtDwvXZ73IUBu7OzVBEGWGNTcZJZVscoZwk=; b=mfAW34m0xLA0BMpF3Y zNF2LKFz2/0HzRIqjolwfAEKYKzkAdY4ZXP4hffGIltQg6GmDkFuKzkdQvAagtA1 kUe3EhY57i7bJzXDfqFAH0xNl8l7sFiAZwBRHPvH7tuElkfkjAJ5orSY00LZ1ZcK g61i5uAK1dydLBLyT04I0pFyxctq7HKARsL5ZO6NNidJeI1Gn/0HYHTyiYfEvIKc 0nQq4meejig1MZVMssXpBTvVr4FBMIMnR+kyVwDGXyyRfL6uOd2APKXnqoo4yLUC ybLQobGPw+C7i4EPeEo0nSAFi0+y+2lSNfkaaEAXLrQeZ/k+aeOeG9LEguf5eLoV edJA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1671601340; x=1671687740; bh=KuW1xuTAwtDwvXZ73IUBu7OzVBEG WGNTcZJZVscoZwk=; b=BqGvAMcrcTI33nSIJPYGYbF4aUKXatz3WxltBWqpy8oE a+wkA0iNRK5WGG418gjvDVEk4UBxdjyxmI81kQkyJqyLmjrdmVSrlf86pmNjB+J8 P1zMYp2kjqJxJVFZw2uHISTNW5jFCeMeueWGhMthkqxdWEI8x+AfxFnQNCDnIb+B yPQrhaEesunj2tmdtBAQrzhWLokFAx19GN3BNtucczcpCA8/BWws7JbP0eqDhUYA TFSSTEfnQvFFM+6EgKE5+8pX4IjvVpuriYXW71W91lEYWWpLRzkHA90FMLxyqqDF QBbAFERsuQzvtkOhl6EXEEr9HH0MvDwDXGbh8DmFIQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeejgdekiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufgjfhffkfgfgggtsehttddttddtredtnecuhfhrohhmpefuvggrnhcu hghhihhtthhonhcuoehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgeqne cuggftrfgrthhtvghrnhepfeejteekfedtgfegkedtvefgudegueeileefuddufffhgefg veeuvdeuffdvgeeknecuffhomhgrihhnpehnohhtmhhutghhmhgrihhlrdhorhhgnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshhpfihhihht thhonhesshhpfihhihhtthhonhdrnhgrmhgv X-ME-Proxy: Feedback-ID: i23c04076:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 21 Dec 2022 00:42:19 -0500 (EST) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id 307167EFBC7; Tue, 20 Dec 2022 22:42:19 -0700 (MST) In-Reply-To: (Stefan Monnier's message of "Wed, 21 Dec 2022 00:01:58 -0500") Received-SPF: pass client-ip=64.147.123.21; envelope-from=spwhitton@spwhitton.name; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-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:301730 Archived-At: Hello, On Wed 21 Dec 2022 at 12:01AM -05, Stefan Monnier wrote: >> Perhaps we could overcome this particular limitation in the scripts. >> How about adding :files or :include, or similar, where if that's >> present, then only files matching the globs listed are taken up, and >> everything else is ignored? > > The problem is not with the tarball, but with the Git side. (Non)GNU > ELPA is not just an archive of tarballs, but it's built around Git > repositories hosting the relevant code and its full history. > > 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. Couldn't we filter out mail to elpa-diffs where the diffs only touch files that aren't included using :files/:include? Your point about package-vc identifies a disadvantage of using upstream's history, to be sure, but I think it's outweighed by the value of distributing upstream's actual history (arguably it's part of the preferred form for modification for the code). > 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). Is it a hard requirement that the updates be automatic? Couldn't we just manually import the emacs/ subdirectory to the branch whenever upstream make a release? It doesn't happen every week, and it could be scripted. > "0.37" of what? Remember we're talking about `nongnu.git` which contains > *all* the NonGNU ELPA packages. So, upstream tags don't make much sense > there (and for that reason also they're not pulled from upstream). > >> isn't that okay? > > [ And hence: no, it's not okay, I'm afraid. ] Ah right, thank you. -- Sean Whitton