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

Fix deprecated pygmy commands #69

Open
christopher-hopper opened this issue Dec 16, 2021 · 0 comments
Open

Fix deprecated pygmy commands #69

christopher-hopper opened this issue Dec 16, 2021 · 0 comments

Comments

@christopher-hopper
Copy link
Contributor

Problem / Motivation

Helper commands like ahoy fix-bay-token are currently incompatible with pygmy-go.

Amazee.io have deprecated their pygmy tool written in python. They now direct customers to use fubarhouse/pygmy-go. The new pygmy-go commands list does not include pgymy start or pygmy stop. They are replace by pygmy up and pygmy down.

Default installation using Homebrew will create a command named pygmy-go. This can by symlinked or renamed as pygmy but for now, we probably need to assume the command is pygmy-go OOTB.

Steps to reproduce

  1. Clone an SDP project like content-vic

  2. Install required dependency pygmy-go by following the steps

    brew tap fubarhouse/pygmy-go
    brew install pygmy-go
    
  3. Run ahoy fix-bay-token

Expected result

My Bay token is fixed.

Actual result

Errors are generated like

Error: unknown command "stop" for "pygmy-go"
Run 'pygmy-go --help' for usage.
unknown command "stop" for "pygmy-go"

or

-bash: pygmy: No such file or directory

Suggested fix

  1. Update any documentation that links to https://github.com/amazeeio/pygmy and replace with https://github.com/fubarhouse/pygmy-go
  2. Update all commands referencing pygmy to use pygmy-go commands instead.
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

No branches or pull requests

1 participant