Package Details: calicoctl 3.23.1-1

Git Clone URL: https://aur.archlinux.org/calicoctl.git (read-only, click to copy)
Package Base: calicoctl
Description: Calico CLI tool
Upstream URL: https://github.com/projectcalico/calico
Keywords: calico tool
Licenses: Apache
Submitter: rlisagor
Maintainer: matthias.lisin
Last Packager: matthias.lisin
Votes: 2
Popularity: 0.000001
First Submitted: 2018-01-12 22:41 (UTC)
Last Updated: 2022-05-18 11:59 (UTC)

Latest Comments

dronskii commented on 2022-05-18 18:25 (UTC)

patch to fix version checking (to not use --allow-version-mismatch on every command):

diff --git a/PKGBUILD b/PKGBUILD
index 8b3ca24..6cf90e7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,8 +17,8 @@ sha256sums=('a1754ae4bb158e3b46ba3fb326d8038d54cd0dc2c5c8527eadf2b0a6cf8ef2e3')
 build() {
   _x=(
     commands.GIT_REVISION="$(bsdcat "$_pkgname-$pkgver.tar.gz" | git get-tar-commit-id)"
-    commands.VERSION="$pkgver"
-    commands/common.VERSION="$pkgver"
+    commands.VERSION="v${pkgver}"
+    commands/common.VERSION="v${pkgver}"
   )
   cd "$_pkgname-$pkgver"
   export CGO_ENABLED=1

xored commented on 2022-05-06 05:30 (UTC)

This package uses the wrong version for the build https://github.com/projectcalico/calico/issues/6027