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 removal instructions for PowerShell #603

Merged
merged 1 commit into from
Jun 24, 2022

Conversation

benmcmorran
Copy link
Member

Following the instructions as-is fails because of junction points.

rmdir : C:\Users\bemcmorr\.vcpkg\node_modules\vcpkg-ce\common\temp\node_modules\.pnpm\node_modules\keyv is an NTFS
junction point. Use the Force parameter to delete or modify this object.
At line:1 char:1
+ rmdir -recurse ~/.vcpkg
+ ~~~~~~~~~~~~~~~~~~~~~~~

@BillyONeal BillyONeal merged commit 35c8e29 into microsoft:main Jun 24, 2022
@BillyONeal
Copy link
Member

Thanks!

fearthecowboy added a commit that referenced this pull request Jun 28, 2022
…r dependencies) (#604)

* [vcpkg-artifacts] Fix end to end development.

Thanks to @fearthecowboy for help on this one.

I considered ripping out the rush dependency, since it seems like we are only ever going to have one meaningful "project", and the dependency deduplication we need seems to be already done by pnpm (rather than npm), but after talking with @fearthecowboy I've decided to not go there since we still have rush linking the test project in.

Unfortunately, there does not appear to be an effiicent way to build the typescript parts out-of-source, since they depend on node_modules which is put into the source tree.

This adds a vcpkg.ps1 which does the same "environment hacking" as the in-development ce.ps1, teaches CMakeLists.txt to invoke rush and the typescript compiler as necessary, and teaches vcpkg.exe to use a hard-coded-into-the-binary path to the source tree when that in-development setting is turned on.

The previous "always download latest ce bits" behavior is retained for folks who build vcpkg.exe from source and don't want to arrange for node and rush to be available.

* format

* Add better messages during build.

* Update vcpkg-scripts-sha to include python3_with_venv

* Restore espidf handling backed out in 323242c .

* Fix python fetch in another place.

* Update espressif support

* Updated epressif support to do better git clone and properly handle registry zip files

* Undo accidential CMakeLists.txt changes broken by merge.

* Fix removal instructions for PowerShell (#603)

* Update ce/ce/installers/espidf.ts

Co-authored-by: Billy O'Neal <bion@microsoft.com>

* Update ce/ce/archivers/git.ts

Co-authored-by: Billy O'Neal <bion@microsoft.com>

* Update ce/ce/archivers/git.ts

Co-authored-by: Billy O'Neal <bion@microsoft.com>

* Update ce/ce/archivers/git.ts

Co-authored-by: Billy O'Neal <bion@microsoft.com>

* add strip=-1 option to tar to allow detection of how many folders to strip

* simplify heartbeat during git

* added comment with reasoning behind git clone changes

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Ben McMorran <ben.mcmorran@gmail.com>
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