-
-
Notifications
You must be signed in to change notification settings - Fork 13.2k
granted: fix missing assume binary #255790
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
Conversation
d9e4c43 to
f1e9d3e
Compare
|
Thanks for contributing to Homebrew! 🎉 It looks like you're having trouble with a CI failure. See our contribution guide for help. You may be most interested in the section on dealing with CI failures. You can find the CI logs in the Checks tab of your pull request. |
f1e9d3e to
8630f61
Compare
4ac3da1 to
10b6cbe
Compare
10b6cbe to
6c15db7
Compare
6c15db7 to
02d3e83
Compare
9eee9a8 to
8e3a31f
Compare
Granted requires both 'granted' and 'assume' binaries to function. The assume script exports AWS credentials to the parent shell. Closes Homebrew#249904
8e3a31f to
14cc034
Compare
p-linnane
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|
🤖 An automated task has requested bottles to be published to this PR. Caution Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch. |
|
Thanks @emmanuj ! Without contributions like yours it'd be impossible to keep homebrew going with the high standards that users have come to expect from the project. You can feel good knowing that you've made the world a tiny bit better for homebrew users around the world! 👍 🎉 |
Granted requires both
grantedandassumeto function. This PR fixes the missingassumecommand.What this PR does
assumegosymlink pointing to thegrantedbinaryassumeshell script from source (scripts/assume)assume.fishshell script from source (scripts/assume.fish)Why this is needed
Granted runs as two components:
granted- the Go binary (built from source)assume- a shell script wrapper that callsassumegoand exports AWS credentials to the parent shellWithout
assume, users get "command not found: assume" making the tool non-functional.Testing
Verified all binaries installed:
Assume command works:
Tests pass:
Style check:
Closes #249904