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: gcloud sdk install script #88

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

patrickserrano
Copy link
Contributor

fixes #87

@patrickserrano
Copy link
Contributor Author

@dmccaffery @sjk07 assuming this gets approved and merged, should we consider releasing v8.3.0? On a clean macOS install with zsh and bash #87, #86 and #83 seem to all be fixed. #84 has been fixed for a while now with #85.

@@ -13,7 +13,7 @@ __am_prompt_set_gcloud_path() {
fi

# add gcloud to the path
export PATH="$AM_PROMPT_USER/.gcloud/bin:$PATH"
export PATH="$AM_PROMPT_USER/bin/gcloud/bin/:$PATH"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@patrickserrano Do we want this to be in the prompt user folder. I think we back this folder up every update. I guess there could be advantages but would we have to reinstall each time a user updated prompt?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dmccaffery isn't this why we are installing bins to the $HOME dir so updates do not effect what is installed on the user system

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sjk07 it looks like it was changed in the last PR to install to prompt/user/bin.

That said, I could have misinterpreted it given the inconsistent paths.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@patrickserrano hmm... we'll have to look into this unless @dmccaffery can give us some insight into the original change.

This is a blocker for me for releasing v8.3; I don't want to introduce multiple bins of gcloud or other installs when upgrading to the new version of prompt. (unless there is a reason for such a change)

imo upgrading prompt should have nothing to do with other installs on the users system unless they are prompt dependencies (there should be very few). things that are dependent can live in the prompt folder and be backed up incase an upgrade fails.

Lets figure out what we missed in the last updated 😄

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you merged my WIP -- I was midstream in some things, including this...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dmccaffery my bad, I didn't realize that was still WIP!

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.

[next.4] Cannot install gcloud sdk on macOS
3 participants