Repository navigation
Unpack each NuGet provider's packages into a folder of its own - #71
Merged
Merged
Conversation
previous-nuget and nuget for the same version unpacked into one folder, and each copied the other's assemblies over its own as if they were dependencies, so the diff said there was no difference; the folder then stayed polluted for later runs. Each provider now has its own folder, cleared before it unpacks. The github provider took its folder from TEMP, which only Windows sets. Fixes #57. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
previous-nugetandnugetfor the same version now unpack into separate folders, cleared before each run, so their diff shows the real difference.Prompt summary: The tool is being dusted off. Diffing the last release against the current version, the way CI does, has to give a correct answer on the first run and on every later one.
Why
Both providers unpacked into
differ/nuget/<id>/<version>.previous-nuget|Proc|0.14.0puts 0.13.0 there, andnuget|Proc|0.14.0puts 0.14.0 next to it. Each provider treats the other folders as dependencies and copies their assemblies over its own, so the diff compared one build with itself and said "No diff". The folder stayed that way for every later run (#57).What
A folder per provider
Packages unpack into
differ/<provider>/<id>/<version>, soprevious-nugetandnugetnever share one. The folder is deleted before a run unpacks into it, because copying dependencies changes it. Downloads still come from the NuGet global packages folder, so a second run does not download again.The github provider on Linux and macOS
github|...took its working folder from theTEMPenvironment variable, which only Windows sets, so it failed everywhere else. It now usesPath.GetTempPath().Verify
The new test fails on
main.🤖 Generated with Claude Code