Skip to content

Fix locals temp cleanup to clear the lock directory on Linux - #7862

Merged
zivkan merged 1 commit into
devfrom
dev-zivkan-linux-temp-cleanup
Nov 16, 2026
Merged

zivkan merged 1 commit into
devfrom
dev-zivkan-linux-temp-cleanup

Conversation

@zivkan

@zivkan zivkan commented Nov 6, 2026

Copy link
Copy Markdown
Member

Bug

Fixes: NuGet/Home#15111

Description

On Linux with modern .NET, dotnet nuget locals temp --clear now clears the actual lock directory instead of NuGetScratch. Listing and all use the same path, including NUGET_SCRATCH overrides.

Windows, macOS, and .NET Framework behavior is unchanged.

Follow-up to #7802.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

@zivkan
zivkan marked this pull request as ready for review November 6, 2026 06:15
@zivkan
zivkan requested a review from a team as a code owner November 6, 2026 06:15
@dotnet-policy-service dotnet-policy-service Bot added the Status:No recent activity PRs that have not had any recent activity and will be closed if the label is not removed label Nov 13, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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 15 days of this comment, unless it has a "Status:Do not auto close" label. If it is closed, you may reopen it anytime when you're ready again, as long as you don't delete the branch.

@zivkan
zivkan force-pushed the dev-zivkan-linux-temp-cleanup branch from 8e8905b to 2e28227 Compare November 13, 2026 20:46
@dotnet-policy-service dotnet-policy-service Bot removed the Status:No recent activity PRs that have not had any recent activity and will be closed if the label is not removed label Nov 13, 2026
@zivkan
zivkan merged commit e53934f into dev Nov 16, 2026
18 checks passed
@zivkan
zivkan deleted the dev-zivkan-linux-temp-cleanup branch November 16, 2026 21:03
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.

Move NuGet's lock directory on Linux

2 participants