keploy
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=keploy
5
pkgver=3.6.162
6
pkgrel=1
7
_tag=v$pkgver
8
_srcdir="keploy-$pkgver"
9
pkgdesc="Record real API traffic and replay it as regression tests with auto-generated dependency mocks"
10
arch=('x86_64')
11
url="https://keploy.io"
12
license=('Apache-2.0')
13
depends=('glibc')
14
optdepends=('docker: ejecutar aplicaciones en contenedores' 'bpf: instrumentación EBPF para mocks')
15
makedepends=('go')
16
source=("$pkgname-$pkgver.tar.gz::https://github.com/keploy/keploy/archive/refs/tags/$_tag.tar.gz")
17
sha256sums=('e7b769413d5127266c1cd4eb0c0931dfb1615d6869afed524f7d5b7ebea13233')
18
19
prepare() {
20
cd "$_srcdir"
21
go mod download
22
}
23
24
build() {
25
cd "$_srcdir"
26
go build -trimpath -buildmode=pie -ldflags "-buildid= -X main.version=$pkgver" -o build/keploy .
27
}
28
29
check() {
30
cd "$_srcdir"
31
# Se excluyen paquetes que dependen de docker/temporizadores/red del entorno
32
# (pkg/platform/http y pkg/service/replay fallan o se cuelgan en el sandbox) y los e2e.
33
local -a pkgs
34
mapfile -t pkgs < <(go list ./... | grep -v -E '/pkg/platform/http$|/pkg/service/replay$|/tests/e2e')
35
go test -short "${pkgs[@]}"
36
}
37
38
package() {
39
cd "$_srcdir"
40
install -Dm755 build/keploy "$pkgdir/usr/bin/keploy"
41
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
42
}
43
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-31 05:57:59 | Low | 1 |