drainready
LOW
maintainer Giovani_Geek
0 votes
scanned 2026-10-31 05:57:59.662655
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
4
pkgname=drainready
5
pkgver=0.2.0
6
pkgrel=1
7
_repo=drainready
8
_tag=v0.2.0
9
_srcdir="$_repo-$pkgver"
10
pkgdesc="Predicts whether kubectl drain will finish on a node by checking PodDisruptionBudgets before you cordon; names the blocking budget and why"
11
arch=('x86_64')
12
url="https://blackman99.github.io/drainready/"
13
license=('MIT')
14
depends=('glibc' 'kubectl')
15
makedepends=('go')
16
source=("$pkgname-$pkgver.tar.gz::https://github.com/Blackman99/drainready/archive/refs/tags/$_tag.tar.gz")
17
sha256sums=('c2f5f246eeca5d93cdcd45120a80a746f97a4f9e956ae22a67458c2e71b85173')
18
19
build() {
20
cd "$_srcdir"
21
go build -trimpath -buildmode=pie -ldflags "-buildid=" -o build/drainready ./cmd/drainready
22
}
23
24
check() {
25
cd "$_srcdir"
26
go test ./...
27
}
28
29
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-10-31 05:57:59 | Low | 1 |