Skip to content

Commit 5e1eb0b

Browse files
committed
Added Sia as a backend provider
1 parent b19dbc8 commit 5e1eb0b

18 files changed

+813
-146
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ packages
2222
changelog-news.txt
2323
binfiles.wxs
2424
.idea/
25+
.vs/
26+

Duplicati CommandLine Only.sln

+14-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

2-
Microsoft Visual Studio Solution File, Format Version 11.00
3-
# Visual Studio 2010
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.26730.12
5+
MinimumVisualStudioVersion = 10.0.40219.1
46
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duplicati.Library.Utility", "Duplicati\Library\Utility\Duplicati.Library.Utility.csproj", "{DE3E5D4C-51AB-4E5E-BEE8-E636CEBFBA65}"
57
EndProject
68
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duplicati.Library.Main", "Duplicati\Library\Main\Duplicati.Library.Main.csproj", "{10D2D1B7-C664-41D8-9B3A-00040C3D421B}"
@@ -79,6 +81,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duplicati.Library.Backend.S
7981
EndProject
8082
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duplicati.Tools", "Duplicati\Tools\Duplicati.Tools.csproj", "{0797AA22-C5DD-4950-BB60-34765AB8C6DD}"
8183
EndProject
84+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duplicati.Library.Backend.Sia", "Duplicati\Library\Backend\Sia\Duplicati.Library.Backend.Sia.csproj", "{32A74526-3E5F-413A-8CB4-1EFDAD4C8B91}"
85+
EndProject
8286
Global
8387
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8488
Debug|Any CPU = Debug|Any CPU
@@ -241,10 +245,17 @@ Global
241245
{0797AA22-C5DD-4950-BB60-34765AB8C6DD}.Debug|Any CPU.Build.0 = Debug|Any CPU
242246
{0797AA22-C5DD-4950-BB60-34765AB8C6DD}.Release|Any CPU.ActiveCfg = Release|Any CPU
243247
{0797AA22-C5DD-4950-BB60-34765AB8C6DD}.Release|Any CPU.Build.0 = Release|Any CPU
248+
{32A74526-3E5F-413A-8CB4-1EFDAD4C8B91}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
249+
{32A74526-3E5F-413A-8CB4-1EFDAD4C8B91}.Debug|Any CPU.Build.0 = Debug|Any CPU
250+
{32A74526-3E5F-413A-8CB4-1EFDAD4C8B91}.Release|Any CPU.ActiveCfg = Release|Any CPU
251+
{32A74526-3E5F-413A-8CB4-1EFDAD4C8B91}.Release|Any CPU.Build.0 = Release|Any CPU
244252
EndGlobalSection
245253
GlobalSection(SolutionProperties) = preSolution
246254
HideSolutionNode = FALSE
247255
EndGlobalSection
256+
GlobalSection(ExtensibilityGlobals) = postSolution
257+
SolutionGuid = {3221EB9F-EE08-460E-B236-CD594688FC5F}
258+
EndGlobalSection
248259
GlobalSection(MonoDevelopProperties) = preSolution
249260
StartupItem = Duplicati\CommandLine\Duplicati.CommandLine.csproj
250261
Policies = $0
@@ -254,7 +265,7 @@ Global
254265
$0.DotNetNamingPolicy = $2
255266
$2.DirectoryNamespaceAssociation = PrefixedHierarchical
256267
$2.ResourceNamePolicy = FileFormatDefault
257-
$0.TextStylePolicy = $3
268+
$0.TextStylePolicy = $5
258269
$3.inheritsSet = VisualStudio
259270
$3.scope = text/plain
260271
$3.FileWidth = 120
@@ -288,7 +299,6 @@ Global
288299
$4.inheritsSet = Mono
289300
$4.inheritsScope = text/x-csharp
290301
$4.scope = text/x-csharp
291-
$0.TextStylePolicy = $5
292302
$5.FileWidth = 120
293303
$5.EolMarker = Windows
294304
$5.inheritsSet = VisualStudio

Duplicati.sln

+150-139
Large diffs are not rendered by default.

Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj

+4
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@
7878
<Project>{59C8BBC5-6E42-46FB-AB3E-6C183A82459A}</Project>
7979
<Name>Duplicati.Library.Backend.SharePoint</Name>
8080
</ProjectReference>
81+
<ProjectReference Include="..\..\Library\Backend\Sia\Duplicati.Library.Backend.Sia.csproj">
82+
<Project>{32a74526-3e5f-413a-8cb4-1efdad4c8b91}</Project>
83+
<Name>Duplicati.Library.Backend.Sia</Name>
84+
</ProjectReference>
8185
<ProjectReference Include="..\..\Library\Utility\Duplicati.Library.Utility.csproj">
8286
<Project>{DE3E5D4C-51AB-4E5E-BEE8-E636CEBFBA65}</Project>
8387
<Name>Duplicati.Library.Utility</Name>

Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj

+4
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@
7676
<Project>{59C8BBC5-6E42-46FB-AB3E-6C183A82459A}</Project>
7777
<Name>Duplicati.Library.Backend.SharePoint</Name>
7878
</ProjectReference>
79+
<ProjectReference Include="..\..\Library\Backend\Sia\Duplicati.Library.Backend.Sia.csproj">
80+
<Project>{32a74526-3e5f-413a-8cb4-1efdad4c8b91}</Project>
81+
<Name>Duplicati.Library.Backend.Sia</Name>
82+
</ProjectReference>
7983
<ProjectReference Include="..\..\Library\Backend\SSHv2\Duplicati.Library.Backend.SSHv2.csproj">
8084
<Project>{FF2BF37C-E502-4C98-BEA0-701671DDFA08}</Project>
8185
<Name>Duplicati.Library.Backend.SSHv2</Name>

Duplicati/CommandLine/Duplicati.CommandLine.csproj

+4
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@
7272
<Project>{59C8BBC5-6E42-46FB-AB3E-6C183A82459A}</Project>
7373
<Name>Duplicati.Library.Backend.SharePoint</Name>
7474
</ProjectReference>
75+
<ProjectReference Include="..\Library\Backend\Sia\Duplicati.Library.Backend.Sia.csproj">
76+
<Project>{32a74526-3e5f-413a-8cb4-1efdad4c8b91}</Project>
77+
<Name>Duplicati.Library.Backend.Sia</Name>
78+
</ProjectReference>
7579
<ProjectReference Include="..\Library\Compression\Duplicati.Library.Compression.csproj">
7680
<Project>{19ECCE09-B5EB-406C-8C57-BAC66997D469}</Project>
7781
<Name>Duplicati.Library.Compression</Name>

Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj

+4
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@
103103
<Project>{59C8BBC5-6E42-46FB-AB3E-6C183A82459A}</Project>
104104
<Name>Duplicati.Library.Backend.SharePoint</Name>
105105
</ProjectReference>
106+
<ProjectReference Include="..\..\Library\Backend\Sia\Duplicati.Library.Backend.Sia.csproj">
107+
<Project>{32a74526-3e5f-413a-8cb4-1efdad4c8b91}</Project>
108+
<Name>Duplicati.Library.Backend.Sia</Name>
109+
</ProjectReference>
106110
<ProjectReference Include="..\..\Library\Backend\SSHv2\Duplicati.Library.Backend.SSHv2.csproj">
107111
<Project>{FF2BF37C-E502-4C98-BEA0-701671DDFA08}</Project>
108112
<Name>Duplicati.Library.Backend.SSHv2</Name>

Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj

+4
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,10 @@
313313
<Project>{3F47CB0C-CEE1-447F-9C26-7F8E419E3E3F}</Project>
314314
<Name>Duplicati.Library.Backend.AlternativeFTP</Name>
315315
</ProjectReference>
316+
<ProjectReference Include="..\..\Library\Backend\Sia\Duplicati.Library.Backend.Sia.csproj">
317+
<Project>{32a74526-3e5f-413a-8cb4-1efdad4c8b91}</Project>
318+
<Name>Duplicati.Library.Backend.Sia</Name>
319+
</ProjectReference>
316320
<ProjectReference Include="..\..\Library\Backend\Dropbox\Duplicati.Library.Backend.Dropbox.csproj">
317321
<Project>{B20A7CEE-9C5B-47B9-8B76-BC85ADFE8493}</Project>
318322
<Name>Duplicati.Library.Backend.Dropbox</Name>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProjectGuid>{32A74526-3E5F-413A-8CB4-1EFDAD4C8B91}</ProjectGuid>
7+
<OutputType>Library</OutputType>
8+
<RootNamespace>Duplicati.Library.Backend.Sia</RootNamespace>
9+
<AssemblyName>Duplicati.Library.Backend.Sia</AssemblyName>
10+
<SignAssembly>true</SignAssembly>
11+
<AssemblyOriginatorKeyFile>Duplicati.snk</AssemblyOriginatorKeyFile>
12+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13+
<UseMSBuildEngine>false</UseMSBuildEngine>
14+
</PropertyGroup>
15+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16+
<DebugSymbols>true</DebugSymbols>
17+
<DebugType>full</DebugType>
18+
<Optimize>false</Optimize>
19+
<OutputPath>bin\Debug</OutputPath>
20+
<DefineConstants>DEBUG;</DefineConstants>
21+
<ErrorReport>prompt</ErrorReport>
22+
<WarningLevel>4</WarningLevel>
23+
<ConsolePause>false</ConsolePause>
24+
</PropertyGroup>
25+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26+
<DebugType>full</DebugType>
27+
<Optimize>true</Optimize>
28+
<OutputPath>bin\Release</OutputPath>
29+
<ErrorReport>prompt</ErrorReport>
30+
<WarningLevel>4</WarningLevel>
31+
<ConsolePause>false</ConsolePause>
32+
</PropertyGroup>
33+
<ItemGroup>
34+
<Reference Include="System" />
35+
<Reference Include="Newtonsoft.Json">
36+
<HintPath>..\..\..\..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
37+
</Reference>
38+
</ItemGroup>
39+
<ItemGroup>
40+
<Compile Include="CodeFile1.cs" />
41+
<Compile Include="Properties\AssemblyInfo.cs" />
42+
<Compile Include="Sia.cs" />
43+
<Compile Include="Strings.cs" />
44+
</ItemGroup>
45+
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
46+
<ItemGroup>
47+
<ProjectReference Include="..\..\Utility\Duplicati.Library.Utility.csproj">
48+
<Project>{DE3E5D4C-51AB-4E5E-BEE8-E636CEBFBA65}</Project>
49+
<Name>Duplicati.Library.Utility</Name>
50+
</ProjectReference>
51+
<ProjectReference Include="..\OAuthHelper\Duplicati.Library.OAuthHelper.csproj">
52+
<Project>{D4C37C33-5E73-4B56-B2C3-DC4A6BAA36BB}</Project>
53+
<Name>Duplicati.Library.OAuthHelper</Name>
54+
</ProjectReference>
55+
<ProjectReference Include="..\..\Localization\Duplicati.Library.Localization.csproj">
56+
<Project>{B68F2214-951F-4F78-8488-66E1ED3F50BF}</Project>
57+
<Name>Duplicati.Library.Localization</Name>
58+
</ProjectReference>
59+
<ProjectReference Include="..\..\Interface\Duplicati.Library.Interface.csproj">
60+
<Project>{C5899F45-B0FF-483C-9D38-24A9FCAAB237}</Project>
61+
<Name>Duplicati.Library.Interface</Name>
62+
</ProjectReference>
63+
</ItemGroup>
64+
<ItemGroup>
65+
<None Include="Duplicati.snk" />
66+
<None Include="packages.config" />
67+
</ItemGroup>
68+
</Project>
596 Bytes
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
// Copyright (C) 2015, The Duplicati Team
2+
// http://www.duplicati.com, [email protected]
3+
//
4+
// This library is free software; you can redistribute it and/or modify
5+
// it under the terms of the GNU Lesser General Public License as
6+
// published by the Free Software Foundation; either version 2.1 of the
7+
// License, or (at your option) any later version.
8+
//
9+
// This library is distributed in the hope that it will be useful, but
10+
// WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
// Lesser General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU Lesser General Public
15+
// License along with this library; if not, write to the Free Software
16+
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17+
using System.Reflection;
18+
using System.Runtime.CompilerServices;
19+
20+
// Information about this assembly is defined by the following attributes.
21+
// Change them to the values specific to your project.
22+
23+
[assembly: AssemblyTitle("Duplicati.Library.Backend.Sia")]
24+
[assembly: AssemblyDescription("")]
25+
[assembly: AssemblyConfiguration("")]
26+
[assembly: AssemblyCompany("")]
27+
[assembly: AssemblyProduct("")]
28+
[assembly: AssemblyCopyright("")]
29+
[assembly: AssemblyTrademark("")]
30+
[assembly: AssemblyCulture("")]
31+
32+
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
33+
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
34+
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
35+
36+
[assembly: AssemblyVersion("2.0.0.7")]
37+
38+
// The following attributes are used to specify the signing key for the assembly,
39+
// if desired. See the Mono documentation for more information about signing.
40+
41+
//[assembly: AssemblyDelaySign(false)]
42+
//[assembly: AssemblyKeyFile("")]
43+

0 commit comments

Comments
 (0)