Package Details: kubeflow-kfctl 1.2.0-1

Git Clone URL: https://aur.archlinux.org/kubeflow-kfctl.git (read-only, click to copy)
Package Base: kubeflow-kfctl
Description: A tool to control and manage Kubeflow deployments
Upstream URL: https://github.com/kubeflow/kfctl
Licenses: Apache
Submitter: Pinky
Maintainer: None
Last Packager: Pinky
Votes: 0
Popularity: 0.000000
First Submitted: 2020-04-23 20:01 (UTC)
Last Updated: 2021-07-20 07:05 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

erdii commented on 2021-07-19 12:47 (UTC) (edited on 2021-07-19 12:48 (UTC) by erdii)

Hey @Pinky! :) I just built an upgraded version of this package and can report: - it works :) - the included patch is no longer needed - _commit is unused in PKGBUILD

patch:

diff --git a/.SRCINFO b/.SRCINFO
index 3566f5d..1f63942 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = kubeflow-kfctl
    pkgdesc = A tool to control and manage Kubeflow deployments
-   pkgver = 1.0.2
+   pkgver = 1.2.0
    pkgrel = 1
    url = https://github.com/kubeflow/kfctl
    arch = i686
@@ -11,8 +11,7 @@ pkgbase = kubeflow-kfctl
    makedepends = go
    makedepends = git
    depends = glibc
-   source = kubeflow-kfctl-1.0.2.tar.gz::https://github.com/kubeflow/kfctl/archive/v1.0.2.tar.gz
-   sha256sums = 982a4c701463129944febeef91525a904eabe0ef03c37a38d3e549100266d17b
+   source = kubeflow-kfctl-1.2.0.tar.gz::https://github.com/kubeflow/kfctl/archive/v1.2.0.tar.gz
+   sha256sums = a40116608f75b0b7e1d7c4d51af39ade877d85587edb32fd0dac7b43ec286d76

 pkgname = kubeflow-kfctl
-
diff --git a/PKGBUILD b/PKGBUILD
index 7796086..b9ee92f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,7 @@
 # Maintainer: Jiri Pinkava <j-pi at seznam.cz>

 pkgname=kubeflow-kfctl
-pkgver=1.1.0
-_commit=d878d4d45863e42fd5cff6743294a11d28a9abce
+pkgver=1.2.0
 pkgrel=1
 pkgdesc="A tool to control and manage Kubeflow deployments"
 arch=('i686' 'x86_64' 'arm' 'aarch64')
@@ -11,12 +10,7 @@ depends=('glibc')
 makedepends=('go' 'git')
 license=('Apache')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kubeflow/kfctl/archive/v${pkgver}.tar.gz")
-sha256sums=('b8765c128a9a0f3fabb5e77080bf4f139b0138454ea4313dbfdeb96c0adf9d39')
-
-prepare() {
-    cd "kfctl-$pkgver"
-    patch -p0 --input="${srcdir}/../print.patch"
-}
+sha256sums=('a40116608f75b0b7e1d7c4d51af39ade877d85587edb32fd0dac7b43ec286d76')

 build() {
   cd kfctl-${pkgver}
diff --git a/print.patch b/print.patch
deleted file mode 100644
index 1651b82..0000000
--- a/print.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- pkg/kfapp/aws/aws.go   2020-09-16 09:40:24.900013107 +0200
-+++ pkg/kfapp/aws/aws.go   2020-09-16 09:40:39.146826683 +0200
-@@ -561,7 +561,7 @@
-       }
- 
-       if pluginSpec.ManagedRelationDatabase.Port != nil {
--          if err := aws.kfDef.SetApplicationParameter("metadata", "MYSQL_PORT", string(*pluginSpec.ManagedRelationDatabase.Port)); err != nil {
-+          if err := aws.kfDef.SetApplicationParameter("metadata", "MYSQL_PORT", fmt.Sprint(*pluginSpec.ManagedRelationDatabase.Port)); err != nil {
-               return errors.WithStack(err)
-           }
-       }