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 4bH4Qb1q6Yz5yDhF for ; Tue, 10 Jun 2025 23:15:35 +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 4bH4QZ5CQ9z3G5W 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; bh=hjo+lAUvZ0RCpARX9FTIL+d2InhLj/O1iQYNQI39qEA=; b=tkRI2CFexIvN4ZDZipPvwYTXRnroCK/oQFfVjuNSfVUE060XybntXHHsBUJLM2XuvxOyJD l/dsiloXI9KTJ7zLSGPwQMIeoxZJHH7eJBmaSWa/btcf9Y+7D9rWHntQeZVk3WfeIOiSSQ TQOlEuYO2p9N0kLAPaUjFGmJFAlwsfSc8b+NwyszQEvCVW9pWGGaXM4f6Q30pr/M1qqJyL RQtlIrs5eAgzEAxJmWzInksxHe+Rx7UwWe9dz+qdOseybRUN/Y5k9Q8OKQ4n++c2STQZlN lcZRZvS4sjj4LCluwp7a+bvHceL8o/Svu+4jZbHDxJU8W3tKjDFEQanA5MLhkg== 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; bh=hjo+lAUvZ0RCpARX9FTIL+d2InhLj/O1iQYNQI39qEA=; b=GcddWefTfS85YZSMvNSiSn9WSS6hMvJ8HpFNZUvjvnHfUH3lwSbfvThY8j8IyVKoStblil whtpv+ZujNQouksK4ZjZEtsAYrLNLoGI96cZphA9YY1fR9J1pwpe5M7I7lhjNdI+Ef49M7 Uosh4/l7+VIYIl+2PJREExdOtC1oUFKHI6e970skSE8ji2QRA/sZPdzWA/kzQa64gbxYpo fYJO14Q0TRQHYqLWjYOTgHTln79XGuGCs5S1LsnSaTtvsHBjcp03GWXBi10Ju4X1Dwtb8y 25dFOM4jYS8BpeALj/Q51cjaOh2lJdxz72YX7E+wR70zDlHujXweg1tK5StH1g== 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=IWuDLBc7KMX+odFycITPHfs7MZbQvz37cSoE/ydMxJFO1mSQmMD2sTNzkd/sIPQ7uplmMt 7fLcgT61AelNYyk2I/HkZWoaLB0ucyppCwvR9k5AQCOC0w7O+1XLO8+w2vVugpVAJXBY/b fXhyip68t3+1hmLHj/Dne9ms5cEK7a86mozwcFFGLSEciv71LZs5Tqe86HYBBVxVMMOVvF 6lvb8tuT/pkZcPjW4Q7suYp1p7kplp1yZiVVcvUcp/aRzensofzsy/mP4n5fPEmhPRsCGF I0rdMeLVguCzvZTIAu+LcuXOPNlz2nftRZu7ybyGICFsX3cbPKJQcsLgRQxrwg== 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 4bH4QZ4qgpz1232 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 55ANFYWT015574 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 55ANFYVq015570 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 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 287437] ports-mgmt/pkg: "pkg help query" says nothing about flavors Date: Tue, 10 Jun 2025 23:15:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None 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: george@m5p.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D287437 Bug ID: 287437 Summary: ports-mgmt/pkg: "pkg help query" says nothing about flavors Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pkg@FreeBSD.org Reporter: george@m5p.com Assignee: pkg@FreeBSD.org Flags: maintainer-feedback?(pkg@FreeBSD.org) Created attachment 261164 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D261164&action= =3Dedit Mention flavors with respect to %n and %o (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. --=20 You are receiving this mail because: You are the assignee for the bug.=