-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from max-ieremenko/release/2.3.0
Release/2.3.0
- Loading branch information
Showing
444 changed files
with
11,943 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
obj/ | ||
bin/ | ||
.vs/ | ||
packages/ | ||
build.out/ | ||
|
||
launchSettings.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
param( | ||
$settings | ||
) | ||
|
||
function Write-ThirdPartyNotices($appName, $sources, $repository, $out) { | ||
$source = $sources | ForEach-Object {"-source", $_} | ||
$outTemp = Join-Path $out "Temp" | ||
|
||
Exec { | ||
ThirdPartyLibraries update ` | ||
-appName $appName ` | ||
$source ` | ||
-repository $repository | ||
} | ||
|
||
Exec { | ||
ThirdPartyLibraries validate ` | ||
-appName $appName ` | ||
$source ` | ||
-repository $repository | ||
} | ||
|
||
Exec { | ||
ThirdPartyLibraries generate ` | ||
-appName $appName ` | ||
-repository $repository ` | ||
-to $outTemp | ||
} | ||
|
||
Move-Item (Join-Path $outTemp "ThirdPartyNotices.txt") $out -Force | ||
Remove-Item -Path $outTemp -Recurse -Force | ||
} | ||
|
||
task ThirdParty { | ||
$sourceDir = $settings.sources | ||
$thirdPartyRepository = [System.IO.Path]::GetFullPath((Join-Path $PSScriptRoot "third-party-libraries")) | ||
$binDir = $settings.bin | ||
|
||
$sources = @( | ||
(Join-Path $sourceDir "SqlDatabase"), | ||
(Join-Path $sourceDir "SqlDatabase.Test"), | ||
(Join-Path $sourceDir "SqlDatabase.PowerShell"), | ||
(Join-Path $sourceDir "SqlDatabase.PowerShell.Test"), | ||
(Join-Path $sourceDir "SqlDatabase.Test") | ||
) | ||
|
||
Write-ThirdPartyNotices "SqlDatabase" $sources $thirdPartyRepository $binDir | ||
} |
This file was deleted.
Oops, something went wrong.
69 changes: 69 additions & 0 deletions
69
Build/third-party-libraries/configuration/appsettings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"nuget.org": { | ||
"allowToUseLocalCache": true, | ||
"downloadPackageIntoRepository": false, | ||
"ignorePackages": { | ||
"byName": [], | ||
"byProjectName": [] | ||
}, | ||
"internalPackages": { | ||
"byName": [ "StyleCop\\.Analyzers" ], | ||
"byProjectName": [ "\\.Test$" ] | ||
} | ||
}, | ||
"npmjs.com": { | ||
"downloadPackageIntoRepository": false, | ||
"ignorePackages": { | ||
"byName": [ "Abc.*" ], | ||
"byFolderName": [ "\\.Demo$" ] | ||
} | ||
}, | ||
"github.com": { | ||
"personalAccessToken": "" | ||
}, | ||
"staticLicenseUrls": { | ||
"byCode": [ | ||
{ | ||
"code": "ms-net-library", | ||
"fullName": "MICROSOFT .NET LIBRARY", | ||
"downloadUrl": "https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm" | ||
}, | ||
{ | ||
"code": "ms-clr-types-sql-server-2012", | ||
"fullName": "MICROSOFT SYSTEM CLR TYPES FOR MICROSOFT SQL SERVER 2012", | ||
"downloadUrl": "https://www.microsoft.com/web/webpi/eula/Microsoft_SQL_Server_2012_Microsoft_CLR_ENG.htm" | ||
} | ||
], | ||
"byUrl": [ | ||
{ | ||
"code": "MIT", | ||
"urls": [ "https://github.com/dotnet/corefx/blob/master/LICENSE.TXT" ] | ||
}, | ||
{ | ||
"code": "Apache-2.0", | ||
"urls": [ | ||
"http://www.apache.org/licenses/LICENSE-2.0", | ||
"http://www.apache.org/licenses/LICENSE-2.0.html", | ||
"http://www.apache.org/licenses/LICENSE-2.0.txt" | ||
] | ||
}, | ||
{ | ||
"code": "ms-clr-types-sql-server-2012", | ||
"urls": [ | ||
"https://www.microsoft.com/web/webpi/eula/SysClrTypes_SQLServer.htm", | ||
"https://www.microsoft.com/web/webpi/eula/Microsoft_SQL_Server_2012_Microsoft_CLR_ENG.htm", | ||
"http://go.microsoft.com/fwlink/?LinkId=331280" | ||
] | ||
}, | ||
{ | ||
"code": "ms-net-library", | ||
"urls": [ | ||
"https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm", | ||
"https://www.microsoft.com/en-us/web/webpi/eula/net_library_eula_ENU.htm", | ||
"http://go.microsoft.com/fwlink/?LinkId=329770", | ||
"http://go.microsoft.com/fwlink/?LinkId=529443" | ||
] | ||
} | ||
] | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
Build/third-party-libraries/configuration/nuget.org-readme-template.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{{Name}} [{{Version}}]({{HRef}}) | ||
-------------------- | ||
|
||
Used by: {{UsedBy}} | ||
|
||
Target frameworks: {{TargetFrameworks}} | ||
|
||
License: {{LicenseMarkdownExpression}} {% if LicenseDescription %}, {{LicenseDescription}}{% endif %} | ||
|
||
{%- for license in Licenses -%} | ||
- {{license.Subject}} license: [{{license.Code}}]({{license.HRef}}) {% if license.Description %}, {{license.Description}}{% endif %} | ||
{%- endfor -%} | ||
|
||
Description | ||
----------- | ||
{{Description}} | ||
|
||
Remarks | ||
----------- | ||
{{Remarks}} | ||
|
||
{%- if ThirdPartyNotices -%} | ||
Third party notices | ||
----------- | ||
{{ThirdPartyNotices}} | ||
{%- endif -%} | ||
|
||
Dependencies {{DependenciesCount}} | ||
----------- | ||
|
||
{%- if DependenciesCount > 0 -%} | ||
|Name|Version| | ||
|----------|:----| | ||
{%- for dependency in Dependencies -%} | ||
|[{{dependency.Name}}]({{dependency.LocalHRef}})|{{dependency.Version}}| | ||
{%- endfor -%} | ||
{%- endif -%} | ||
|
||
*This page was generated by a tool.* |
31 changes: 31 additions & 0 deletions
31
Build/third-party-libraries/configuration/readme-template.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Licenses | ||
-------- | ||
|
||
|Code|Requires approval|Requires third party notices|Packages count| | ||
|----------|:----|:----|:----| | ||
{% for license in Licenses -%} | ||
|[{{license.Code}}]({{license.LocalHRef}})|{% if license.RequiresApproval%}yes{% else %}no{% endif %}|{% if license.RequiresThirdPartyNotices%}yes{% else %}no{% endif %}|{{license.PackagesCount}}| | ||
{% endfor -%} | ||
|
||
{%- if TodoPackagesCount > 0 -%} | ||
TODO {{TodoPackagesCount}} | ||
-------- | ||
|
||
|Name|Version|Source|License|Used by| | ||
|----------|:----|:----|:----|:----| | ||
{%- for package in TodoPackages -%} | ||
|[{{package.Name}}]({{package.LocalHRef}})|{{package.Version}}|[{{package.Source}}]({{package.SourceHRef}})|{{package.LicenseMarkdownExpression}}|{{package.UsedBy}}| | ||
{%- endfor -%} | ||
{%- endif -%} | ||
|
||
|
||
Packages {{PackagesCount}} | ||
-------- | ||
|
||
|Name|Version|Source|License|Used by| | ||
|----------|:----|:----|:----|:----| | ||
{%- for package in Packages -%} | ||
|[{{package.Name}}]({{package.LocalHRef}})|{{package.Version}}|[{{package.Source}}]({{package.SourceHRef}})|{{package.LicenseMarkdownExpression}}|{{package.UsedBy}}| | ||
{%- endfor -%} | ||
|
||
*This page was generated by a tool.* |
20 changes: 20 additions & 0 deletions
20
Build/third-party-libraries/configuration/third-party-notices-template.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
SqlDatabase | ||
************ | ||
|
||
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION | ||
|
||
{% for package in Packages -%} | ||
{{package.Name}} ({{package.HRef}}) | ||
{%- if package.Author -%} | ||
Authors: {{package.Author}} | ||
{%- endif -%} | ||
{%- if package.Copyright -%} | ||
Copyright: {{package.Copyright}} | ||
{%- endif -%} | ||
License: {{package.License.FullName}}, full text can be found at{% for i in package.License.HRefs %} {{i}}{% endfor %} or in{% for i in package.License.FileNames %} {{i}}{% endfor %} | ||
{%- if package.ThirdPartyNotices -%} | ||
|
||
{{package.ThirdPartyNotices}} | ||
{%- endif -%} | ||
|
||
{% endfor -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"Code": "Apache-2.0", | ||
"FullName": "Apache License 2.0", | ||
"RequiresApproval": false, | ||
"RequiresThirdPartyNotices": false, | ||
"HRef": "https://spdx.org/licenses/Apache-2.0", | ||
"FileName": "license.txt", | ||
"Dependencies": [] | ||
} |
Oops, something went wrong.