Skip to content

Commit f1b791b

Browse files
committed
Add test for dev. dependency
Reference: #41 Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent ae06ca0 commit f1b791b

File tree

4 files changed

+358
-0
lines changed

4 files changed

+358
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFrameworks>net45</TargetFrameworks>
5+
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
6+
<RootNamespace>Sample.Nexb</RootNamespace>
7+
<ImplicitUsings>enable</ImplicitUsings>
8+
<Nullable>enable</Nullable>
9+
</PropertyGroup>
10+
</Project>
Lines changed: 341 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,341 @@
1+
{
2+
"headers": [
3+
{
4+
"tool_name": "nuget-inspector",
5+
"tool_homepageurl": "https://github.com/nexB/nuget-inspector",
6+
"tool_version": "0.0.0",
7+
"options": [
8+
"--project-file /packages-config/packages.config-dev/Sample.Nexb.csproj"
9+
],
10+
"project_framework": "net45",
11+
"notice": "Dependency tree generated with nuget-inspector.\nnuget-inspector is a free software tool from nexB Inc. and others.\nVisit https://github.com/nexB/nuget-inspector/ for support and download.",
12+
"warnings": [],
13+
"errors": []
14+
}
15+
],
16+
"files": [],
17+
"packages": [
18+
{
19+
"type": "nuget",
20+
"namespace": "",
21+
"name": "Sample.Nexb",
22+
"version": null,
23+
"qualifiers": "",
24+
"subpath": "",
25+
"purl": "",
26+
"primary_language": "C#",
27+
"description": "",
28+
"release_date": "",
29+
"parties": [],
30+
"keywords": [],
31+
"homepage_url": "",
32+
"download_url": "",
33+
"size": 0,
34+
"sha1": "",
35+
"md5": "",
36+
"sha256": "",
37+
"sha512": "",
38+
"bug_tracking_url": "",
39+
"code_view_url": "",
40+
"vcs_url": "",
41+
"copyright": "",
42+
"license_expression": "",
43+
"declared_license": "",
44+
"notice_text": "",
45+
"source_packages": [],
46+
"extra_data": {},
47+
"repository_homepage_url": "",
48+
"repository_download_url": "",
49+
"api_data_url": "",
50+
"datasource_id": "nuget-packages.config",
51+
"datafile_path": "/packages-config/packages.config-dev/Sample.Nexb.csproj",
52+
"dependencies": [
53+
{
54+
"type": "nuget",
55+
"namespace": "",
56+
"name": "WebGrease",
57+
"version": "1.5.2",
58+
"qualifiers": "",
59+
"subpath": "",
60+
"purl": "pkg:nuget/WebGrease@1.5.2",
61+
"primary_language": "C#",
62+
"description": "Web Grease is a suite of tools for optimizing javascript, css files and images.",
63+
"release_date": "",
64+
"parties": [
65+
{
66+
"type": "organization",
67+
"role": "author",
68+
"name": "webgrease@microsoft.com",
69+
"email": "",
70+
"url": ""
71+
}
72+
],
73+
"keywords": [],
74+
"homepage_url": "",
75+
"download_url": "https://api.nuget.org/v3-flatcontainer/webgrease/1.5.2/webgrease.1.5.2.nupkg",
76+
"size": 0,
77+
"sha1": "",
78+
"md5": "",
79+
"sha256": "",
80+
"sha512": "",
81+
"bug_tracking_url": "",
82+
"code_view_url": "",
83+
"vcs_url": "",
84+
"copyright": "",
85+
"license_expression": "",
86+
"declared_license": "LicenseUrl: http://www.microsoft.com/web/webpi/eula/msn_webgrease_eula.htm",
87+
"notice_text": "",
88+
"source_packages": [],
89+
"extra_data": {},
90+
"repository_homepage_url": "https://www.nuget.org/packages/WebGrease/1.5.2?_src=template",
91+
"repository_download_url": "https://api.nuget.org/v3-flatcontainer/webgrease/1.5.2/webgrease.1.5.2.nupkg",
92+
"api_data_url": "https://api.nuget.org/v3/registration5-gz-semver2/webgrease/1.5.2.json",
93+
"datasource_id": "",
94+
"datafile_path": "",
95+
"dependencies": [
96+
{
97+
"type": "nuget",
98+
"namespace": "",
99+
"name": "Antlr",
100+
"version": "3.4.1.9004",
101+
"qualifiers": "",
102+
"subpath": "",
103+
"purl": "pkg:nuget/Antlr@3.4.1.9004",
104+
"primary_language": "C#",
105+
"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.",
106+
"release_date": "",
107+
"parties": [
108+
{
109+
"type": "organization",
110+
"role": "author",
111+
"name": "Terence Parr",
112+
"email": "",
113+
"url": ""
114+
}
115+
],
116+
"keywords": [],
117+
"homepage_url": "",
118+
"download_url": "https://api.nuget.org/v3-flatcontainer/antlr/3.4.1.9004/antlr.3.4.1.9004.nupkg",
119+
"size": 0,
120+
"sha1": "",
121+
"md5": "",
122+
"sha256": "",
123+
"sha512": "",
124+
"bug_tracking_url": "",
125+
"code_view_url": "",
126+
"vcs_url": "",
127+
"copyright": "",
128+
"license_expression": "",
129+
"declared_license": "",
130+
"notice_text": "",
131+
"source_packages": [],
132+
"extra_data": {},
133+
"repository_homepage_url": "https://www.nuget.org/packages/Antlr/3.4.1.9004?_src=template",
134+
"repository_download_url": "https://api.nuget.org/v3-flatcontainer/antlr/3.4.1.9004/antlr.3.4.1.9004.nupkg",
135+
"api_data_url": "https://api.nuget.org/v3/registration5-gz-semver2/antlr/3.4.1.9004.json",
136+
"datasource_id": "",
137+
"datafile_path": "",
138+
"dependencies": [],
139+
"warnings": [],
140+
"errors": []
141+
},
142+
{
143+
"type": "nuget",
144+
"namespace": "",
145+
"name": "Newtonsoft.Json",
146+
"version": "5.0.4",
147+
"qualifiers": "",
148+
"subpath": "",
149+
"purl": "pkg:nuget/Newtonsoft.Json@5.0.4",
150+
"primary_language": "C#",
151+
"description": "Json.NET is a popular high-performance JSON framework for .NET",
152+
"release_date": "",
153+
"parties": [
154+
{
155+
"type": "organization",
156+
"role": "author",
157+
"name": "James Newton-King",
158+
"email": "",
159+
"url": ""
160+
}
161+
],
162+
"keywords": [
163+
"json"
164+
],
165+
"homepage_url": "http://james.newtonking.com/projects/json-net.aspx",
166+
"download_url": "https://api.nuget.org/v3-flatcontainer/newtonsoft.json/5.0.4/newtonsoft.json.5.0.4.nupkg",
167+
"size": 0,
168+
"sha1": "",
169+
"md5": "",
170+
"sha256": "",
171+
"sha512": "",
172+
"bug_tracking_url": "",
173+
"code_view_url": "",
174+
"vcs_url": "",
175+
"copyright": "",
176+
"license_expression": "",
177+
"declared_license": "LicenseUrl: http://json.codeplex.com/license",
178+
"notice_text": "",
179+
"source_packages": [],
180+
"extra_data": {},
181+
"repository_homepage_url": "https://www.nuget.org/packages/Newtonsoft.Json/5.0.4?_src=template",
182+
"repository_download_url": "https://api.nuget.org/v3-flatcontainer/newtonsoft.json/5.0.4/newtonsoft.json.5.0.4.nupkg",
183+
"api_data_url": "https://api.nuget.org/v3/registration5-gz-semver2/newtonsoft.json/5.0.4.json",
184+
"datasource_id": "",
185+
"datafile_path": "",
186+
"dependencies": [],
187+
"warnings": [],
188+
"errors": []
189+
}
190+
],
191+
"warnings": [],
192+
"errors": []
193+
}
194+
],
195+
"warnings": [],
196+
"errors": []
197+
}
198+
],
199+
"dependencies": [
200+
{
201+
"type": "nuget",
202+
"namespace": "",
203+
"name": "Antlr",
204+
"version": "3.4.1.9004",
205+
"qualifiers": "",
206+
"subpath": "",
207+
"purl": "pkg:nuget/Antlr@3.4.1.9004",
208+
"primary_language": "C#",
209+
"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.",
210+
"release_date": "",
211+
"parties": [
212+
{
213+
"type": "organization",
214+
"role": "author",
215+
"name": "Terence Parr",
216+
"email": "",
217+
"url": ""
218+
}
219+
],
220+
"keywords": [],
221+
"homepage_url": "",
222+
"download_url": "https://api.nuget.org/v3-flatcontainer/antlr/3.4.1.9004/antlr.3.4.1.9004.nupkg",
223+
"size": 0,
224+
"sha1": "",
225+
"md5": "",
226+
"sha256": "",
227+
"sha512": "",
228+
"bug_tracking_url": "",
229+
"code_view_url": "",
230+
"vcs_url": "",
231+
"copyright": "",
232+
"license_expression": "",
233+
"declared_license": "",
234+
"notice_text": "",
235+
"source_packages": [],
236+
"extra_data": {},
237+
"repository_homepage_url": "https://www.nuget.org/packages/Antlr/3.4.1.9004?_src=template",
238+
"repository_download_url": "https://api.nuget.org/v3-flatcontainer/antlr/3.4.1.9004/antlr.3.4.1.9004.nupkg",
239+
"api_data_url": "https://api.nuget.org/v3/registration5-gz-semver2/antlr/3.4.1.9004.json",
240+
"datasource_id": "",
241+
"datafile_path": "",
242+
"dependencies": [],
243+
"warnings": [],
244+
"errors": []
245+
},
246+
{
247+
"type": "nuget",
248+
"namespace": "",
249+
"name": "Newtonsoft.Json",
250+
"version": "5.0.4",
251+
"qualifiers": "",
252+
"subpath": "",
253+
"purl": "pkg:nuget/Newtonsoft.Json@5.0.4",
254+
"primary_language": "C#",
255+
"description": "Json.NET is a popular high-performance JSON framework for .NET",
256+
"release_date": "",
257+
"parties": [
258+
{
259+
"type": "organization",
260+
"role": "author",
261+
"name": "James Newton-King",
262+
"email": "",
263+
"url": ""
264+
}
265+
],
266+
"keywords": [
267+
"json"
268+
],
269+
"homepage_url": "http://james.newtonking.com/projects/json-net.aspx",
270+
"download_url": "https://api.nuget.org/v3-flatcontainer/newtonsoft.json/5.0.4/newtonsoft.json.5.0.4.nupkg",
271+
"size": 0,
272+
"sha1": "",
273+
"md5": "",
274+
"sha256": "",
275+
"sha512": "",
276+
"bug_tracking_url": "",
277+
"code_view_url": "",
278+
"vcs_url": "",
279+
"copyright": "",
280+
"license_expression": "",
281+
"declared_license": "LicenseUrl: http://json.codeplex.com/license",
282+
"notice_text": "",
283+
"source_packages": [],
284+
"extra_data": {},
285+
"repository_homepage_url": "https://www.nuget.org/packages/Newtonsoft.Json/5.0.4?_src=template",
286+
"repository_download_url": "https://api.nuget.org/v3-flatcontainer/newtonsoft.json/5.0.4/newtonsoft.json.5.0.4.nupkg",
287+
"api_data_url": "https://api.nuget.org/v3/registration5-gz-semver2/newtonsoft.json/5.0.4.json",
288+
"datasource_id": "",
289+
"datafile_path": "",
290+
"dependencies": [],
291+
"warnings": [],
292+
"errors": []
293+
},
294+
{
295+
"type": "nuget",
296+
"namespace": "",
297+
"name": "WebGrease",
298+
"version": "1.5.2",
299+
"qualifiers": "",
300+
"subpath": "",
301+
"purl": "pkg:nuget/WebGrease@1.5.2",
302+
"primary_language": "C#",
303+
"description": "Web Grease is a suite of tools for optimizing javascript, css files and images.",
304+
"release_date": "",
305+
"parties": [
306+
{
307+
"type": "organization",
308+
"role": "author",
309+
"name": "webgrease@microsoft.com",
310+
"email": "",
311+
"url": ""
312+
}
313+
],
314+
"keywords": [],
315+
"homepage_url": "",
316+
"download_url": "https://api.nuget.org/v3-flatcontainer/webgrease/1.5.2/webgrease.1.5.2.nupkg",
317+
"size": 0,
318+
"sha1": "",
319+
"md5": "",
320+
"sha256": "",
321+
"sha512": "",
322+
"bug_tracking_url": "",
323+
"code_view_url": "",
324+
"vcs_url": "",
325+
"copyright": "",
326+
"license_expression": "",
327+
"declared_license": "LicenseUrl: http://www.microsoft.com/web/webpi/eula/msn_webgrease_eula.htm",
328+
"notice_text": "",
329+
"source_packages": [],
330+
"extra_data": {},
331+
"repository_homepage_url": "https://www.nuget.org/packages/WebGrease/1.5.2?_src=template",
332+
"repository_download_url": "https://api.nuget.org/v3-flatcontainer/webgrease/1.5.2/webgrease.1.5.2.nupkg",
333+
"api_data_url": "https://api.nuget.org/v3/registration5-gz-semver2/webgrease/1.5.2.json",
334+
"datasource_id": "",
335+
"datafile_path": "",
336+
"dependencies": [],
337+
"warnings": [],
338+
"errors": []
339+
}
340+
]
341+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
download_url: https://raw.githubusercontent.com/oss-review-toolkit/ort/f6356723dbfc0d8bd9f44d7b4088373adfdd571d/analyzer/src/funTest/assets/projects/synthetic/nuget/packages.config
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="WebGrease" version="1.5.2" targetFramework="net45" developmentDependency="true" />
4+
<package id="Antlr" version="3.4.1.9004" targetFramework="net45" />
5+
<package id="Newtonsoft.Json" version="5.0.4" targetFramework="net45" />
6+
</packages>

0 commit comments

Comments
 (0)