-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DotNet: added dotnet and nuget managers including tests
Signed-off-by: Stephanie Neubauer <[email protected]>
- Loading branch information
neubs-bsi
authored and
Stephanie Neubauer
committed
Feb 18, 2019
1 parent
c4120da
commit 716fc31
Showing
15 changed files
with
1,014 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
analyzer/src/funTest/assets/projects/synthetic/all-managers/dotnet.xml
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 @@ | ||
this is an empty and meaningless file to have ORT realise we are using dotnet as package manager |
1 change: 1 addition & 0 deletions
1
analyzer/src/funTest/assets/projects/synthetic/all-managers/nuget.xml
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 @@ | ||
this is an empty and meaningless file to have ORT realise we are using nuget as package manager |
132 changes: 132 additions & 0 deletions
132
analyzer/src/funTest/assets/projects/synthetic/dotnet-expected-output.yml
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,132 @@ | ||
--- | ||
project: | ||
id: "nuget::dotnet:" | ||
definition_file_path: "analyzer/src/funTest/assets/projects/synthetic/dotnet/dotnet.xml" | ||
declared_licenses: [] | ||
vcs: | ||
type: "Git" | ||
url: "https://github.com/heremaps/oss-review-toolkit.git" | ||
revision: "<REPLACE_REVISION>" | ||
path: "<REPLACE_PATH>" | ||
vcs_processed: | ||
type: "git" | ||
url: "<REPLACE_URL>" | ||
revision: "<REPLACE_REVISION>" | ||
path: "<REPLACE_PATH>" | ||
homepage_url: "" | ||
scopes: | ||
- name: "dependencies" | ||
dependencies: | ||
- id: "nuget::WebGrease:1.5.2" | ||
dependencies: | ||
- id: "nuget::Antlr:3.4.1.9004" | ||
- id: "nuget::Newtonsoft.Json:5.0.4" | ||
- id: "nuget::jQuery:3.3.1" | ||
packages: | ||
- package: | ||
id: "nuget::Antlr:3.4.1.9004" | ||
declared_licenses: [] | ||
description: "ANother Tool for Language Recognition, is a language tool that provides\ | ||
\ a framework for constructing recognizers, interpreters, compilers, and translators\ | ||
\ from grammatical descriptions containing actions in a variety of target languages." | ||
homepage_url: "" | ||
binary_artifact: | ||
url: "https://api.nuget.org/v3-flatcontainer/antlr/3.4.1.9004/antlr.3.4.1.9004.nupkg" | ||
hash: "t4RqqB/yvSHU8okrySS1L2KaaPsAOCDM8NPbiOy8OJw/oiNIjjUzS5igIVJds0m5k5AmYyGWV9jBVpFQcq830w==" | ||
hash_algorithm: "SHA-512" | ||
source_artifact: | ||
url: "" | ||
hash: "" | ||
hash_algorithm: "" | ||
vcs: | ||
type: "" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
vcs_processed: | ||
type: "" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
curations: [] | ||
- package: | ||
id: "nuget::Newtonsoft.Json:5.0.4" | ||
declared_licenses: | ||
- "http://json.codeplex.com/license" | ||
description: "Json.NET is a popular high-performance JSON framework for .NET" | ||
homepage_url: "http://james.newtonking.com/projects/json-net.aspx" | ||
binary_artifact: | ||
url: "https://api.nuget.org/v3-flatcontainer/newtonsoft.json/5.0.4/newtonsoft.json.5.0.4.nupkg" | ||
hash: "dg2TSL5YEyhbitOHlaKlr+eIvN2rT3GQ7VgcbqUkwNZ6fdW91ThPGX47WljAcKtb23BEk8yOCtY6s191O21hvw==" | ||
hash_algorithm: "SHA-512" | ||
source_artifact: | ||
url: "" | ||
hash: "" | ||
hash_algorithm: "" | ||
vcs: | ||
type: "" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
vcs_processed: | ||
type: "" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
curations: [] | ||
- package: | ||
id: "nuget::WebGrease:1.5.2" | ||
declared_licenses: | ||
- "http://www.microsoft.com/web/webpi/eula/msn_webgrease_eula.htm" | ||
description: "Web Grease is a suite of tools for optimizing javascript, css files\ | ||
\ and images." | ||
homepage_url: "" | ||
binary_artifact: | ||
url: "https://api.nuget.org/v3-flatcontainer/webgrease/1.5.2/webgrease.1.5.2.nupkg" | ||
hash: "RT+no0g7Qk28J/XVwHgn5lJ/qm4hyWFp7wt0I71Uw0j3SfTfOmNqPMxfedHanAjtf3dB2/0KjQ3fQkvVewsvsA==" | ||
hash_algorithm: "SHA-512" | ||
source_artifact: | ||
url: "" | ||
hash: "" | ||
hash_algorithm: "" | ||
vcs: | ||
type: "" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
vcs_processed: | ||
type: "" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
curations: [] | ||
- package: | ||
id: "nuget::jQuery:3.3.1" | ||
declared_licenses: | ||
- "http://jquery.org/license" | ||
description: "jQuery is a new kind of JavaScript Library.\n jQuery is a\ | ||
\ fast and concise JavaScript Library that simplifies HTML document traversing,\ | ||
\ event handling, animating, and Ajax interactions for rapid web development.\ | ||
\ jQuery is designed to change the way that you write JavaScript.\n NOTE:\ | ||
\ This package is maintained on behalf of the library owners by the NuGet Community\ | ||
\ Packages project at http://nugetpackages.codeplex.com/" | ||
homepage_url: "http://jquery.com/" | ||
binary_artifact: | ||
url: "https://api.nuget.org/v3-flatcontainer/jquery/3.3.1/jquery.3.3.1.nupkg" | ||
hash: "Emsts1D6E2AgHVBm4cTD2dxoRyWVG+3zK1x8mYbf+k6aAArPTXHR2Ip++o1utlNbmYIzaPFnhGw3YDexp8PjlQ==" | ||
hash_algorithm: "SHA-512" | ||
source_artifact: | ||
url: "" | ||
hash: "" | ||
hash_algorithm: "" | ||
vcs: | ||
type: "" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
vcs_processed: | ||
type: "" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
curations: [] |
1 change: 1 addition & 0 deletions
1
analyzer/src/funTest/assets/projects/synthetic/dotnet/dotnet.xml
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 @@ | ||
this is an empty and meaningless file to have ORT realise we are using dotnet as package manager |
6 changes: 6 additions & 0 deletions
6
analyzer/src/funTest/assets/projects/synthetic/dotnet/test.csproj
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,6 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<ItemGroup> | ||
<PackageReference Include="jQuery" Version="1.3.2" /> | ||
<PackageReference Include="WebGrease" Version="1.5.2" /> | ||
</ItemGroup> | ||
</Project> |
132 changes: 132 additions & 0 deletions
132
analyzer/src/funTest/assets/projects/synthetic/nuget-expected-output.yml
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,132 @@ | ||
--- | ||
project: | ||
id: "nuget::nuget:" | ||
definition_file_path: "analyzer/src/funTest/assets/projects/synthetic/nuget/nuget.xml" | ||
declared_licenses: [] | ||
vcs: | ||
type: "Git" | ||
url: "https://github.com/heremaps/oss-review-toolkit.git" | ||
revision: "<REPLACE_REVISION>" | ||
path: "<REPLACE_PATH>" | ||
vcs_processed: | ||
type: "git" | ||
url: "<REPLACE_URL>" | ||
revision: "<REPLACE_REVISION>" | ||
path: "<REPLACE_PATH>" | ||
homepage_url: "" | ||
scopes: | ||
- name: "dependencies" | ||
dependencies: | ||
- id: "nuget::WebGrease:1.5.2" | ||
dependencies: | ||
- id: "nuget::Antlr:3.4.1.9004" | ||
- id: "nuget::Newtonsoft.Json:5.0.4" | ||
- id: "nuget::jQuery:3.3.1" | ||
packages: | ||
- package: | ||
id: "nuget::Antlr:3.4.1.9004" | ||
declared_licenses: [] | ||
description: "ANother Tool for Language Recognition, is a language tool that provides\ | ||
\ a framework for constructing recognizers, interpreters, compilers, and translators\ | ||
\ from grammatical descriptions containing actions in a variety of target languages." | ||
homepage_url: "" | ||
binary_artifact: | ||
url: "https://api.nuget.org/v3-flatcontainer/antlr/3.4.1.9004/antlr.3.4.1.9004.nupkg" | ||
hash: "t4RqqB/yvSHU8okrySS1L2KaaPsAOCDM8NPbiOy8OJw/oiNIjjUzS5igIVJds0m5k5AmYyGWV9jBVpFQcq830w==" | ||
hash_algorithm: "SHA-512" | ||
source_artifact: | ||
url: "" | ||
hash: "" | ||
hash_algorithm: "" | ||
vcs: | ||
type: "" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
vcs_processed: | ||
type: "" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
curations: [] | ||
- package: | ||
id: "nuget::Newtonsoft.Json:5.0.4" | ||
declared_licenses: | ||
- "http://json.codeplex.com/license" | ||
description: "Json.NET is a popular high-performance JSON framework for .NET" | ||
homepage_url: "http://james.newtonking.com/projects/json-net.aspx" | ||
binary_artifact: | ||
url: "https://api.nuget.org/v3-flatcontainer/newtonsoft.json/5.0.4/newtonsoft.json.5.0.4.nupkg" | ||
hash: "dg2TSL5YEyhbitOHlaKlr+eIvN2rT3GQ7VgcbqUkwNZ6fdW91ThPGX47WljAcKtb23BEk8yOCtY6s191O21hvw==" | ||
hash_algorithm: "SHA-512" | ||
source_artifact: | ||
url: "" | ||
hash: "" | ||
hash_algorithm: "" | ||
vcs: | ||
type: "" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
vcs_processed: | ||
type: "" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
curations: [] | ||
- package: | ||
id: "nuget::WebGrease:1.5.2" | ||
declared_licenses: | ||
- "http://www.microsoft.com/web/webpi/eula/msn_webgrease_eula.htm" | ||
description: "Web Grease is a suite of tools for optimizing javascript, css files\ | ||
\ and images." | ||
homepage_url: "" | ||
binary_artifact: | ||
url: "https://api.nuget.org/v3-flatcontainer/webgrease/1.5.2/webgrease.1.5.2.nupkg" | ||
hash: "RT+no0g7Qk28J/XVwHgn5lJ/qm4hyWFp7wt0I71Uw0j3SfTfOmNqPMxfedHanAjtf3dB2/0KjQ3fQkvVewsvsA==" | ||
hash_algorithm: "SHA-512" | ||
source_artifact: | ||
url: "" | ||
hash: "" | ||
hash_algorithm: "" | ||
vcs: | ||
type: "" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
vcs_processed: | ||
type: "" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
curations: [] | ||
- package: | ||
id: "nuget::jQuery:3.3.1" | ||
declared_licenses: | ||
- "http://jquery.org/license" | ||
description: "jQuery is a new kind of JavaScript Library.\n jQuery is a\ | ||
\ fast and concise JavaScript Library that simplifies HTML document traversing,\ | ||
\ event handling, animating, and Ajax interactions for rapid web development.\ | ||
\ jQuery is designed to change the way that you write JavaScript.\n NOTE:\ | ||
\ This package is maintained on behalf of the library owners by the NuGet Community\ | ||
\ Packages project at http://nugetpackages.codeplex.com/" | ||
homepage_url: "http://jquery.com/" | ||
binary_artifact: | ||
url: "https://api.nuget.org/v3-flatcontainer/jquery/3.3.1/jquery.3.3.1.nupkg" | ||
hash: "Emsts1D6E2AgHVBm4cTD2dxoRyWVG+3zK1x8mYbf+k6aAArPTXHR2Ip++o1utlNbmYIzaPFnhGw3YDexp8PjlQ==" | ||
hash_algorithm: "SHA-512" | ||
source_artifact: | ||
url: "" | ||
hash: "" | ||
hash_algorithm: "" | ||
vcs: | ||
type: "" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
vcs_processed: | ||
type: "" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
curations: [] |
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 @@ | ||
this is an empty and meaningless file to have ORT realise we are using nuget as package manager |
5 changes: 5 additions & 0 deletions
5
analyzer/src/funTest/assets/projects/synthetic/nuget/packages.config
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,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="jQuery" version="1.3.2" targetFramework="net462" /> | ||
<package id="WebGrease" version="1.5.2" targetFramework="net462" /> | ||
</packages> |
Oops, something went wrong.