From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Ztf6B5p24z32MJ for ; Thu, 8 May 2025 17:20:34 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Ztf671y6nz2xVX for ; Thu, 8 May 2025 17:20:31 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Ztf661KXbz1yW; Thu, 8 May 2025 17:20:30 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1746724830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i3d11WeVJMg9ryWzXXBcNi91tAOUCA8+EIhGJu4+H1k=; b=NaymNIL4yHroQfK1xWsVjuK+UoonkdsSwxEZRdt2kZ4yDs1cMxSTakFwW9m+qfU6J3zeDY 2lRp4oP3qzhsnaAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1746724830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i3d11WeVJMg9ryWzXXBcNi91tAOUCA8+EIhGJu4+H1k=; b=JxwS8NNiCJpwg7dXJFd8Jf988NuUdWGYvcOjG2HAq4Qj4KbZxX5iadsoOLmx3in1CiDSIj FvXPYEj8+vebmVEw3RGhoQwquYWBpBiEMVRatZMhiF7C4hLtJGf1/6CBYZFQmfz54vV7bY ILsw/2XyO9QvX/sFkVfPfUTq61mnDa6TuIwIjd/rzWb10RJc4VZbwDosgLV7huu4W72PhB IgaXb5al7Symk0r1DCVGmzetdFj8MDfLjQBGkBKVrRMzFqIYzMGThkUVanqFQRnt2uD5Lb K+vpJuFxzJPN3G5CdEJPZYZyW7t+SZw6Elveys+kl+wrLY6OqXW5ejzD5klJDg== Content-Type: text/plain; charset=utf-8 Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: Mime-Version: 1.0 Subject: Re: [PATCH] functions.pl: Fix Bug13842 - Add resolvedeps to pakfire Usage:. From: Michael Tremer In-Reply-To: <96b287c8-3639-4638-94c0-5f7e4cf33d6a@firemypi.org> Date: Thu, 8 May 2025 18:20:29 +0100 Cc: "IPFire: Development-List" Content-Transfer-Encoding: quoted-printable Message-Id: References: <20250423023903.144393-1-stephen@firemypi.org> <96b287c8-3639-4638-94c0-5f7e4cf33d6a@firemypi.org> To: stephen@firemypi.org Hello Stephen, Yes, I am very happy with this change. It makes it very clear. Regarding the patch, what guidance do you need? -Michael > On 8 May 2025, at 17:49, stephen@firemypi.org wrote: >=20 > Hello, >=20 > I did some work on the Usage: text for pakfire to clean it up. Thanks = Jon for your input. The revision is below. >=20 > Should I submit this as a new patch or as one that overrides the = previous bugfix patch? If it's preferable to do an overriding patch, I = don't know how to do that so would need some guidance there. >=20 > Regards, > Stephen >=20 > [root@zone3 ~]# pakfire > Usage: pakfire COMMAND [OPTIONS] PACKAGE ... > Manage IPFire add-on packages and updates. > PACKAGE: > One or more add-on package names. > COMMAND: > install - install one or more packages > remove - remove one or more packages > update - update the pakfire database > upgrade - install latest version of all packages > list [installed | notinstalled | upgrade] > - display a list of installed, notinstalled, > upgradeable or all packages > info - display metadata for one or more packages > resolvedeps - display dependencies for one or more packages > status - display pakfire database status, > available updates and whether a reboot > is required to complete any upgrades > OPTIONS: > --no-colors - turn off colors > -y | --non-interactive - automatic yes to prompts > -f | --force - for the update command, force > a pakfire database update >=20 > [root@zone3 ~]# >=20 >=20 >=20 >=20 > On 4/24/25 16:46, Jon Murphy wrote: >> Sorry for the late suggestion! >>=20 >> I cleaned up the pakfire help a little. It removes some of the = leading spaces. >>=20 >>=20 >> ``` >> [root@ipfire ~] # pakfire >>=20 >> Usage: >> pakfire [option] =E2=80=A6 >>=20 >> pakfire provides a safe and easy way to install add-ons and = updates. >>=20 >> Commands: >> install [option] ... - install one or more packages >> remove [option] ... - uninstall one or more packages >> update - download new databases of = packages >> upgrade - install latest version of all = packages >> list [ --no-colors | installed | notinstalled | upgrade ] >> - provides a list with all, = installed, >> available, or upgradeable = packages >> info ... - provides package metadata for = one or >> more packages >> resolvedeps ... - provides a list of dependencies = for >> one or more packages >> status - summary of available core = upgrades, >> updates, and a required reboot >>=20 >> Options: >> -y | --non-interactive - enables the non-interactive = mode >> --no-colors - turns off colors >> ``` >>=20 >> Feel free to use or feel free to ignore this. It is a suggestion. >>=20 >> Jon >>=20 >>=20 >> ------ Original Message ------ >> =46rom "Stephen Cuka" >> To development@lists.ipfire.org >> Cc "Stephen Cuka" >> Date 4/22/2025 9:39:03=E2=80=AFPM >> Subject [PATCH] functions.pl: Fix Bug13842 - Add resolvedeps to = pakfire Usage:. >>=20 >>> - Add 'resolvedeps' command to pakfire 'Usage:'. >>>=20 >>> - Break long lines in 'Usage:' so that they don't wrap. >>>=20 >>> - Minor text and punctuation changes. >>>=20 >>> Signed-off-by: Stephen Cuka >>> --- >>> src/pakfire/lib/functions.pl | 12 ++++++++---- >>> 1 file changed, 8 insertions(+), 4 deletions(-) >>>=20 >>> diff --git a/src/pakfire/lib/functions.pl = b/src/pakfire/lib/functions.pl >>> index e623e8bc3..17b04ad52 100644 >>> --- a/src/pakfire/lib/functions.pl >>> +++ b/src/pakfire/lib/functions.pl >>> @@ -112,11 +112,15 @@ sub logger { >>>=20 >>> sub usage { >>> &Pakfire::message("Usage: pakfire [options] = "); >>> - &Pakfire::message(" - Contacts the servers = for new lists of paks."); >>> - &Pakfire::message(" - Installs the latest = version of all paks."); >>> - &Pakfire::message(" = [installed/notinstalled/upgrade] - Outputs a list with all, installed, = available or upgradeable paks."); >>> + &Pakfire::message(" - Contact the servers = for new lists of paks."); >>> + &Pakfire::message(" - Install the latest = version of all paks."); >>> + &Pakfire::message(" = [installed|notinstalled|upgrade] - Output a list"); >>> + &Pakfire::message(" of all, installed, available = or upgradeable paks."); >>> &Pakfire::message(" [ ...] - = Output pak metadata."); >>> - &Pakfire::message(" - Outputs a summary = about available core upgrades, updates and a required reboot"); >>> + &Pakfire::message(" [ ...] = - Resolve and output pak"); >>> + &Pakfire::message(" dependencies."); >>> + &Pakfire::message(" - Output a summary of = available core upgrades,"); >>> + &Pakfire::message(" updates and a required = reboot."); >>> &Pakfire::message(""); >>> &Pakfire::message(" Global options:"); >>> &Pakfire::message(" --non-interactive --> Enables = the non-interactive mode."); >>> --=20 >>> 2.43.0 >>>=20 >>>=20 >=20