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

Refactor hs project download (Other half in cli-lib) #907

Merged
merged 6 commits into from
Aug 3, 2023

Conversation

kemmerle
Copy link
Contributor

@kemmerle kemmerle commented Aug 1, 2023

Description and Context

  1. Currently, there is a bug in the hs project download command, in which the command will not run outside a project directory. I was able to fix this issue by eliminating an unnecessary call to get a project config.

  2. I also refactored the download command to use a different download endpoint (/archive-full) that downloads the src of the project folder and the hsproject.json (see the other part of this work in the cli-lib PR).

To test out this PR, you will need to check out the above branch in the cli-lib repo and then use the yarn link @hubspot/cli-lib command to use the symlinked local package. Docs for more details.

Who to Notify

@brandenrodgers @camden11

@kemmerle kemmerle requested a review from brandenrodgers August 2, 2023 20:39
Copy link
Contributor

@camden11 camden11 left a comment

Choose a reason for hiding this comment

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

Looks good! Tested and everything works as expected

@kemmerle kemmerle merged commit e697a89 into master Aug 3, 2023
@kemmerle kemmerle deleted the refactor/project-download branch August 3, 2023 15:04
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.

3 participants