Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
6bc2b55
return correct casing of filesystem path during normalization
SteveL-MSFT Mar 29, 2019
bc4b108
handle UNC case
Mar 30, 2019
a3f80e7
handle case to add trailing separator back
Mar 30, 2019
f0264d0
add support for NTFS streams syntax
SteveL-MSFT Mar 30, 2019
882e94f
add case-sensitive test
SteveL-MSFT Mar 30, 2019
9e7fe9a
only apply correct casing to directories
SteveL-MSFT Mar 31, 2019
11f93c5
handle 8.3 path syntax
SteveL-MSFT Apr 1, 2019
586084f
fix short path processing
SteveL-MSFT Apr 1, 2019
f286c8c
Remove elements which do not work on earlier version on Windows Power…
adityapatwardhan Apr 18, 2019
213ff96
Use `Environment.NewLine` for new lines in `ConsoleHost` code (#9392)
iSazonov Apr 19, 2019
c6269bd
Run CodeFormatter for Eventing (#9394)
iSazonov Apr 19, 2019
ced70d3
Run CodeFormatter for MarkdownRender (#9398)
iSazonov Apr 19, 2019
1c8a89b
Run CodeFormatter for Security module (#9399)
iSazonov Apr 19, 2019
9d04e90
Run CodeFormatter for WSMan.Runtime (#9401)
iSazonov Apr 19, 2019
1c4d88c
Run CodeFormatter for WSMan.Management (#9400)
iSazonov Apr 19, 2019
609d610
Allow CI to run on branches with this name pattern: feature* (#9415)
daxian-dbw Apr 19, 2019
ca447c3
Run CodeFormatter with BraceNewLine,UsingLocation,FormatDocument,NewL…
iSazonov Apr 20, 2019
40dc953
Build(deps): Bump NJsonSchema from 9.13.30 to 9.13.34 (#9421)
dependabot[bot] Apr 20, 2019
f070332
Build(deps): Bump NJsonSchema from 9.13.34 to 9.13.35 (#9429)
dependabot[bot] Apr 22, 2019
ecbde6c
Build(deps): Bump Newtonsoft.Json (#9431)
dependabot[bot] Apr 22, 2019
fd1d3ce
Build(deps): Bump Newtonsoft.Json from 12.0.1 to 12.0.2 (#9434)
dependabot[bot] Apr 22, 2019
3e1f630
Add Preview assets for msix (#9375)
SteveL-MSFT Apr 22, 2019
0bd9377
Adding tests for `Remove-Module` (#9276)
Apr 22, 2019
600a937
Build(deps): Bump gulp from 4.0.0 to 4.0.1 in /test/common/markdown (…
dependabot[bot] Apr 23, 2019
5e58e30
Move warning message to EndProcessing so it only shows up once (#9385)
SteveL-MSFT Apr 23, 2019
095be46
Return correct casing of filesystem path during normalization (#9250)
Apr 23, 2019
ceed73d
Run Codeformatter for SMA (#9402)
iSazonov Apr 24, 2019
687697b
Fix the failed test and update 'Publish-TestResults' to make AzDO fai…
daxian-dbw Apr 25, 2019
e81aa98
Enable building on Kali Linux (#9471)
SteveL-MSFT Apr 26, 2019
9f429f0
Build test packages for windows, linux-x64, linux-arm, linux-arm64 an…
adityapatwardhan Apr 26, 2019
91c66d5
Build(deps): Bump NJsonSchema from 9.13.35 to 9.13.36 (#9478)
dependabot[bot] Apr 26, 2019
7de4210
Update Release_Process.md
adityapatwardhan Apr 26, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/Release_Process.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ Please **only** use this template if you are a maintainer.
- [ ] Delete the release branch.
- [ ] Trigger the Docker image release.
- [ ] Retain builds.
- [ ] Update https://github.com/dotnet/dotnet-docker/tree/master/3.0/sdk with new version and SHA hashes for global tool.
2 changes: 2 additions & 0 deletions .vsts-ci/install-ps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ trigger:
include:
- master
- release*
- feature*
paths:
include:
- /tools/install-powershell.sh
Expand All @@ -21,6 +22,7 @@ pr:
include:
- master
- release*
- feature*
paths:
include:
- /tools/install-powershell.sh
Expand Down
2 changes: 2 additions & 0 deletions .vsts-ci/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ trigger:
include:
- master
- release*
- feature*
paths:
include:
- '*'
Expand All @@ -19,6 +20,7 @@ pr:
include:
- master
- release*
- feature*
paths:
include:
- '*'
Expand Down
2 changes: 2 additions & 0 deletions .vsts-ci/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ trigger:
include:
- master
- release*
- feature*
paths:
include:
- '*'
Expand All @@ -19,6 +20,7 @@ pr:
include:
- master
- release*
- feature*
paths:
include:
- '*'
Expand Down
2 changes: 2 additions & 0 deletions .vsts-ci/misc-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ trigger:
include:
- master
- release*
- feature*

pr:
branches:
include:
- master
- release*
- feature*

resources:
- repo: self
Expand Down
2 changes: 2 additions & 0 deletions .vsts-ci/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ trigger:
include:
- master
- release*
- feature*
paths:
include:
- '*'
Expand All @@ -19,6 +20,7 @@ pr:
include:
- master
- release*
- feature*
paths:
include:
- '*'
Expand Down
Binary file added assets/Square150x150Logo-Preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Square44x44Logo-Preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Square44x44Logo.targetsize-48-Preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/StoreLogo-Preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 15 additions & 6 deletions build.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function Get-EnvironmentInformation
$LinuxInfo = Get-Content /etc/os-release -Raw | ConvertFrom-StringData

$environment += @{'LinuxInfo' = $LinuxInfo}
$environment += @{'IsDebian' = $LinuxInfo.ID -match 'debian'}
$environment += @{'IsDebian' = $LinuxInfo.ID -match 'debian' -or $LinuxInfo.ID -match 'kali'}
$environment += @{'IsDebian9' = $Environment.IsDebian -and $LinuxInfo.VERSION_ID -match '9'}
$environment += @{'IsUbuntu' = $LinuxInfo.ID -match 'ubuntu'}
$environment += @{'IsUbuntu16' = $Environment.IsUbuntu -and $LinuxInfo.VERSION_ID -match '16.04'}
Expand Down Expand Up @@ -842,7 +842,10 @@ function Get-PesterTag {

function Publish-PSTestTools {
[CmdletBinding()]
param()
param(
[string]
$runtime
)

Find-Dotnet

Expand All @@ -859,7 +862,12 @@ function Publish-PSTestTools {
{
Push-Location $tool.Path
try {
dotnet publish --output bin --configuration $Options.Configuration --framework $Options.Framework --runtime $Options.Runtime
if (-not $runtime) {
dotnet publish --output bin --configuration $Options.Configuration --framework $Options.Framework --runtime $Options.Runtime
} else {
dotnet publish --output bin --configuration $Options.Configuration --framework $Options.Framework --runtime $runtime
}

$toolPath = Join-Path -Path $tool.Path -ChildPath "bin"

if ( -not $env:PATH.Contains($toolPath) ) {
Expand Down Expand Up @@ -1253,7 +1261,7 @@ function Publish-TestResults
# If the the "test-case" count is greater than 0, then we have results.
# Regardless, we want to upload this as an artifact, so this logic doesn't pertain to that.
if ( @(([xml](Get-Content $Path)).SelectNodes(".//test-case")).Count -gt 0 -or $Type -eq 'XUnit' ) {
Write-Host "##vso[results.publish type=$Type;mergeResults=true;runTitle=$Title;publishRunAttachments=true;resultFiles=$tempFilePath;]"
Write-Host "##vso[results.publish type=$Type;mergeResults=true;runTitle=$Title;publishRunAttachments=true;resultFiles=$tempFilePath;failTaskOnFailedTests=true]"
}

$resolvedPath = (Resolve-Path -Path $Path).ProviderPath
Expand Down Expand Up @@ -2974,7 +2982,8 @@ function New-TestPackage
[CmdletBinding()]
param(
[Parameter(Mandatory = $true)]
[string] $Destination
[string] $Destination,
[string] $Runtime
)

if (Test-Path $Destination -PathType Leaf)
Expand Down Expand Up @@ -3002,7 +3011,7 @@ function New-TestPackage
Write-Verbose -Verbose "PackagePath: $packagePath"

# Build test tools so they are placed in appropriate folders under 'test' then copy to package root.
$null = Publish-PSTestTools
$null = Publish-PSTestTools -runtime $Runtime
$powerShellTestRoot = Join-Path $PSScriptRoot 'test'
Copy-Item $powerShellTestRoot -Recurse -Destination $packageRoot -Force
Write-Verbose -Message "Copied test directory"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.0.0" />
<PackageReference Include="System.Threading.AccessControl" Version="4.5.0" />
<PackageReference Include="NJsonSchema" Version="9.13.30" />
<PackageReference Include="NJsonSchema" Version="9.13.36" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ internal string WorkingDirectory
{
return _workingDirectory.Remove(_workingDirectory.Length - 1);
}
#endif
#endif
return _workingDirectory;
}
}
Expand Down Expand Up @@ -529,7 +529,7 @@ private static string GetConfigurationNameFromGroupPolicy()
/// </param>
private static void EarlyParseHelper(string[] args)
{
if(args == null)
if (args == null)
{
Dbg.Assert(args != null, "Argument 'args' to EarlyParseHelper should never be null");
return;
Expand Down Expand Up @@ -1043,7 +1043,7 @@ private void ParseFormat(string[] args, ref int i, ref Serialization.DataFormat
foreach (string s in Enum.GetNames(typeof(Serialization.DataFormat)))
{
sb.Append(s);
sb.Append(ConsoleHostUserInterface.Crlf);
sb.Append(Environment.NewLine);
}

++i;
Expand Down
Loading