Skip to content

Darc vmr commands should use darc tmp folder#5349

Merged
dkurepa merged 1 commit into
dotnet:mainfrom
dkurepa:dkurepa/DarcVmrCommandsUseDarcTmp
Oct 8, 2025
Merged

Darc vmr commands should use darc tmp folder#5349
dkurepa merged 1 commit into
dotnet:mainfrom
dkurepa:dkurepa/DarcVmrCommandsUseDarcTmp

Conversation

@dkurepa

@dkurepa dkurepa commented Oct 8, 2025

Copy link
Copy Markdown
Member

Copilot AI review requested due to automatic review settings October 8, 2025 12:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modifies Darc VMR commands to use a dedicated "darc-clones" subdirectory within the system's temp folder instead of using the temp folder directly for cloning repositories.

  • Introduces a constant for the default Darc clones directory name
  • Updates VMR command options to use the dedicated subdirectory for temporary operations

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/Microsoft.DotNet.Darc/Darc/Constants.cs Adds constant DefaultDarcClonesDirectoryName with value "darc-clones"
src/Microsoft.DotNet.Darc/Darc/Options/VirtualMonoRepo/VmrCommandLineOptionsBase.cs Updates temp path logic to use darc-clones subdirectory and adds required import

@dkurepa dkurepa enabled auto-merge (squash) October 8, 2025 12:32
@dkurepa dkurepa merged commit 9c0277a into dotnet:main Oct 8, 2025
7 of 9 checks passed
premun added a commit that referenced this pull request Oct 21, 2025
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.

3 participants