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 brew build #899

Closed
synfinatic opened this issue Jun 13, 2024 · 6 comments
Closed

fix brew build #899

synfinatic opened this issue Jun 13, 2024 · 6 comments
Labels
bug Something isn't working
Milestone

Comments

@synfinatic
Copy link
Owner

Fix build for homebrew: Homebrew/homebrew-core#174439

@synfinatic synfinatic added the bug Something isn't working label Jun 13, 2024
@synfinatic synfinatic added this to the 1.16.1 milestone Jun 13, 2024
@chenrui333
Copy link

@synfinatic not sure if I am doing correctly, but I am seeing this

$ aws-sso completions --no-config-check
WARNING No config file found!  Will now prompt you for a basic config...

**********************************************************************
* Do you have questions?  Do you like reading docs?  We've got docs! *
* https://github.com/synfinatic/aws-sso-cli/blob/main/docs/config.md *
**********************************************************************


✗ SSO Start URL Hostname (XXXXXXX.awsapps.com): |

@synfinatic
Copy link
Owner Author

Hi @chenrui333,

I'm not sure what you're trying to do? The brewfile doesn't try running the completions command: https://github.com/Homebrew/homebrew-core/blob/master/Formula/a/aws-sso-cli.rb#L28

But basically, you don't have a valid ~/.aws-sso/config.yaml so you're going to get the configuration wizard, even with --no-config-check. This is expected.

Without a valid config.yaml file, there really isn't much functionality possible. And even with a "dummy" config file, all the functionality requires you to authenticate to your SSO provider via a javascript enabled web browser.

@chenrui333
Copy link

I am running after brew install, not running as part of brew install

@chenrui333
Copy link

also I am gonna rewrite the formula and not using make install (there is some ldflags I need to apply -s -w to strip debug info)

@synfinatic
Copy link
Owner Author

I am running after brew install, not running as part of brew install

Sorry, I have no idea what you're trying to say. Are you asking for general technical support or trying to resolve the issue that once existed, but no longer exists here: Homebrew/homebrew-core#174439

@chenrui333
Copy link

that is fine. it is what it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants