From nobody Tue Jun 10 23:15:32 2025 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bH4QZ4ZCzz5yDmS for ; Tue, 10 Jun 2025 23:15:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bH4QZ3PjZz3G63 for ; Tue, 10 Jun 2025 23:15:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749597334; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yKgAGg9BuaOlkUAx8iFAk/4IvUBaRh0kTVkFK8CzkJc=; b=qz9G3u1DMkqcq9mQuXW3JGRY5XTgA++MUEEwh9yKLzJxaQiTFsNBibTV4SIqf7StMIcBd2 TFLi0LQEP1lHqMLm3P2bp9bgWJuZudwqB8LX1oV53oAuScGnJnHA51kLKGy12K/z+B7wjg kDEenO/7NitAeplPQfi89jxl1OBZ5N0GBHNXbIMNO4DwYzLv5WLIazAZGnkpQ0Si0GhSsE zGZarUJgvIcTfvHmPyJuW5mibFtUrb5YutYIlBDbQxOXQoum/6a19KJieOL80fJv6oVX2Q UFnd+sb3vs6676eUjphpJQuCiVQd+FlXgFIdxlTEdbz4XZ3Y3AAWneujA7hDFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749597334; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yKgAGg9BuaOlkUAx8iFAk/4IvUBaRh0kTVkFK8CzkJc=; b=yBz36UWXYLG2VL5LEezpPBFQa4CIncvugHxb/LIfyt3q1Q6hWYaiSTiyPsOShfYR3jKrEr jzRsqpVxSmVM6JVNT5/Rg10arZJAuAvdn7ADqWD62h6uEnaJDZG8WZVhWdo0Hqt0slnckD skiCuSX69ooUdPeDvqi/Px+WoeAbkEbhqApYqLj59TsUuDI59rus7MjQk5EntPgHN/86jr 8QxgE2w3tT16ZQLUQ54+SUJRo/lXFjy3mrC6D27M9uRH0/mNTgNfpfv1IsioQ7QmB29qgU xzDrIu+XrD/Y2MvP44KhXpXMSFfEJZjzmLqXF4mnHeaKTsanY3fwFGgWejsWUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1749597334; a=rsa-sha256; cv=none; b=WtXYLGaPFJFoPJ8YjGmK9xTaMh5izJFDHSEXCue1rgMgnj7id+sfN16pEMtSlWvo+Fh4vl Ctm1ZtGsZk+0efakhJgfYlimcougtH0KDJ4LtbvFMo8Ls39ZJgumJFTINUeLwj+zFdB8gg CbkNCf06w+w0B/rqvqltg/DAiL7S12qmRvR0QRd9pyeoTAu/v7sVkMY+HsNu2MqOAhDjsW 0UE5bpW/pAzzvlB+ddema5MZINT0tgCK3kmn3M8Xm4fKlMyuH4YCfWEwYN2Y6ORsk6UZgd oXavwe3FOJuto34HsbqPg6cYyOV/eiPkphuErqrZZV24f1JR4k1D8cpmZcwO/Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bH4QZ29Zvz12KF for ; Tue, 10 Jun 2025 23:15:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 55ANFYgX015566 for ; Tue, 10 Jun 2025 23:15:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 55ANFYgu015564 for pkg@FreeBSD.org; Tue, 10 Jun 2025 23:15:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 287437] ports-mgmt/pkg: "pkg help query" says nothing about flavors Date: Tue, 10 Jun 2025 23:15:32 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@FreeBSD.org MIME-Version: 1.0 Bugzilla Automation has asked freebsd-pkg (Nobody) for maintainer-feedback: Bug 287437: ports-mgmt/pkg: "pkg help query" says nothing about flavors https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D287437 --- Description --- (The attached patch is to be placed as is in the ports-mgmt/pkg/files directory.) "pkg help query" presently has no mention of package flavors and how to determine them Anyone using the example from near the end of the "pkg help query" page, "pkg query -e '%#r =3D 0' %o", to get a complete list of top l= evel packages to install on a system (let's say, when building a new system to replace an existing one) will be unpleasantly surprised to discover that "%= o" has no mention of the package flavor. This patch explains the difference between %o and %n and suggests using %n to get a list of packages that incl= udes flavors.