From nobody Sun Jan 02 17:06:40 2022 X-Original-To: ports-bugs@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 1D7F619262C9 for ; Sun, 2 Jan 2022 17:06:41 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JRlf85cgPz3lkB for ; Sun, 2 Jan 2022 17:06:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 9DA0B15BA6 for ; Sun, 2 Jan 2022 17:06:40 +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 202H6esn014374 for ; Sun, 2 Jan 2022 17:06:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 202H6eGW014373 for ports-bugs@FreeBSD.org; Sun, 2 Jan 2022 17:06:40 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: ports-bugs@FreeBSD.org Subject: [Bug 245667] [feature request] ports-mgmt/pkg: Determine ports branch of active pkg repo Date: Sun, 02 Jan 2022 17:06:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Many People X-Bugzilla-Who: jwb@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641143200; 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=IVTiV/Yv1bd7f4If2zUZt2jQD1ahOE9Lt9kUzg6biPo=; b=qbSgADJB0v9LASDxQqa68NT7jxNP3HGM5N0JsWBbjpFMBYOyi1koIpCDHazePirP44xc6F Gb0t3HbUzoH30XMJu+Mc37yxoewmDKtvN0Aflsd11uhjLLHs80/fPXYS2buvDrQIYlThD+ o6twavYxxxjIX/tX+6cI+CQz4nfRoV2uy56sLRfVVrV1QMX1gy9dZ36PXDeeUsmECZv35V +cWrd556MEOHP0eew8ou/R13GQd1stiqcUZ/G+7u3BeZeOJLxYRw/X+03WPSyCtX3ENQ9S IYWMt62lpwTcuPlW5uDRKH8aKOK0qqmHYYFX0Zchcq5BAipcvY9lG3qz5mRCBg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641143200; a=rsa-sha256; cv=none; b=RW5Er+KGj0GeQU7bsz0hmpw8Q7dJEl8Kvo1ki+2SLFAi4Rn4gGYhFFkyeBIVJek5fNuk1p 3FFKW6IrBZYdHtloqSkfocPhYZNGciLNRpmZa+xj3+mTTmFKaYrl4Nn2lNmembftaguWo5 I+2+cXVaye133qB1446Anuo8itLiPl/e55Gr8zVxln2RoKaGHK4zTDhrNbFInDXskvjWYb z/xJx/fDKGcx7xD9O8MXsfuvawRvpfvbYYxJJknah3eI9YTP5vsCUzC7jMWRNNa1vFwQ+f I7K7VSYEIHeMaFpNOIa4wvNmjkfKN/CGgbNL8+8lLkrk2R+tf8GX1hXd2XVc0g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245667 --- Comment #7 from Jason W. Bacon --- FYI, I recently made an improvement to auto-pkg-branch (part of sysutils/auto-admin) for quarterly packages. Rather than use today's date as it did before, it checks the time stamp on meta.txz: fetch -o $tmpfile http://pkg.freebsd.org/FreeBSD:$major:$arch/quarterly/meta.txz=20=20=20=20= =20=20=20=20 mod_time=3D$(ls -l -D '%Y-%m' $tmpfile | awk '{ print $6 }') This provides an account of when the packages were likely last updated rath= er than assume they're updated every quarter. In fact, quarterly packages for 13.0-RELEASE powerpc64 were never published for 2020Q4, so this improvement prevented my ports tree from being knocked out of sync with the package set. This is still a hack, though, since it's probably possible for meta.txz to = be touched without the packages actually being updated to the current quarter. It would be really nice if we had an officially supported method for determining the packages branch. --=20 You are receiving this mail because: You are the assignee for the bug.=