-
Notifications
You must be signed in to change notification settings - Fork 40
Move submodules along with projects, patches, and keys into single src dir #484
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
Conversation
Directory.Build.props
Outdated
<KeysDir>$(ProjectDir)src/repos/keys/</KeysDir> | ||
<SubmoduleDirectory>$(ProjectDir)src/repos/src/</SubmoduleDirectory> | ||
<PatchesDir>$(ProjectDir)src/repos/patches/</PatchesDir> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What logic is dependent on this? I'm thinking these definitions should be relocated to a Directory.Build.props file in src/repos.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed with d703753.
5b3d4f1
to
439cc52
Compare
439cc52
to
d703753
Compare
@@ -31,7 +35,6 @@ | |||
<!-- _InitializeDotNetCli is used by websdk and templating to decide whether to init the SDK --> | |||
<EnvironmentVariables Include="_InitializeDotNetCli=$(DotNetRoot)" /> | |||
<EnvironmentVariables Include="_DotNetInstallDir=$(DotNetRoot)" /> | |||
<EnvironmentVariables Include="_InitializeToolset=$(ProjectDir)Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj" Condition="'$(UseBootstrapArcade)' != 'true'" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is obviously out of date and not in use so I removed it since I would like to remove the ProjectDir property.
@@ -6,6 +6,10 @@ | |||
<TargetFramework>$(NetCurrent)</TargetFramework> | |||
<RepositoryName>$(MSBuildProjectName)</RepositoryName> | |||
|
|||
<SrcReposDir>$(SrcDir)repos/</SrcReposDir> | |||
<KeysDir>$(SrcReposDir)keys/</KeysDir> | |||
<SubmoduleDirectory>$(SrcReposDir)src/</SubmoduleDirectory> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is an opportunity to make the names more consistent - e.g. Dir vs Directory. This would expand the scope beyond the core intent.
#484 moved the repos but the CredScanSuppressions.json wasn't updated.
#484 moved the repos but the CredScanSuppressions.json wasn't updated.
Related to dotnet/source-build#5142
This is directory refactoring is to support migrating the text-only packages from SBRP to SBE. These changes are aiming to consolidate the files/directories to support submodule repos versus the soon to come text-only packages.
Original Directory Structure:
New Directory Structure: