From nobody Fri Jul 15 14:18:16 2022 X-Original-To: dev-commits-ports-all@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 4LktkJ75GFz4Wm6b; Fri, 15 Jul 2022 14:18:16 +0000 (UTC) (envelope-from git@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 4LktkJ6bf8z411Y; Fri, 15 Jul 2022 14:18:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657894696; 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=jSIgEWy8Dxxacl56+nigdjwYBQXy6S3l82CRWxT/Ik8=; b=AqdSbhjUWhqAtzJ3VvWDw63puYmGIqfD+71XLPTSyF3vLKvxECYAaeO6GmwkCDFuzdkyiS uM1ANvJZ7/0qwGfxVoHcfzAHnu0UlkdB9I40a4mUWjmeZMjc7eASqHe78Dr7Kc/T9HbhYd 0S6QvXSOKc8g6/sQN2NBkHEmZYg8HUFA33tf8PGUfQxQeYN43AODwSeuI5TfGO382/6nTh I+k11O08fAuquJkHAw04GRpqwyPe3aCCEluo/fHwPNlmb5JA1fsAv/xhgGIT3wieEh33n8 ZGQIgChOSn4Kzz4Ny6uj+AF+m9ITqRhjzmfqB9Hz/VA5Mxf0jL8RzA9TGOUPPg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4LktkJ5dv8zlZn; Fri, 15 Jul 2022 14:18:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26FEIGSU048401; Fri, 15 Jul 2022 14:18:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26FEIGKj048400; Fri, 15 Jul 2022 14:18:16 GMT (envelope-from git) Date: Fri, 15 Jul 2022 14:18:16 GMT Message-Id: <202207151418.26FEIGKj048400@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitri Goutnik Subject: git: a1fdf88a43cf - main - ports-mgmt/fallout: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dmgk X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a1fdf88a43cfcdece35eb468ba98c93d1ae33bcb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657894696; 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=jSIgEWy8Dxxacl56+nigdjwYBQXy6S3l82CRWxT/Ik8=; b=YTiRB1eJCLXCPBRcpUavcLIArbQWJtFfC4bnGAhKjVoDbCG95VmjOFE4QA8xNDhUcVpNCt 3ic5QXp3qL2Aru2wOCfz2DsQSqAxJOddEo3ynfMGF/PvrLCGuz1NBnX/fCER1BjS/6Zxpr Wpaa+KVTPipcVrJIzYWPT/XFiDXbelLFuZtNoSjx7s+lssCXu4A8/Ya+sqds6auyQZoL7J s+0u7jwYfjXZLKz8A2u/m+ranL+kwfbR7Z8BTXKNy3xr1aINIvyTUAucyhPTW7DT0pZut9 GNQKP8xOuunMfDr0fZRMAx9h4laiy2aubMHLP+tbBOx0QW/iGEKGNgGvZrAB6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657894696; a=rsa-sha256; cv=none; b=URUhliYRZ6StQQenElgoUYaA5/MK8uzu/E43FdRxsJyWaA50IqiycCuBlJlx5BIq8Vpxmi moLKy+S5fbTIrTnm6+KsSB22taz4VeC+Q9/NjlWdhOcB4Qq2dKPeGaGT+AD+ZL+rhPUdk2 V6E7LrhM8T9WU1qxkO1xtZvZkBgKczjBXGTHNRaiSkP+Kd2GeNiRlyYAxZqHDIl7AEBq5f PNbS0KS4M+ggmQKWLIqpsvMPg0TEwVp445I7J5ixbXtrY/OzeqlyK+Aby7AsXm9rxoYihO Slh9CFckrM0XBc3X0Avm4BDWFJDBaqGkGxIlnFlyB5CMZ4JK0ZLDyWeExUI0ig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dmgk: URL: https://cgit.FreeBSD.org/ports/commit/?id=a1fdf88a43cfcdece35eb468ba98c93d1ae33bcb commit a1fdf88a43cfcdece35eb468ba98c93d1ae33bcb Author: Dmitri Goutnik AuthorDate: 2022-07-15 13:55:53 +0000 Commit: Dmitri Goutnik CommitDate: 2022-07-15 14:17:52 +0000 ports-mgmt/fallout: Add new port Download and search FreeBSD build cluster fallout logs. `fallout fetch` downloads build failure logs so they can be accessed and searched from the local file system. It organizes these logs into a directory hierarchy under ~/.cache by the builder name and port origin. `fallout grep` finds failure logs matching a given set of conditions and regular expressions. Combining it with portgrep allows advanced searching for e.g. specific maintainer, failures of ports with specific USES, with specific dependency, etc. WWW: https://github.com/dmgk/fallout --- ports-mgmt/Makefile | 1 + ports-mgmt/fallout/Makefile | 19 +++++++++++++++++++ ports-mgmt/fallout/distinfo | 5 +++++ ports-mgmt/fallout/pkg-descr | 12 ++++++++++++ 4 files changed, 37 insertions(+) diff --git a/ports-mgmt/Makefile b/ports-mgmt/Makefile index d9813df62010..993169d1b3e8 100644 --- a/ports-mgmt/Makefile +++ b/ports-mgmt/Makefile @@ -7,6 +7,7 @@ SUBDIR += dialog4ports SUBDIR += dialog4ports-static SUBDIR += distilator + SUBDIR += fallout SUBDIR += fastest_pkg SUBDIR += freebsd-bugzilla-cli SUBDIR += genpatch diff --git a/ports-mgmt/fallout/Makefile b/ports-mgmt/fallout/Makefile new file mode 100644 index 000000000000..6271e38ac2f1 --- /dev/null +++ b/ports-mgmt/fallout/Makefile @@ -0,0 +1,19 @@ +PORTNAME= fallout +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.2 +CATEGORIES= ports-mgmt + +MAINTAINER= dmgk@FreeBSD.org +COMMENT= Download and search pkg-fallout logs + +LICENSE= BSD0CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +GO_MODULE= github.com/dmgk/fallout +GO_BUILDFLAGS= -ldflags="-s -w -X main.version=${DISTVERSION}" + +PLIST_FILES= bin/${PORTNAME} + +.include diff --git a/ports-mgmt/fallout/distinfo b/ports-mgmt/fallout/distinfo new file mode 100644 index 000000000000..49290ac3a20e --- /dev/null +++ b/ports-mgmt/fallout/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1657894482 +SHA256 (go/ports-mgmt_fallout/fallout-v1.0.2/v1.0.2.mod) = 3a131acb3f00f99f80613322d01f9f6e89933f1fa74e856eae41e68a1ee2002c +SIZE (go/ports-mgmt_fallout/fallout-v1.0.2/v1.0.2.mod) = 1098 +SHA256 (go/ports-mgmt_fallout/fallout-v1.0.2/v1.0.2.zip) = fbef23683a437e86fdfb778bfc032fa8df2236d49bb2a2201eb6d99664a2bf41 +SIZE (go/ports-mgmt_fallout/fallout-v1.0.2/v1.0.2.zip) = 26359 diff --git a/ports-mgmt/fallout/pkg-descr b/ports-mgmt/fallout/pkg-descr new file mode 100644 index 000000000000..952a7e91df74 --- /dev/null +++ b/ports-mgmt/fallout/pkg-descr @@ -0,0 +1,12 @@ +Download and search FreeBSD build cluster fallout logs. + +`fallout fetch` downloads build failure logs so they can be accessed and +searched from the local file system. It organizes these logs into a directory +hierarchy under ~/.cache by the builder name and port origin. + +`fallout grep` finds failure logs matching a given set of conditions and +regular expressions. Combining it with portgrep allows advanced +searching for e.g. specific maintainer, failures of ports with specific USES, +with specific dependency, etc. + +WWW: https://github.com/dmgk/fallout