<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9dce965353fd458d9ec32e99eb771eec4dc337cb">https://github.com/macports/macports-ports/commit/9dce965353fd458d9ec32e99eb771eec4dc337cb</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 9dce965 helm*: Allow for multiple versions of Helm/Tiller
</span>9dce965 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9dce965353fd458d9ec32e99eb771eec4dc337cb
</span>Author: Pedro H <5179251+pedrohdz@users.noreply.github.com>
AuthorDate: Sun Jul 14 15:22:31 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> helm*: Allow for multiple versions of Helm/Tiller
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Allow for multiple versions of Helm to be installed at the same time.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> According to the Helm documentation, Helm (client) and Tiller (server)
</span><span style='display:block; white-space:pre;color:#404040;'> have to be on the same minor version to be compatible, only the patch
</span><span style='display:block; white-space:pre;color:#404040;'> number can vary.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> https://helm.sh/docs/using_helm/#upgrading
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/58723
</span>---
sysutils/helm/Portfile | 123 ++++++++++++++++++++++++++++++++++---------
sysutils/helm/files/base | 2 +
sysutils/helm/files/helm2.12 | 2 +
sysutils/helm/files/helm2.13 | 2 +
sysutils/helm/files/helm2.14 | 2 +
sysutils/helm/files/none | 2 +
6 files changed, 109 insertions(+), 24 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/helm/Portfile b/sysutils/helm/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0e5f877..214743b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/helm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/helm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,36 +1,111 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup select 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup helm helm 2.14.1 v
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories sysutils
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license Apache-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name helm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories sysutils
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Apache-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {ogsite.net:sirn @sirn} @pedrohdz openmaintainer
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {ogsite.net:sirn @sirn} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport helm_select {}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description Kubernetes Package Manager
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description A tool for managing packages of pre-configured Kubernetes resources.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# *NOTE* Remember to update `latestVersion` on a version upgrade.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set latestVersion helm-2.14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport helm-2.14 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set baseVersion 2.14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set patchNumber 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 002bdedc70c51fd03ba76fbbe31c3e509ee0c11e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 9469da75bb357bc325c985dead224480bbacc7aa8aecff74089dff97e64655d0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 27862805
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites https://get.helm.sh/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${name}-v${version}-darwin-amd64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir darwin-amd64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport helm-2.13 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set baseVersion 2.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set patchNumber 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 33f9f56bc0cc1ce4a47f863f8ba278bfa02431ba \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c9564c4133349b98a8c1dda42fdb6545f6e4bfdf0980cdfc38cf76d2f8e5e701 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 24089303
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 b8aeae7e21eb03562bb589c036dc954e15716269 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 392ec847ecc5870a48a39cb0b8d13c8aa72aaf4365e0315c4d7a2553019a451c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 27861122
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport helm-2.12 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set baseVersion 2.12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set patchNumber 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 8676268e53e3d21c1ca3216db8684ea3b68c4ba0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 564a087915e07333d2335face555eaac63accd669fb63672ae1b66a73144ac50 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 23867687
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${subport} == ${name}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup obsolete 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ replaced_by ${latestVersion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 2.14.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {${subport} == "helm_select"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 0.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Common files for selecting default Helm version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description This port installs files that allow 'port select' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ to create links to the preferred default version \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of Helm/Tiller.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ homepage https://www.macports.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select::install helm ${filespath}/base
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select::install helm ${filespath}/none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run port:helm_select
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set patchVersion ${baseVersion}.${patchNumber}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set baseName helm${baseVersion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup helm helm ${patchVersion} v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Kubernetes package manager
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description Helps you manage Kubernetes applications — Helm Charts \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ help you define, install, and upgrade even the most \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ complex Kubernetes application.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites https://get.helm.sh/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname helm-v${version}-darwin-amd64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ worksrcdir darwin-amd64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select.group helm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select.file ${filespath}/${baseName}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall ${worksrcpath}/helm ${destroot}${prefix}/bin/helm${baseVersion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall ${worksrcpath}/tiller ${destroot}${prefix}/bin/tiller${baseVersion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Skip -rc and other pre-release tags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set regexVersionPart [string map {. {\.}} $baseVersion]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.livecheck.regex (${regexVersionPart}\\.\\d+)
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall ${worksrcpath}/helm ${destroot}${prefix}/bin/helm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall ${worksrcpath}/tiller ${destroot}${prefix}/bin/tiller
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ To make this the default Helm/Tiller (i.e., the version run by the 'helm' or\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'tiller' commands), run:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sudo port select --set helm ${baseName}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Skip -rc and other pre-release tags
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-github.livecheck.regex {([\d.]+)}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/helm/files/base b/sysutils/helm/files/base
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..ba3b895
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/helm/files/base
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,2 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/helm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/tiller
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/helm/files/helm2.12 b/sysutils/helm/files/helm2.12
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..9d7eaa5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/helm/files/helm2.12
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,2 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/helm2.12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/tiller2.12
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/helm/files/helm2.13 b/sysutils/helm/files/helm2.13
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..523dc31
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/helm/files/helm2.13
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,2 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/helm2.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/tiller2.13
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/helm/files/helm2.14 b/sysutils/helm/files/helm2.14
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..0fef904
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/helm/files/helm2.14
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,2 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/helm2.14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/tiller2.14
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/helm/files/none b/sysutils/helm/files/none
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..0972f4d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/helm/files/none
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,2 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span></pre><pre style='margin:0'>
</pre>