tedsmitt / ecsgo

Provides an interactive prompt to connect to ECS Containers using the ECS ExecuteCommand API.
Apache License 2.0
81 stars 13 forks source link

Issue Tapping with Homebrew #10

Closed codezninja closed 2 years ago

codezninja commented 2 years ago

When trying to tap this. I get the following error

$ brew tap tedsmitt/ecsgo
==> Tapping tedsmitt/ecsgo
Cloning into '/opt/homebrew/Library/Taps/tedsmitt/homebrew-ecsgo'...
remote: Enumerating objects: 21, done.
remote: Counting objects: 100% (21/21), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 21 (delta 6), reused 3 (delta 0), pack-reused 0
Receiving objects: 100% (21/21), done.
Resolving deltas: 100% (6/6), done.
Error: Invalid formula: /opt/homebrew/Library/Taps/tedsmitt/homebrew-ecsgo/ecsgo.rb
ecsgo: Calling bottle :unneeded is disabled! There is no replacement.
Please report this issue to the tedsmitt/ecsgo tap (not Homebrew/brew or Homebrew/core):
  /opt/homebrew/Library/Taps/tedsmitt/homebrew-ecsgo/ecsgo.rb:10

Error: Cannot tap tedsmitt/ecsgo: invalid syntax in tap!
tedsmitt commented 2 years ago

Hey @codezninja thanks for reporting this - I'm investigating the homebrew repo now. I'll let you know once this is fixed.

tedsmitt commented 2 years ago

I think the syntax has changed on the homebrew spec with a newer version of homebrew. I've amended this and tested, and looks to be working as expected. @codezninja can you confirm you can tap and install this now?

codezninja commented 2 years ago

Hi @tedsmitt. I'm able to tap now. But the install fails with the following error

 $ brew install ecsgo
==> Downloading https://github.com/tedsmitt/ecsgo/releases/download/0.2.0/ecsgo_Darwin_arm64.tar.gz
Already downloaded: /Users/hunter/Library/Caches/Homebrew/downloads/a0e409617ccf8ef9c1ca5b131d6cedf060b35fa899306a42b01e88ff9c2f4a58--ecsgo_Darwin_arm64.tar.gz
==> Installing ecsgo from tedsmitt/ecsgo
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory - gossm
tedsmitt commented 2 years ago

@codezninja woops, bad copy+paste job from me there! Have amended again, can you try it now?

codezninja commented 2 years ago

yup that worked! 🎉

tedsmitt commented 2 years ago

@codezninja I've just rolled out version 0.3.0 and confirmed that the tap is still working as expected, the latest version of goreleaser appears to be publishing it in the correct format.

I'll go ahead and close this issue!