X Tutup
Skip to content

Commit af3cf24

Browse files
smoothdevelopercarolynvs
authored andcommitted
Initial commit to start sharing work on this migration
1 parent eec28e8 commit af3cf24

39 files changed

+1850
-381
lines changed

.paket/paket.targets

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<!-- Enable the restore command to run before builds -->
5+
<RestorePackages Condition=" '$(RestorePackages)' == '' ">true</RestorePackages>
6+
<!-- Download Paket.exe if it does not already exist -->
7+
<DownloadPaket Condition=" '$(DownloadPaket)' == '' ">true</DownloadPaket>
8+
<PaketToolsPath>$(MSBuildThisFileDirectory)</PaketToolsPath>
9+
<PaketRootPath>$(MSBuildThisFileDirectory)..\</PaketRootPath>
10+
<MonoPath Condition="'$(MonoPath)' == '' And Exists('/Library/Frameworks/Mono.framework/Commands/mono')">/Library/Frameworks/Mono.framework/Commands/mono</MonoPath>
11+
<MonoPath Condition="'$(MonoPath)' == ''">mono</MonoPath>
12+
</PropertyGroup>
13+
<PropertyGroup>
14+
<!-- Paket command -->
15+
<PaketExePath Condition=" '$(PaketExePath)' == '' ">$(PaketToolsPath)paket.exe</PaketExePath>
16+
<PaketBootStrapperExePath Condition=" '$(PaketBootStrapperExePath)' == '' ">$(PaketToolsPath)paket.bootstrapper.exe</PaketBootStrapperExePath>
17+
<PaketCommand Condition=" '$(OS)' == 'Windows_NT'">"$(PaketExePath)"</PaketCommand>
18+
<PaketCommand Condition=" '$(OS)' != 'Windows_NT' ">$(MonoPath) --runtime=v4.0.30319 "$(PaketExePath)"</PaketCommand>
19+
<PaketBootStrapperCommand Condition=" '$(OS)' == 'Windows_NT'">"$(PaketBootStrapperExePath)" $(PaketBootStrapperCommandArgs)</PaketBootStrapperCommand>
20+
<PaketBootStrapperCommand Condition=" '$(OS)' != 'Windows_NT' ">$(MonoPath) --runtime=v4.0.30319 $(PaketBootStrapperExePath) $(PaketBootStrapperCommandArgs)</PaketBootStrapperCommand>
21+
<!-- Commands -->
22+
<PaketReferences Condition="!Exists('$(MSBuildProjectFullPath).paket.references')">$(MSBuildProjectDirectory)\paket.references</PaketReferences>
23+
<PaketReferences Condition="!Exists('$(PaketReferences)')">$(MSBuildStartupDirectory)\paket.references</PaketReferences>
24+
<PaketReferences Condition="Exists('$(MSBuildProjectFullPath).paket.references')">$(MSBuildProjectFullPath).paket.references</PaketReferences>
25+
<RestoreCommand>$(PaketCommand) restore --references-files "$(PaketReferences)"</RestoreCommand>
26+
<DownloadPaketCommand>$(PaketBootStrapperCommand)</DownloadPaketCommand>
27+
<!-- We need to ensure packages are restored prior to assembly resolve -->
28+
<BuildDependsOn Condition="$(RestorePackages) == 'true'">RestorePackages; $(BuildDependsOn);</BuildDependsOn>
29+
</PropertyGroup>
30+
<Target Name="CheckPrerequisites">
31+
<!-- Raise an error if we're unable to locate paket.exe -->
32+
<Error Condition="'$(DownloadPaket)' != 'true' AND !Exists('$(PaketExePath)')" Text="Unable to locate '$(PaketExePath)'" />
33+
<MsBuild Targets="DownloadPaket" Projects="$(MSBuildThisFileFullPath)" Properties="Configuration=NOT_IMPORTANT;DownloadPaket=$(DownloadPaket)" />
34+
</Target>
35+
<Target Name="DownloadPaket">
36+
<Exec Command="$(DownloadPaketCommand)" IgnoreStandardErrorWarningFormat="true" Condition=" '$(DownloadPaket)' == 'true' AND !Exists('$(PaketExePath)')" />
37+
</Target>
38+
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
39+
<Exec Command="$(RestoreCommand)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(PaketRootPath)" Condition="Exists('$(PaketReferences)')" ContinueOnError="true" />
40+
</Target>
41+
</Project>

NuGet.config

Lines changed: 0 additions & 17 deletions
This file was deleted.

build/build.proj

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@
88
<Version Condition=" '$(bamboo_GitVersion_NuGetVersion)' == '' ">0.0.0-dev</Version>
99

1010
<ILMerge>$(MSBuildThisFileDirectory.Replace('build\','src'))\packages\ILMerge.2.14.1208\tools\ILMerge.exe</ILMerge>
11-
<NuGet>$(LocalAppData)\NuGet\NuGet.exe</NuGet>
11+
<PaketBootstrapper>$(MSBuildThisFileDirectory.Replace('build\','.paket'))\paket.bootstrapper.exe</PaketBootstrapper>
12+
<Paket>$(MSBuildThisFileDirectory.Replace('build\','.paket'))\paket.exe</Paket>
13+
<PackagesFolder>$(MSBuildThisFileDirectory.Replace('build\','packages'))</PackagesFolder>
14+
<NuGet>$(PackagesFolder)\NuGet.CommandLine\tools$(LocalAppData)\NuGet.exe</NuGet>
1215
<MSBuild>&quot;$(MSBuildToolsPath)\MSBuild.exe&quot;</MSBuild>
13-
<XUnit>$(MSBuildThisFileDirectory.Replace('build\','src'))\packages\xunit.runner.console.2.0.0\tools\xunit.console.exe</XUnit>
14-
<XUnitXslt>$(MSBuildThisFileDirectory.Replace('build\','src'))\packages\xunit.runner.console.2.0.0\tools\NUnitXml.xslt</XUnitXslt>
16+
<XUnit>$(PackagesFolder)\xunit.runner.console\tools\xunit.console.exe</XUnit>
17+
<XUnitXslt>$(PackagesFolder)\xunit.runner.console\tools\NUnitXml.xslt</XUnitXslt>
1518
</PropertyGroup>
1619

1720
<Target Name="CI">
@@ -33,15 +36,15 @@
3336

3437
<Target Name="Documentation" DependsOnTargets="Build">
3538
<PropertyGroup>
36-
<SHFBROOT>$(MSBuildThisFileDirectory.Replace('build\','src'))\packages\EWSoftware.SHFB.2014.11.22-beta\tools</SHFBROOT>
39+
<SHFBROOT>$(PackagesFolder)\EWSoftware.SHFB\tools</SHFBROOT>
3740
</PropertyGroup>
3841

39-
<Exec Command="$(NuGet) restore ..\src\Documentation\Documentation.sln" />
4042
<Exec Command="(set SHFBROOT=$(SHFBROOT)) &amp; $(MSBuild) ..\src\Documentation\Documentation.sln /p:Configuration=$(Configuration) /nologo /v:minimal" />
4143
</Target>
4244

43-
<Target Name="RestorePackages" DependsOnTargets="DownloadNuGet">
44-
<Exec Command="$(NuGet) restore ..\src\openstack.net.sln" />
45+
<Target Name="RestorePackages">
46+
<Exec Command="$(PaketBootstrapper)" />
47+
<Exec Command="$(Paket) install" />
4548
</Target>
4649

4750
<Target Name="DownloadNuGet" Condition="!Exists('$(NuGet)')">

paket.dependencies

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
source https://www.myget.org/F/openstacknetsdk/api/v2
2+
source https://www.nuget.org/api/v2
3+
4+
nuget EWSoftware.SHFB = 2014.11.22
5+
nuget Flurl.Http.Signed
6+
nuget Flurl.Signed
7+
nuget ILMerge
8+
nuget Marvin.JsonPatch.Signed
9+
nuget Moq
10+
nuget Newtonsoft.Json
11+
nuget NuGet.CommandLine
12+
nuget SharpZipLib
13+
nuget SimpleRESTServices = 1.3.0.1
14+
nuget xunit
15+
nuget xunit.abstractions
16+
nuget xunit.assert
17+
nuget xunit.core
18+
nuget xunit.extensibility.core
19+
nuget xunit.runner.console
20+
nuget xunit.runner.visualstudio
21+
22+
group History-1.5
23+
source https://www.nuget.org/api/v2
24+
framework: net45
25+
strategy: min
26+
27+
nuget openstack.net 1.5.0.2
28+
nuget SimpleRESTServices
29+
30+
group History-1.4
31+
source https://www.nuget.org/api/v2
32+
framework: net45
33+
strategy: min
34+
35+
nuget openstack.net 1.4.0.2
36+
nuget SimpleRESTServices
37+
38+
group History-1.3.6
39+
source https://www.nuget.org/api/v2
40+
framework: net35
41+
strategy: min
42+
43+
nuget openstack.net = 1.3.6.1
44+
nuget SimpleRESTServices

samples/NuGet.config

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/Documentation/AdditionalReferenceDocumentation.Portable.shfbproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
<Argument Key="maxVersionParts" Value="" xmlns="" />
2828
</TransformComponentArguments>
2929
<DocumentationSources>
30-
<DocumentationSource sourceFile="..\packages\Flurl.Signed.1.0.8\lib\portable-net40+sl50+win+wpa81+wp80+MonoAndroid10+MonoTouch10\Flurl.dll" />
31-
<DocumentationSource sourceFile="..\packages\Flurl.Signed.1.0.8\lib\portable-net40+sl50+win+wpa81+wp80+MonoAndroid10+MonoTouch10\Flurl.xml" />
32-
<DocumentationSource sourceFile="..\packages\Marvin.JsonPatch.Signed.0.7.0\lib\portable-net40+win+wpa81\Marvin.JsonPatch.dll" />
33-
<DocumentationSource sourceFile="..\packages\Marvin.JsonPatch.Signed.0.7.0\lib\portable-net40+win+wpa81\Marvin.JsonPatch.xml" />
30+
<DocumentationSource sourceFile="..\packages\Flurl.Signed\lib\portable-net40+sl50+win+wpa81+wp80+MonoAndroid10+MonoTouch10\Flurl.dll" />
31+
<DocumentationSource sourceFile="..\packages\Flurl.Signed\lib\portable-net40+sl50+win+wpa81+wp80+MonoAndroid10+MonoTouch10\Flurl.xml" />
32+
<DocumentationSource sourceFile="..\packages\Marvin.JsonPatch.Signed\lib\portable-net40+win+wpa81\Marvin.JsonPatch.dll" />
33+
<DocumentationSource sourceFile="..\packages\Marvin.JsonPatch.Signed\lib\portable-net40+win+wpa81\Marvin.JsonPatch.xml" />
3434
</DocumentationSources>
3535
<BuildAssemblerVerbosity>OnlyWarningsAndErrors</BuildAssemblerVerbosity>
3636
<HelpFileFormat>HtmlHelp1</HelpFileFormat>

src/Documentation/AdditionalReferenceDocumentation.shfbproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
<Argument Key="maxVersionParts" Value="" xmlns="" />
2828
</TransformComponentArguments>
2929
<DocumentationSources>
30-
<DocumentationSource sourceFile="..\packages\Newtonsoft.Json.8.0.3\lib\net40\Newtonsoft.Json.dll" />
31-
<DocumentationSource sourceFile="..\packages\Newtonsoft.Json.8.0.3\lib\net40\Newtonsoft.Json.xml" />
32-
<DocumentationSource sourceFile="..\packages\SimpleRESTServices.1.3.0.1\lib\net40\SimpleRESTServices.dll" />
33-
<DocumentationSource sourceFile="..\packages\SimpleRESTServices.1.3.0.1\lib\net40\SimpleRESTServices.xml" />
30+
<DocumentationSource sourceFile="..\packages\Newtonsoft.Json\lib\net40\Newtonsoft.Json.dll" />
31+
<DocumentationSource sourceFile="..\packages\Newtonsoft.Json\lib\net40\Newtonsoft.Json.xml" />
32+
<DocumentationSource sourceFile="..\packages\SimpleRESTServices\lib\net40\SimpleRESTServices.dll" />
33+
<DocumentationSource sourceFile="..\packages\SimpleRESTServices\lib\net40\SimpleRESTServices.xml" />
3434
</DocumentationSources>
3535
<PlugInConfigurations>
3636
</PlugInConfigurations>

src/Documentation/History/1.3.6/Documentation.1.3.6.shfbproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
<HtmlHelpName>API Reference Documentation</HtmlHelpName>
2121
<Language>en-US</Language>
2222
<DocumentationSources>
23-
<DocumentationSource sourceFile="..\..\..\packages\openstack.net.1.3.6.1\lib\net35\openstacknet.dll" />
24-
<DocumentationSource sourceFile="..\..\..\packages\openstack.net.1.3.6.1\lib\net35\openstacknet.xml" />
23+
<DocumentationSource sourceFile="..\..\..\packages\history-1.3\openstack.net\lib\net35\openstacknet.dll" />
24+
<DocumentationSource sourceFile="..\..\..\packages\history-1.3\openstack.net\lib\net35\openstacknet.xml" />
2525
</DocumentationSources>
2626
<BuildAssemblerVerbosity>OnlyWarningsAndErrors</BuildAssemblerVerbosity>
2727
<HelpFileFormat>Website</HelpFileFormat>
@@ -88,16 +88,16 @@
8888
<None Include="packages.config" />
8989
</ItemGroup>
9090
<ItemGroup>
91-
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed">
92-
<HintPath>..\..\..\packages\Newtonsoft.Json.5.0.8\lib\net35\Newtonsoft.Json.dll</HintPath>
91+
<Reference Include="Newtonsoft.Json">
92+
<HintPath>..\..\..\packages\history-1.3.6\Newtonsoft.Json\lib\net35\Newtonsoft.Json.dll</HintPath>
9393
<Private>True</Private>
9494
</Reference>
95-
<Reference Include="SimpleRESTServices, Version=1.3.0.0, Culture=neutral, PublicKeyToken=8965cea5c205d3a3">
96-
<HintPath>..\..\..\packages\SimpleRESTServices.1.3.0.1\lib\net35\SimpleRESTServices.dll</HintPath>
95+
<Reference Include="SimpleRESTServices">
96+
<HintPath>..\..\..\packages\history-1.3.6\SimpleRESTServices\lib\net35\SimpleRESTServices.dll</HintPath>
9797
<Private>True</Private>
9898
</Reference>
99-
<Reference Include="System.Threading, Version=1.0.2856.102, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
100-
<HintPath>..\..\..\packages\TaskParallelLibrary.1.0.2856.0\lib\Net35\System.Threading.dll</HintPath>
99+
<Reference Include="System.Threading">
100+
<HintPath>..\..\..\packages\history-1.3.6\TaskParallelLibrary\lib\Net35\System.Threading.dll</HintPath>
101101
<Private>True</Private>
102102
</Reference>
103103
</ItemGroup>

src/Documentation/History/1.3.6/packages.config

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/Documentation/History/1.4/Documentation.1.4.shfbproj

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
<HtmlHelpName>API Reference Documentation</HtmlHelpName>
2121
<Language>en-US</Language>
2222
<DocumentationSources>
23-
<DocumentationSource sourceFile="..\..\..\packages\openstack.net.1.4.0.2\lib\net45\openstacknet.dll" />
24-
<DocumentationSource sourceFile="..\..\..\packages\openstack.net.1.4.0.2\lib\net45\openstacknet.xml" />
23+
<DocumentationSource sourceFile="..\..\..\packages\history-1.4\openstack.net\lib\net45\openstacknet.dll" />
24+
<DocumentationSource sourceFile="..\..\..\packages\history-1.4\openstack.net\lib\net45\openstacknet.xml" />
2525
</DocumentationSources>
2626
<BuildAssemblerVerbosity>OnlyWarningsAndErrors</BuildAssemblerVerbosity>
2727
<HelpFileFormat>Website</HelpFileFormat>
@@ -88,28 +88,28 @@
8888
<None Include="packages.config" />
8989
</ItemGroup>
9090
<ItemGroup>
91-
<Reference Include="Flurl, Version=1.0.8.0, Culture=neutral, PublicKeyToken=1308302a96879dfb">
92-
<HintPath>..\..\..\packages\Flurl.Signed.1.0.8\lib\portable-net40+sl50+win+wpa81+wp80+MonoAndroid10+MonoTouch10\Flurl.dll</HintPath>
91+
<Reference Include="Flurl">
92+
<HintPath>..\..\..\packages\history-1.4\Flurl.Signed\lib\portable-net40+sl50+win+wpa81+wp80+MonoAndroid10+MonoTouch10\Flurl.dll</HintPath>
9393
<Private>True</Private>
9494
</Reference>
95-
<Reference Include="Flurl.Http, Version=0.6.2.0, Culture=neutral, PublicKeyToken=1308302a96879dfb">
96-
<HintPath>..\..\..\packages\Flurl.Http.Signed.0.6.2.2015062601\lib\net45\Flurl.Http.dll</HintPath>
95+
<Reference Include="Flurl.Http">
96+
<HintPath>..\..\..\packages\history-1.4\Flurl.Http.Signed\lib\net45\Flurl.Http.dll</HintPath>
9797
<Private>True</Private>
9898
</Reference>
99-
<Reference Include="Marvin.JsonPatch, Version=0.7.0.0, Culture=neutral, PublicKeyToken=686c63b2d045ab44">
100-
<HintPath>..\..\..\packages\Marvin.JsonPatch.Signed.0.7.0\lib\portable-net40+win+wpa81\Marvin.JsonPatch.dll</HintPath>
99+
<Reference Include="Marvin.JsonPatch">
100+
<HintPath>..\..\..\packages\history-1.4\Marvin.JsonPatch.Signed\lib\portable-net40+win+wpa81\Marvin.JsonPatch.dll</HintPath>
101101
<Private>True</Private>
102102
</Reference>
103-
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed">
104-
<HintPath>..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll</HintPath>
103+
<Reference Include="Newtonsoft.Json">
104+
<HintPath>..\..\..\packages\history-1.4\Newtonsoft.Json\lib\net45\Newtonsoft.Json.dll</HintPath>
105105
<Private>True</Private>
106106
</Reference>
107-
<Reference Include="SimpleRESTServices, Version=1.3.0.0, Culture=neutral, PublicKeyToken=8965cea5c205d3a3">
108-
<HintPath>..\..\..\packages\SimpleRESTServices.1.3.0.1\lib\net35\SimpleRESTServices.dll</HintPath>
107+
<Reference Include="SimpleRESTServices">
108+
<HintPath>..\..\..\packages\history-1.4\SimpleRESTServices\lib\net35\SimpleRESTServices.dll</HintPath>
109109
<Private>True</Private>
110110
</Reference>
111-
<Reference Include="System.Threading, Version=1.0.2856.102, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
112-
<HintPath>..\..\..\packages\TaskParallelLibrary.1.0.2856.0\lib\Net35\System.Threading.dll</HintPath>
111+
<Reference Include="System.Threading">
112+
<HintPath>..\..\..\packages\history-1.4\TaskParallelLibrary\lib\Net35\System.Threading.dll</HintPath>
113113
<Private>True</Private>
114114
</Reference>
115115
</ItemGroup>

0 commit comments

Comments
 (0)
X Tutup