Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add kubernetes-helm@2.8.2.rb #1

Merged
merged 3 commits into from
Apr 24, 2019
Merged

add kubernetes-helm@2.8.2.rb #1

merged 3 commits into from
Apr 24, 2019

Conversation

glensc
Copy link
Owner

@glensc glensc commented Apr 24, 2019

created with:

$ brew extract kubernetes-helm glensc/tap --version=2.8.2
==> Tapping glensc/tap
Cloning into '/usr/local/Homebrew/Library/Taps/glensc/homebrew-tap'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), done.
Tapped (29 files, 25.5KB).
==> Searching repository history
==> Writing formula for kubernetes-helm from revision 993e941 to /usr/local/Homebrew/Library/Taps/glensc/homebrew-tap/Formula/kubernetes-helm@2.8.2.rb

doc: https://docs.brew.sh/Versions

$ brew extract kubernetes-helm glensc/tap --version=2.8.2

doc: https://docs.brew.sh/Versions
@glensc
Copy link
Owner Author

glensc commented Apr 24, 2019

hmm, the old bottle is not available?

$ brew install kubernetes-helm@2.8.2
==> Installing kubernetes-helm@2.8.2 from glensc/tap
==> Downloading https://homebrew.bintray.com/bottles-tap/kubernetes-helm@2.8.2-2.8.2.high_sierra.bottle.tar.gz

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "kubernetes-helm@2.8.2"
Download failed: https://homebrew.bintray.com/bottles-tap/kubernetes-helm@2.8.2-2.8.2.high_sierra.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Installing dependencies for glensc/tap/kubernetes-helm@2.8.2: mercurial, go and glide
==> Installing glensc/tap/kubernetes-helm@2.8.2 dependency: mercurial
==> Downloading https://homebrew.bintray.com/bottles/mercurial-4.9.1.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/82/8246e13f5e8eeabcae470b1b35cb8c2d8eb35aadc2ee70c9355d2bd0773e955b?__gda__=exp=1556130937~hmac=793c0cd6e758e38f7599412cb7f8964c63d14bd8afdf9b14b0bffd5a58f7
######################################################################## 100.0%
==> Pouring mercurial-4.9.1.mojave.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
🍺  /usr/local/Cellar/mercurial/4.9.1: 637 files, 10.3MB
==> Installing glensc/tap/kubernetes-helm@2.8.2 dependency: go
==> Downloading https://homebrew.bintray.com/bottles/go-1.12.4.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/68/684660d496131c25d8b48449e26d9f32829843cd14cc930ed83bd5c3cb94a75c?__gda__=exp=1556130959~hmac=5b7d963da23df138e0624020ae6aba883814a5a39fdc9d46fd91e97eb6b7
##########                                                                14.4%^C

@glensc
Copy link
Owner Author

glensc commented Apr 24, 2019

with the d6b70ca hack, it is able to install:

[/usr/local/Homebrew (master)★] ➔ brew install kubernetes-helm@2.8.2
==> Installing kubernetes-helm from glensc/tap
==> Downloading https://homebrew.bintray.com/bottles/kubernetes-helm-2.8.2.high_sierra.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/c1/xxx?__gda__=exp=xxx~hmac=xxx
######################################################################## 100.0%
==> Pouring kubernetes-helm-2.8.2.high_sierra.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
🍺  /usr/local/Cellar/kubernetes-helm/2.8.2: 50 files, 121.7MB
Removing: /Users/glen/Library/Caches/Homebrew/kubernetes-helm--2.8.2.high_sierra.bottle.tar.gz... (29.3MB)
[/usr/local/Homebrew (master)★] ➔

however this very much conflicts with original package name now thinking it's the same package:

➔ brew info kubernetes-helm@2.8.2
glensc/tap/kubernetes-helm@2.8.2: stable 2.8.2 (bottled), HEAD
The Kubernetes package manager
https://helm.sh/
/usr/local/Cellar/kubernetes-helm/2.8.2 (50 files, 121.7MB) *
  Poured from bottle on 2019-04-24 at 22:13:46
/usr/local/Cellar/kubernetes-helm/2.13.1 (51 files, 84.2MB)
  Poured from bottle on 2019-04-24 at 21:26:11
From: https://github.com/glensc/homebrew-tap/blob/master/Formula/kubernetes-helm@2.8.2.rb
==> Dependencies
Build: mercurial ✔, go ✘, glide ✘
==> Options
--HEAD
	Install HEAD version
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Analytics
install: 24,594 (30 days), 75,722 (90 days), 219,921 (365 days)
install_on_request: 24,189 (30 days), 74,422 (90 days), 216,258 (365 days)
build_error: 0 (30 days)

@glensc
Copy link
Owner Author

glensc commented Apr 24, 2019

reported problem to brew, hope less hackish solution is provided there: Homebrew/brew#6059

@glensc glensc merged commit 9ffc9c3 into master Apr 24, 2019
@glensc glensc deleted the helm branch April 24, 2019 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant