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: keep lockfile up to date example windows regression #215

Merged
merged 1 commit into from
Jun 16, 2022

Conversation

kormide
Copy link
Member

@kormide kormide commented Jun 16, 2022

This is the last windows regression aside from the node-gyp issue.

@kormide kormide requested review from alexeagle and gregmagolan June 16, 2022 21:02
Comment on lines +41 to +43
sha256 = "a62838a8bb32478db2cf557b59279e566d628e064f91071daf1986c32463c2c9",
strip_prefix = "bazel-lib-1.2.1",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.2.1.tar.gz",
Copy link
Member Author

Choose a reason for hiding this comment

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

Needed for the copy_to_bin same file different target fix.

@@ -12,12 +12,18 @@ js_test(
":pnpm-lock.yaml",
],
entry_point = "assert_lockfile_frozen.js",
env = {
"APPDATA": "unused_but_pnpm_fails_if_not_set_on_windows"
Copy link
Member

Choose a reason for hiding this comment

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

what is this black magic?

Copy link
Member Author

Choose a reason for hiding this comment

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

🧙‍♂️

@@ -12,12 +12,18 @@ js_test(
":pnpm-lock.yaml",
],
entry_point = "assert_lockfile_frozen.js",
env = {
"APPDATA": "unused_but_pnpm_fails_if_not_set_on_windows"
Copy link
Member Author

@kormide kormide Jun 16, 2022

Choose a reason for hiding this comment

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

The script sets a store dir inside of the output tree, but pnpm still tries to resolve some path to a default cache dir. It just needs to not be undefined.

Copy link
Member

Choose a reason for hiding this comment

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

Can you add a comment with some more context for future reference?

Copy link
Member Author

Choose a reason for hiding this comment

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

Added

@kormide kormide force-pushed the update-example-regression branch from 9a4739c to 6b99152 Compare June 16, 2022 21:14
@kormide kormide requested a review from gregmagolan June 16, 2022 21:15
@kormide kormide force-pushed the update-example-regression branch from 6b99152 to 23ab3ad Compare June 16, 2022 21:16
@alexeagle alexeagle removed their request for review June 16, 2022 21:19
@kormide kormide merged commit 9f43ece into aspect-build:main Jun 16, 2022
@kormide kormide deleted the update-example-regression branch June 16, 2022 21:23
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