Skip to content

Merge websites-preview branch for BUILD #6046

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

Merged
merged 57 commits into from
Apr 26, 2018

Conversation

markcowl
Copy link
Member

@markcowl markcowl commented Apr 25, 2018

Description

Checklist

Nicholas King and others added 30 commits October 27, 2017 13:59
… snapshots. Fixed Restore-AzureRmWebAppBackup cmdlet that was broken due to a breaking API change in a recent update.
…pp is not enumerated when written to the pipeline
… snapshot cmdlet. Changed get snapshot cmdlet name to be singular.
versions, removed snapshots cmdlets for future work
Update websites-preview with latest from preview branch
…mand. Updated help file for the command. Fixed return type of get snapshot command.
Update websites-preview branch
@markcowl
Copy link
Member Author

@@ -140,6 +141,8 @@ PrivateData = @{
# External dependent modules of this module
# ExternalModuleDependencies = @()

Prerelease = 'preview'
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be reverted.

@@ -32,6 +32,10 @@
* Fixed issue with importing aliases
* New-AzureRMWebApp - added parameter set for simplified WebApp creation, with local git repository support.

## Version 5.0.0-preview
Copy link
Contributor

Choose a reason for hiding this comment

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

Move the content of this into ## Current Release

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@@ -84,6 +83,12 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.28.3\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove clientruntime and system.management.automation references, as these are in common dependencies.

@@ -323,6 +310,4 @@
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
<Import Project="..\..\..\..\tools\Common.Dependencies.Test.targets" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Add this back.

<package id="Microsoft.Azure.Test.Framework" version="1.0.6179.26854-prerelease" targetFramework="net45" />
<package id="Microsoft.Azure.Test.HttpRecorder" version="1.6.7-preview" targetFramework="net45" />
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="net45" />
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net45" />
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net45" />
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.28.3" targetFramework="net45" />
<package id="Microsoft.Net.Http" version="2.2.29" targetFramework="net45" />
<package id="Microsoft.Rest.ClientRuntime" version="2.3.10" targetFramework="net452" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove these two references

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Management.ResourceManager" Version="1.6.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Websites" Version="1.7.1-preview" />
<PackageReference Include="System.Collections.Specialized" Version="4.3.0" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need all these package references?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes

@@ -1144,6 +1144,9 @@
"Microsoft.Azure.Commands.Compute.dll","Microsoft.Azure.Commands.Compute.Automation.SetAzureRmVmssStorageProfileCommand","Set-AzureRmVmssStorageProfile","0","3030","The generic type for 'parameter ManagedDisk' has been changed from 'System.Nullable`1[Microsoft.Azure.Management.Compute.Models.StorageAccountTypes]' to 'System.Nullable`1[Microsoft.Azure.Commands.Compute.Models.PSStorageAccountTypes]'. ","Change the generic type for 'parameter ManagedDisk' back to 'System.Nullable`1[Microsoft.Azure.Management.Compute.Models.StorageAccountTypes]'."
"Microsoft.Azure.Commands.Subscription.dll","Microsoft.Azure.Commands.Subscription.Cmdlets.NewAzureRmSubscriptionDefinition","New-AzureRmSubscriptionDefinition","0","1000","The cmdlet 'New-AzureRmSubscriptionDefinition' has been removed and no alias was found for the original cmdlet name.","Add the cmdlet 'New-AzureRmSubscriptionDefinition' back to the module, or add an alias to the original cmdlet name."
"Microsoft.Azure.Commands.Subscription.dll","Microsoft.Azure.Commands.Subscription.Cmdlets.GetAzureRmSubscriptionDefinition","Get-AzureRmSubscriptionDefinition","0","1000","The cmdlet 'Get-AzureRmSubscriptionDefinition' has been removed and no alias was found for the original cmdlet name.","Add the cmdlet 'Get-AzureRmSubscriptionDefinition' back to the module, or add an alias to the original cmdlet name."
"Microsoft.Azure.Commands.Resources.dll","Microsoft.Azure.Commands.Resources.GetAzureRoleDefinitionCommand","Get-AzureRmRoleDefinition","0","2000","The cmdlet 'Get-AzureRmRoleDefinition' no longer supports the parameter 'AtScopeAndBelow' and no alias was found for the original parameter name.","Add the parameter 'AtScopeAndBelow' back to the cmdlet 'Get-AzureRmRoleDefinition', or add an alias to the original parameter name."
Copy link
Contributor

Choose a reason for hiding this comment

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

These three entries probably should be removed, as they aren't included in this PR.

@@ -12,7 +12,7 @@
# RootModule = ''

# Version number of this module.
ModuleVersion = '4.2.2'
ModuleVersion = '5.0.0'
Copy link
Contributor

Choose a reason for hiding this comment

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

What version do we want this module to be? Having a preview and a stable module with the same version could be confusing and might cause problems for installation - do we want this to bump to 6.0.0?

@@ -84,6 +83,9 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.28.3\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove this clientruntime.azure reference and the system.management.automation reference below.

<package id="Microsoft.Azure.Test.Framework" version="1.0.6179.26854-prerelease" targetFramework="net45" />
<package id="Microsoft.Azure.Test.HttpRecorder" version="1.6.7-preview" targetFramework="net45" />
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="net45" />
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net45" />
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net45" />
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.28.3" targetFramework="net45" />
<package id="Microsoft.Net.Http" version="2.2.29" targetFramework="net45" />
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.10" targetFramework="net452" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove this reference as well.

@@ -1144,6 +1144,8 @@
"Microsoft.Azure.Commands.Compute.dll","Microsoft.Azure.Commands.Compute.Automation.SetAzureRmVmssStorageProfileCommand","Set-AzureRmVmssStorageProfile","0","3030","The generic type for 'parameter ManagedDisk' has been changed from 'System.Nullable`1[Microsoft.Azure.Management.Compute.Models.StorageAccountTypes]' to 'System.Nullable`1[Microsoft.Azure.Commands.Compute.Models.PSStorageAccountTypes]'. ","Change the generic type for 'parameter ManagedDisk' back to 'System.Nullable`1[Microsoft.Azure.Management.Compute.Models.StorageAccountTypes]'."
"Microsoft.Azure.Commands.Subscription.dll","Microsoft.Azure.Commands.Subscription.Cmdlets.NewAzureRmSubscriptionDefinition","New-AzureRmSubscriptionDefinition","0","1000","The cmdlet 'New-AzureRmSubscriptionDefinition' has been removed and no alias was found for the original cmdlet name.","Add the cmdlet 'New-AzureRmSubscriptionDefinition' back to the module, or add an alias to the original cmdlet name."
"Microsoft.Azure.Commands.Subscription.dll","Microsoft.Azure.Commands.Subscription.Cmdlets.GetAzureRmSubscriptionDefinition","Get-AzureRmSubscriptionDefinition","0","1000","The cmdlet 'Get-AzureRmSubscriptionDefinition' has been removed and no alias was found for the original cmdlet name.","Add the cmdlet 'Get-AzureRmSubscriptionDefinition' back to the module, or add an alias to the original cmdlet name."
"Microsoft.Azure.Commands.Resources.dll","Microsoft.Azure.Commands.Resources.GetAzureRoleDefinitionCommand","Get-AzureRmRoleDefinition","0","1050","The parameter set 'RoleDefinitionNameParameterSet' for cmdlet 'Get-AzureRmRoleDefinition' has been removed.","Add parameter set 'RoleDefinitionNameParameterSet' back to cmdlet 'Get-AzureRmRoleDefinition'."
Copy link
Contributor

Choose a reason for hiding this comment

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

This still has two extra lines that shouldn't be here.

@maddieclayton
Copy link
Contributor

MiYanni added a commit to MiYanni/azure-powershell that referenced this pull request Apr 25, 2018
…rsion of Storage for websites test in desktop to be compatible with using MockContext, but still have the recordings work. Got the netcore Websites tests working but skip some because of the storage version being out-of-date.
@maddieclayton maddieclayton merged commit 47b26ee into Azure:release-6.0.0 Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants