drainready

LOW
maintainer Giovani_Geek 0 votes scanned 2026-10-31 05:57:59.662655
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# shellcheck disable=SC2034,SC2154,SC2164
2# Maintainer: Energetix/Dark Nebula <https://github.com/Jobanny-Friki>
3
4pkgname=drainready
5pkgver=0.2.0
6pkgrel=1
7_repo=drainready
8_tag=v0.2.0
9_srcdir="$_repo-$pkgver"
10pkgdesc="Predicts whether kubectl drain will finish on a node by checking PodDisruptionBudgets before you cordon; names the blocking budget and why"
11arch=('x86_64')
12url="https://blackman99.github.io/drainready/"
13license=('MIT')
14depends=('glibc' 'kubectl')
15makedepends=('go')
16source=("$pkgname-$pkgver.tar.gz::https://github.com/Blackman99/drainready/archive/refs/tags/$_tag.tar.gz")
17sha256sums=('c2f5f246eeca5d93cdcd45120a80a746f97a4f9e956ae22a67458c2e71b85173')
18
19build() {
20 cd "$_srcdir"
21 go build -trimpath -buildmode=pie -ldflags "-buildid=" -o build/drainready ./cmd/drainready
22}
23
24check() {
25 cd "$_srcdir"
26 go test ./...
27}
28
29package() {
30 cd "$_srcdir"
31 install -Dm755 build/drainready "$pkgdir/usr/bin/drainready"
32 install -Dm644 "$srcdir/$_srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
33}
34

Scan history

Scanned at (UTC)SeverityRules
2026-10-31 05:57:59 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion