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

Don't download packs when it isn't needed #998

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

edoardopirovano
Copy link
Contributor

If we're using a CLI version that's new enough to do the parsing of config files itself, then it will also have downloaded any custom packs during database init as needed. Running pack download again is redundant, and indeed in some cases can cause issues (for instance, QL4QL uses a local pack so pack download fails even though all the other commands happily find it on the search path).

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

@edoardopirovano edoardopirovano requested a review from a team as a code owner March 25, 2022 11:24
@edoardopirovano edoardopirovano merged commit 6e57bba into main Mar 25, 2022
@edoardopirovano edoardopirovano deleted the edoardo/no-download-pack branch March 25, 2022 12:36
This was referenced Mar 30, 2022
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.

2 participants