From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 87EA3158041 for ; Tue, 20 Feb 2024 06:16:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19383E2B44; Tue, 20 Feb 2024 06:16:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B9C66E2B2D for ; Tue, 20 Feb 2024 06:16:14 +0000 (UTC) Message-ID: Subject: Re: [gentoo-dev] Re: [PATCH] check-reqs.eclass: more disk checks From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Tue, 20 Feb 2024 07:16:09 +0100 In-Reply-To: References: <20240219220832.25919-1-robbat2@gentoo.org> Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-F1Mc8ap5jsrdPcxof2qK" User-Agent: Evolution 3.50.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 X-Archives-Salt: 3e633587-65a1-4d30-999e-4683694c6925 X-Archives-Hash: 6d5214e9ce5910ed4adb307a1f2beaf5 --=-F1Mc8ap5jsrdPcxof2qK Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2024-02-19 at 22:14 +0000, Robin H. Johnson wrote: > On Mon, Feb 19, 2024 at 02:08:32PM -0800, Robin H. Johnson wrote: > > Allow checking more disk space, for users with many split volumes and > > ever-larger packages. > >=20 > > gentoo-kernel-bin: > > / >=3D350MB/version (in /lib/modules) > > /boot >=3D40MB/version > >=20 > > rust-bin: > > /opt >=3D450MB/version > Meta: > Is this the time where we should rethink the CHECKREQS syntax? >=20 > CHECKREQS_DISK=3D"/:2G /opt/random:1G /usr:1G" etc? > If we need to support paths with space, newline or array here. >=20 Precisely what I wanted to say. Instead of adding more variables, let's add an array and mark the existing vars as legacy. CHECKREQ_DISK=3D( /opt:... /usr:... ) However, Andrew's comment poses a bigger problem here. --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-F1Mc8ap5jsrdPcxof2qK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQFGBAABCgAwFiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAmXUQ6kSHG1nb3JueUBn ZW50b28ub3JnAAoJEGOa2uIyniQOO0AH/11MPHGADY14LFLUrZ6GK0mhGQfO1JhG XZf7olx3ueEQlV7fkwIyNf5Jsjp69vrQX5I/+wUWQOCcVCXJKdFr3vuKzkFmrayL Bdvv4rLs7fRc/ehzm98A4fjVV1lQWqPYlMqHuYGK5KOCTU8NRcl6YeLTKUzsPvDc WmV5kpAeXGlNEfwQLKfUPEsiEMe7rr2y0bRs2AkLpLFbpqmozr29cvffa5+Y4y2Q Zga6G7xTKhR/bdJHve282Pe5M3uj0uf5jJol7Qb84ZAkJy5zvRVtK2MOsIgpwlC4 Zf8Q5f3aSLID2/FCa1sNVZMtJQDXkjn5pOg+DB6fVG9UKi6UwT61G5o= =WjLx -----END PGP SIGNATURE----- --=-F1Mc8ap5jsrdPcxof2qK--