Delete broken export backends. #1603
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

The following exports improperly try to read from the packages tree rather than the installed tree. Example:
vcpkg-tool/src/vcpkg/export.ifw.cpp
Line 459 in 61d0793
Note how this calls package_dir for the spec and tries to copy from there, rather than from the installed tree.
This means they never tried to export from the correct place, and any packages that were, for example, restored from binary cache, would never be exported successfully. This was discovered trying to fix concurrent packages directory access problems in #802
Moreover, each has additional problems:
ifwis currently toast because it wants nonexistent tools:prefabhas been broken for at least 4 years, see #1344 and #317chocolatelyis closest to working, but as is can't even export vcpkg-cmake. This is before my changes:I can workaround this failure by supplying a default description, but finding out that it can't even handle vcpkg-cmake is strong evidence that there are 0 users of this and trying to fix it is not worth the effort.
Other notes: