🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #1974

Re: [PATCH v5] move rust gitcore crate to a different subdirectory

#1974
From: Mike Hommey
Date: Fri, 30 Oct 2026 23:20
31 lines
8536 bytes
On Tue, Oct 27, 2026 at 03:57:02PM -0700, Junio C Hamano wrote:
> Mike Hommey <mh@glandium.org> writes:
> 
> > Having `Cargo.toml` at the top-level of the repository implies that one
> > can run `cargo build` directly, but this doesn't produce anything useful
> > on its own.
> >
> > Additionally, when including the git source as a submodule of a Rust
> > project, it prevents the git source from being included at all in the
> > crate package because cargo skips directories that contain a Cargo.toml,
> > assuming that everything in the directory is relevant to the crate.
> >
> > Move all Rust-specific files into a dedicated `rust/` subdirectory.
> >
> > Signed-off-by: Mike Hommey <mh@glandium.org>
> > ---
> 
> I was looking at discussions that are older than a month whose
> patches are not near 'next', and found this patch, which we haven't
> seen any comments or updates on the discussion thread.
> 
> It does not seem nobody, other than the original poster, for obvious
> reasons, was enthused by the topic, and given that the exchange on
> "what happens post Git 3.0?", I am not sure how badly we want to
> keep this topic.

I, obviously, am still interested. Selfishly, I'd rather avoid having to
maintain a fork just to move files around.

Mike
Technical Details
Message-ID: <4brq3bxkdq6ewviznwrg7uqgpp2j6xf2bladpmdrpaypcjp63t@lqfpwwagpbss>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-73971-linux-kernel-git=dewy.ru
References: <xmqq5x0df19l.fsf@gitster.g> <20260917060415.2986259-1-mh@glandium.org> <xmqqh5i6g3b5.fsf@gitster.g>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-73971-linux-kernel-git=dewy.ru
From: mh@glandium.org (Mike Hommey)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v5] move rust gitcore crate to a different subdirectory
Date: Sat, 31 Oct 2026 08:20:47 +0900
Organization: Usenet Network
Message-ID: <4brq3bxkdq6ewviznwrg7uqgpp2j6xf2bladpmdrpaypcjp63t@lqfpwwagpbss>
References: <xmqq5x0df19l.fsf@gitster.g>
 <20260917060415.2986259-1-mh@glandium.org>
 <xmqqh5i6g3b5.fsf@gitster.g>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="2333668"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:RlD5K6jetWjs2mkZTyF2BTqbdWs= sha256:/sY5v0FXD5G6NxUQJi0rPbOlN2R6++WXhympZ8oxLgE=
	sha1:Vlqf74tx4MjQyEaGB7qY9T8xbkg= sha256:cvrHjL1b8XBJ+B5CLSVQWLhd0tgzt5Rd1lnNTFGbHmA=
Content-Disposition: inline
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id B1D08125CAF; Sat, 31 Oct 2026 02:22:15 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.95
X-Spam-Status: No, score=-2.95 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id oJ3POIet06fO;
	Sat, 31 Oct 2026 02:22:13 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-73971-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=glandium.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id C6603125BBF; Sat, 31 Oct 2026 02:22:09 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id B4E972B54C; Fri, 30 Oct 2026 23:21:07 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail;
	t=1793402467;
	b=LvvhRq+ogHv89GWPDUyBuGhFMUu1UmpOFJy9sDUd51a9bfjLz6ngqK1Rfj/hqYeujNld
	 pH/abDnzAf1xUtOi6sKpx4nu9iVUL/LJifVdqruM60yzLh5Uh9Qn9vTEFhlDRbs4A4xhG
	 7AotgoomOdAHHoOD2ahB1+6HWQbN+YaCMXCeHzHX9+upXt4kX3QWf/B3PfDlbezvzoFCa
	 WE7TyIViBAhn7yxr/8fYJ+iBcLfchsgFaUcWoR+d++uf2vsv4+oCX9/x2wTohwx89voke
	 /qSV0VdNt2ebdv7uy/aLdi5tTKISpQUltFFvumjdHP1CMLpTvQaqPzg3B6SPb0VkGDQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793402467;
	h=X-Original-To:Received:DMARC-Filter:Received:Received:Date:From:To:
	 Cc:Subject:Message-ID:X-GPG-Fingerprint:References:X-Mailing-List:
	 List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe:
	 List-Owner:Precedence:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=AtV5ZO6cF3l12/dI/CtaaweBxeoygswlKwRaZF6Z14U=;
	b=2IJlOz3quKu/k2DBmgTc3fl3MtFOjd1isNZQh3DzfuA8xhqnZ+reOgZekLjJkeXzUBpI
	 3su61SU9vRa/yd5S64zoTGnN6RmCo4dkd3Ox3Al2VJ3S82hCddbLotytGPmcp9B0iP4GB
	 NVQj5eqZDu051iZAzEU0PnAIotUw1l2SZqmoewTZm3fBULUHK2LKSqEkr939ABiJ+30bY
	 3Gq7qZZwxo/9JpChs1q2OHlNVuF2ZMof6qVVEs/J5x0FGL42CLjEw/4FJNZsmdjc/iAk0
	 dtdbitIQROLkHBvJZy91H9ENAjvRBpdBrVYyIJUd525pYpiV8Mf/r6g/QJZQWJD1JUg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=none header.from=glandium.org;
	spf=pass smtp.mailfrom=glandium.org;
	arc=fail smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F3E7606A321;
	Fri, 30 Oct 2026 23:21:07 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=178.255.151.162
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793402467;
	b=1Iw0/B9MNrk9r9gNJK4ZdgD5veWnKnPEuMJTu2PObG1vUeXkReHZMBu1T7OSilda9bQy
	 NSe537sf0EC0CQqPp/Xh0tCg32NRjSFh8DpiLZ9V31clNJZGhD6ZAXrA5OmIqNOGuO9t+
	 V1G8l4qq9Il/X4ul6TY3JoNkkGhXJYGzl8rXXXSDNhHUB5aAlMfuQvkuLZiU9Op9Uoe8a
	 sh9x5dZJPlEOkRmsXRhGN0eMLCpiD+zm/fc+YLTcDI1DwC9BNcwmcLLWsdlbJUNMKll9w
	 vBm89swgAR/Ns7X8x47K2EsaRSEXAOb799wfYaqV94tsAVDYj/nthakY8tKl9jGNLCw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793402467;
	h=DMARC-Filter:Received:Received:Date:From:To:Cc:Subject:Message-ID:
	 X-GPG-Fingerprint:References:MIME-Version:Content-Type:
	 Content-Disposition:In-Reply-To:X-Spam-Status;
	bh=AtV5ZO6cF3l12/dI/CtaaweBxeoygswlKwRaZF6Z14U=;
	b=v70hP/Jt4O10iraNIIGL+8Vuy04rPVa2te9VsvCMdAOelQB8kBrUvOo2DWaMq9QCuBKP
	 QSfmASqYkQH+D7KPK1wIRhL075jb8Am+naI7GyReLGS6UTL62GU5m+T8SsUFD3TA6Mvyu
	 nk1+jsjXsjsTKV+ceaTCj/uhk915H+sWJGgvWjnVnV7Zuqn2vEzxuQRVYJdYXIC0lwRKe
	 /pAtdqBue0NGGdmY764X7djPQxZWL9xErPm7cI0MvimJJDBKuo5Q/YO4JAdqje4ivK86Q
	 L0j7nfxobiVUKzDD7PpOV6n5Dl4m/mOA8yA6Dc7qJ2ogNslj5jvAY04lwnzlEeJv/Zw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=glandium.org;
	spf=pass smtp.mailfrom=glandium.org;
	arc=none smtp.remote-ip=178.255.151.162
X-Received: from vuizook.err.no (vuizook.err.no [178.255.151.162])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA496606A31A
	for <git@vger.kernel.org>; Fri, 30 Oct 2026 23:21:04 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org AA496606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glandium.org
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=glandium.org
X-Received: from h120-138-187-157.user.starcat.ne.jp ([120.138.187.157] helo=glandium.org)
	by vuizook.err.no with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
	(Exim 4.98.2)
	(envelope-from <mh@glandium.org>)
	id 1xMvu2-00000009bg9-2cVO;
	Fri, 30 Oct 2026 23:20:55 +0000
X-Received: from glandium by goemon with local (Exim 4.98.2)
	(envelope-from <mh@glandium.org>)
	id 1xMvtv-0000000448w-333t;
	Sat, 31 Oct 2026 08:20:47 +0900
X-Cc: git@vger.kernel.org, ps@pks.im, sandals@crustytoothpaste.net
X-GPG-Fingerprint: 182E 161D 1130 B9FC CD7D  B167 E42A A04F A6AA 8C72
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <xmqqh5i6g3b5.fsf@gitster.g>