Skip to content

[AutoPR Azure.ResourceManager.PureStorageBlock]-generated-from-spec-gen-sdk - net-4843288 #49911

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

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
11 changes: 10 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,10 @@
# ServiceOwners: @thomasp98296

# PRLabel: %Neon Postgres
/sdk/neonpostgres/Azure.ResourceManager.*/ @ArcturusZhang @ArthurMa1978
/sdk/neonpostgres/Azure.ResourceManager.*/ @ArcturusZhang @ArthurMa1978 @alluri02

# ServiceLabel: %Neon Postgres %Mgmt
# ServiceOwners: @alluri02

# PRLabel: %Network - CDN
/sdk/cdn/Azure.ResourceManager.*/ @ArcturusZhang @ArthurMa1978
Expand Down Expand Up @@ -1167,3 +1170,9 @@

#PRLabel: %CodeGen %Client
/eng/scripts/typespec/ @JoshLove-msft @m-nash @jorgerangel-msft @jsquire @live1206 @ArcturusZhang

# PRLabel: %PureStorage
/sdk/purestorageblock/Azure.ResourceManager.*/ @deepakmauryams

# ServiceLabel: %PureStorage %Mgmt
# ServiceOwners: @deepakmauryams
1 change: 1 addition & 0 deletions eng/Directory.Build.Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
CA1812; <!-- Avoid uninstantiated internal classes. (Result from below including the Azure.Core source) -->
AZC0012; <!-- Single word class names -->
AZC0008;
SCM0005; <!-- Resources currently do not have a parameterless ctor so builders cannot be created for them -->
</NoWarn>
</PropertyGroup>

Expand Down
38 changes: 23 additions & 15 deletions eng/Directory.Build.Common.targets
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,27 @@
Text="Api Compat cannot be disabled."/>
</Target>

<PropertyGroup>
<PackageRootDirectory>$([MSBuild]::NormalizeDirectory($(MSBuildProjectDirectory)/../).TrimEnd("/").TrimEnd("\\"))</PackageRootDirectory>
</PropertyGroup>

<!-- Set PackageProjectUrl and PackageReleaseNotes to the package README.md and CHANGELOG.md respectively for DataPlane Libraries -->
<Target Name="SetPackageProjectUrlandReleaseNotes" BeforeTargets="GenerateNuspec" DependsOnTargets="InitializeSourceControlInformationFromSourceControlManager" Condition="'$(IsShippingLibrary)' == 'true' and '$(SourceRevisionId)' != ''">
<Error Condition="'$(IsClientLibrary)' == 'true' and '$(PackageReleaseNotes)' != ''" Text="Do NOT set PackageReleaseNotes property in the project. Release notes are added automatically from package changelog" />
<PropertyGroup>
<PackageRootPath>$([MSBuild]::NormalizeDirectory($(MSBuildProjectDirectory)/../))</PackageRootPath>
<DirectoryPartofPath>$(PackageRootPath.Replace($(RepoRoot), ''))</DirectoryPartofPath>
<PackageProjectUrl Condition="Exists('$(PackageRootPath)/README.md') and '$(SkipDevBuildNumber)' != 'true'">$([System.UriBuilder]::new($(RepositoryUrl)/blob/$(SourceRevisionId)/$(DirectoryPartofPath)README.md).Uri)</PackageProjectUrl>
<PackageProjectUrl Condition="Exists('$(PackageRootPath)/README.md') and '$(SkipDevBuildNumber)' == 'true'">$([System.UriBuilder]::new($(RepositoryUrl)/blob/$(PackageId)_$(Version)/$(DirectoryPartofPath)README.md).Uri)</PackageProjectUrl>
<PackageReleaseNotes Condition="Exists('$(PackageRootPath)/CHANGELOG.md') and '$(SkipDevBuildNumber)' != 'true'">$([System.UriBuilder]::new($(RepositoryUrl)/blob/$(SourceRevisionId)/$(DirectoryPartofPath)CHANGELOG.md).Uri)</PackageReleaseNotes>
<PackageReleaseNotes Condition="Exists('$(PackageRootPath)/CHANGELOG.md') and '$(SkipDevBuildNumber)' == 'true'">$([System.UriBuilder]::new($(RepositoryUrl)/blob/$(PackageId)_$(Version)/$(DirectoryPartofPath)CHANGELOG.md).Uri)</PackageReleaseNotes>
<DirectoryPartofPath>$(PackageRootDirectory.Replace($(RepoRoot), ''))</DirectoryPartofPath>
<PackageProjectUrl Condition="Exists('$(PackageRootDirectory)/README.md') and '$(SkipDevBuildNumber)' != 'true'">$([System.UriBuilder]::new($(RepositoryUrl)/blob/$(SourceRevisionId)/$(DirectoryPartofPath)README.md).Uri)</PackageProjectUrl>
<PackageProjectUrl Condition="Exists('$(PackageRootDirectory)/README.md') and '$(SkipDevBuildNumber)' == 'true'">$([System.UriBuilder]::new($(RepositoryUrl)/blob/$(PackageId)_$(Version)/$(DirectoryPartofPath)README.md).Uri)</PackageProjectUrl>
<PackageReleaseNotes Condition="Exists('$(PackageRootDirectory)/CHANGELOG.md') and '$(SkipDevBuildNumber)' != 'true'">$([System.UriBuilder]::new($(RepositoryUrl)/blob/$(SourceRevisionId)/$(DirectoryPartofPath)CHANGELOG.md).Uri)</PackageReleaseNotes>
<PackageReleaseNotes Condition="Exists('$(PackageRootDirectory)/CHANGELOG.md') and '$(SkipDevBuildNumber)' == 'true'">$([System.UriBuilder]::new($(RepositoryUrl)/blob/$(PackageId)_$(Version)/$(DirectoryPartofPath)CHANGELOG.md).Uri)</PackageReleaseNotes>
</PropertyGroup>
</Target>

<!-- Validates that there is a release note entry for the current package version -->
<Target Name="ValidateReleaseNotes" BeforeTargets="SetPackageProjectUrlandReleaseNotes" Condition="'$(IsShippingLibrary)' == 'true'" >
<PropertyGroup>
<ValidateReleaseNotesScriptPath Condition=" '$(ValidateReleaseNotesScriptPath)'=='' ">$(MSBuildThisFileDirectory)common/scripts/Verify-ChangeLog.ps1</ValidateReleaseNotesScriptPath>
<ChangeLogPath>$([MSBuild]::NormalizeDirectory($(MSBuildProjectDirectory)/../))CHANGELOG.md</ChangeLogPath>
<ChangeLogPath>$(PackageRootDirectory)/CHANGELOG.md</ChangeLogPath>
</PropertyGroup>
<Exec ContinueOnError="true" ConsoleToMSBuild="true" StandardOutputImportance="High" Command="$(PowerShellExe) -NoProfile -NonInteractive -executionpolicy Unrestricted -File $(ValidateReleaseNotesScriptPath) -ChangeLogLocation $(ChangeLogPath) -VersionString $(_VersionInProject)">
<Output TaskParameter="ExitCode" PropertyName="SetReleaseNotesErrorCode" />
Expand All @@ -52,7 +55,7 @@
</Target>

<PropertyGroup>
<OriginalReadmeMdPath>$([MSBuild]::NormalizeDirectory($(MSBuildProjectDirectory)/../))README.md</OriginalReadmeMdPath>
<OriginalReadmeMdPath>$(PackageRootDirectory)/README.md</OriginalReadmeMdPath>
<ProcessedReadmeMdPath>$(IntermediateOutputPath)README.md</ProcessedReadmeMdPath>
<EnableNuGetReadmeMd Condition="'$(DesignTimeBuild)' != 'true' and Exists('$(OriginalReadmeMdPath)')">true</EnableNuGetReadmeMd>
<PackageReadmeFile Condition="'$(EnableNuGetReadmeMd)' == 'true'">README.md</PackageReadmeFile>
Expand Down Expand Up @@ -113,7 +116,7 @@
<!-- Add Package Icon to DataPlane Packages -->
<ItemGroup Condition="'$(IsTestProject)' != 'true'">
<None Include="$(PackageIconPath)" Pack="true" PackagePath=""/>
<None Condition="Exists('$(MSBuildProjectDirectory)/../CHANGELOG.md')" Include="$(MSBuildProjectDirectory)/../CHANGELOG.md" Pack="true" PackagePath=""/>
<None Condition="Exists('$(PackageRootDirectory)/CHANGELOG.md')" Include="$(PackageRootDirectory)/CHANGELOG.md" Pack="true" PackagePath=""/>
</ItemGroup>

<!-- Add App.config to enable server GC in net462 perf and stress projects -->
Expand Down Expand Up @@ -198,8 +201,9 @@

<!-- Add System.ClientModel.SourceGeneration project reference if System.ClientModel was contained in ProjectsToConvert -->
<_DependsOnSystemClientModel Include="@(ProjectsToConvert)" Exclude="System.ClientModel" />
<_DependsOnAzureCore Include="@(ProjectsToConvert)" Exclude="Azure.Core" />
<ProjectReference
Condition="'@(_DependsOnSystemClientModel)' != '@(ProjectsToConvert)'"
Condition="'@(_DependsOnSystemClientModel)' != '@(ProjectsToConvert)' or '@(_DependsOnAzureCore)' != '@(ProjectsToConvert)'"
Include="$(RepoRoot)\sdk\core\System.ClientModel\gen\System.ClientModel.SourceGeneration.csproj"
ReferenceOutputAssembly="false"
OutputItemType="Analyzer" />
Expand Down Expand Up @@ -381,8 +385,6 @@
<PackageSdkType Condition="'$(IsFunctionsLibrary)' == 'true'">functions</PackageSdkType>
<PackageSdkType Condition="'$(IsMgmtLibrary)' == 'true'">mgmt</PackageSdkType>

<PackageRootDirectory>$([MSBuild]::NormalizeDirectory($(MSBuildProjectDirectory)/../).TrimEnd("/").TrimEnd("\\"))</PackageRootDirectory>

<!-- If the AddDevVersion property is true this will output the generated dev version (e.g. 1.0.0-alpha.20210921.1) -->
<VersionForProperties>$(_VersionInProject)</VersionForProperties>
<VersionForProperties Condition="'$(AddDevVersion)' == 'true'">$(Version)</VersionForProperties>
Expand Down Expand Up @@ -419,12 +421,18 @@

<Target Name="ProjectDependsOnInner" DependsOnTargets="ResolveReferences" Returns="@(ProjectsToInclude)">
<ItemGroup>
<_TestDependsOnDendencies Include="$(TestDependsOnDependency.Split(' '))" />
<_LibrariesReferenced Include="@(ReferencePath -> '%(Filename)')"/>
<_DependsOnGiven Include="@(_LibrariesReferenced)" Condition="'%(Identity)' == '$(TestDependsOnDependency)'" />
<_DependsOnGiven Include="@(_TestDependsOnDendencies)" Exclude="@(_LibrariesReferenced)'" />
</ItemGroup>

<ItemGroup Condition="'@(_DependsOnGiven)' != '' and '$(IsClientLibrary)' == 'true'" >
<ProjectsToInclude Include="$(MSBuildProjectFullPath)" />
<PropertyGroup>
<_ProjectName>%24%28RepoRoot%29$(MSBuildProjectFullPath.Replace($(RepoRoot), ''))</_ProjectName>
<_ProjectName Condition="'$(TestDependsIncludePackageRootDirectoryOnly)' == 'true'">$(PackageRootDirectory)</_ProjectName>
</PropertyGroup>

<ItemGroup Condition="'@(_DependsOnGiven)' != '@(_TestDependsOnDendencies)' and '$(IsClientLibrary)' == 'true'" >
<ProjectsToInclude Include="$(_ProjectName)" />
</ItemGroup>
</Target>

Expand Down
14 changes: 7 additions & 7 deletions eng/Packages.Data.props
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@
</ItemGroup>

<ItemGroup Condition="'$(IsGeneratorLibrary)' == 'true'">
<PackageReference Update="Microsoft.TypeSpec.Generator.ClientModel" Version="1.0.0-alpha.20250507.1" />
<PackageReference Update="Microsoft.TypeSpec.Generator.Input" Version="1.0.0-alpha.20250507.1" />
<PackageReference Update="Microsoft.TypeSpec.Generator.ClientModel" Version="1.0.0-alpha.20250508.3" />
<PackageReference Update="Microsoft.TypeSpec.Generator.Input" Version="1.0.0-alpha.20250508.3" />
<PackageReference Update="Azure.Generator" Version="1.0.0-alpha.20250429.2" />
<PackageReference Update="System.ClientModel" Version="1.4.0" />
</ItemGroup>
Expand Down Expand Up @@ -277,8 +277,8 @@
All should have PrivateAssets="All" set so they don't become package dependencies
-->
<ItemGroup>
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20250430.1" PrivateAssets="All" />
<PackageReference Update="Azure.ClientSdk.Analyzers" Version="0.1.1-dev.20250310.1" PrivateAssets="All" />
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20250508.1" PrivateAssets="All" />
<PackageReference Update="Azure.ClientSdk.Analyzers" Version="0.1.1-dev.20250422.1" PrivateAssets="All" />
<PackageReference Update="coverlet.collector" Version="3.2.0" PrivateAssets="All" />
<!-- Note: Upgrading the .NET SDK version needs to be synchronized with the autorest.csharp repository -->
<PackageReference Update="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0" PrivateAssets="All"/>
Expand Down Expand Up @@ -306,7 +306,7 @@
<PackageReference Update="Azure.Messaging.EventHubs.Processor" Version="5.12.0" />
<PackageReference Update="Azure.Messaging.ServiceBus" Version="7.19.0" />
<PackageReference Update="Azure.ResourceManager" Version="1.13.0" />
<PackageReference Update="Azure.ResourceManager.Compute" Version="1.7.0-beta.1" />
<PackageReference Update="Azure.ResourceManager.Compute" Version="1.9.0" />
<PackageReference Update="Azure.ResourceManager.CognitiveServices" Version="1.3.0" />
<PackageReference Update="Azure.ResourceManager.ContainerService" Version="1.2.3" />
<PackageReference Update="Azure.ResourceManager.KeyVault" Version="1.3.2" />
Expand All @@ -315,8 +315,8 @@
<PackageReference Update="Azure.ResourceManager.OperationalInsights" Version="1.3.0-beta.1" />
<PackageReference Update="Azure.ResourceManager.PrivateDns" Version="1.2.1" />
<PackageReference Update="Azure.ResourceManager.RecoveryServices" Version="1.2.0-beta.1" />
<PackageReference Update="Azure.ResourceManager.Resources" Version="1.6.0" />
<PackageReference Update="Azure.ResourceManager.Storage" Version="1.1.1" />
<PackageReference Update="Azure.ResourceManager.Resources" Version="1.9.1" />
<PackageReference Update="Azure.ResourceManager.Storage" Version="1.4.1" />
<PackageReference Update="Azure.ResourceManager.Kubernetes" Version="1.0.0-beta.3" />
<PackageReference Update="Azure.ResourceManager.KubernetesConfiguration" Version="1.2.0-beta.1" />
<PackageReference Update="Azure.ResourceManager.ExtendedLocations" Version="1.1.0-beta.1" />
Expand Down
16 changes: 8 additions & 8 deletions eng/emitter-package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion eng/emitter-package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"main": "dist/src/index.js",
"dependencies": {
"@azure-tools/typespec-csharp": "0.2.0-beta.20250430.1"
"@azure-tools/typespec-csharp": "0.2.0-beta.20250508.1"
},
"devDependencies": {
"@azure-tools/typespec-autorest": "0.55.0",
Expand Down
Loading
Loading