summaryrefslogtreecommitdiff
path: root/ports-mgmt/fallout
diff options
context:
space:
mode:
authorDmitri Goutnik <dmgk@FreeBSD.org>2022-07-15 08:55:53 -0500
committerDmitri Goutnik <dmgk@FreeBSD.org>2022-07-15 09:17:52 -0500
commita1fdf88a43cfcdece35eb468ba98c93d1ae33bcb (patch)
tree46a0c52ba1743ebbb7178a88ac95fc4bdfa63247 /ports-mgmt/fallout
parentsysutils/tmux: update to 3.3a (diff)
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
Diffstat (limited to 'ports-mgmt/fallout')
-rw-r--r--ports-mgmt/fallout/Makefile19
-rw-r--r--ports-mgmt/fallout/distinfo5
-rw-r--r--ports-mgmt/fallout/pkg-descr12
3 files changed, 36 insertions, 0 deletions
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 <bsd.port.mk>
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