aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitri Goutnik <dmgk@FreeBSD.org>2022-07-15 13:55:53 +0000
committerDmitri Goutnik <dmgk@FreeBSD.org>2022-07-15 14:17:52 +0000
commita1fdf88a43cfcdece35eb468ba98c93d1ae33bcb (patch)
tree46a0c52ba1743ebbb7178a88ac95fc4bdfa63247
parentdfd06f10563650215b87ae83d96958e78797ed6c (diff)
downloadports-a1fdf88a43cfcdece35eb468ba98c93d1ae33bcb.tar.gz
ports-a1fdf88a43cfcdece35eb468ba98c93d1ae33bcb.zip
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
-rw-r--r--ports-mgmt/Makefile1
-rw-r--r--ports-mgmt/fallout/Makefile19
-rw-r--r--ports-mgmt/fallout/distinfo5
-rw-r--r--ports-mgmt/fallout/pkg-descr12
4 files changed, 37 insertions, 0 deletions
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 <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