-
Notifications
You must be signed in to change notification settings - Fork 730
Wire up nuspec-based pack to deterministic mode #6580
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
base: dev
Are you sure you want to change the base?
Conversation
When building nuspec-based packages, the deterministic-mode configuration is not flowed correctly to the PackageBuilder class (which is initialized using this PackArgs object). Seems like this was missed from the initial deterministic support in NuGet#2989. This commit is a no-op until deterministic mode is enabled and NuGet/Home#8601 is fixed.
I don't have permissions to re-open :( |
I do :) |
I guess if you want to get this reviewed you'd need to move it from Draft to Ready for review |
Thanks for re-opening. I plan to add some tests, and fill out the PR forms before making it ready for review. |
This is still on my plate, just a bit lower priority. I plan to work on this some time in the next few weeks. |
What is the benefit of this PR if deterministic mode is not enabled? Given that the last time deterministic mode was tried back in 2019, that it caused a whole bunch of people serious issues and the feature had to be removed, my concern is that looking at this PR's diff is not enough to determine whether this PR is safe to accept. Additional validation would be needed to ensure that pack of both projects and nuspec files do not result in packages with fixed timestamps. But since this does not change behavior from a customer point of view, time spent validating "nothing has changed" is less valuable than fixing bugs, adding features, or even working on docs. My suggestion is to avoid working on anything related to deterministic pack's implementation until it's determined that deterministic pack is safe to re-enable. If someone dislikes |
Nothing. I am working on re-enabling it, and this was an isolated bug-fix from everything else in that change.
Okay. |
This PR has been automatically marked as stale because it has no activity for 7 days. It will be closed if no further activity occurs within another 30 days of this comment. If it is closed, you may reopen it anytime when you're ready again, as long as you don't delete the branch. |
Bug
Fixes:
Description
When building nuspec-based packages, the deterministic-mode configuration is not flowed correctly to the PackageBuilder class (which is initialized using this PackArgs object). Seems like this was missed from the initial deterministic support in #2989.
This commit is a no-op until deterministic mode is enabled and NuGet/Home#8601 is fixed.
PR Checklist