-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support multiple host for HA Improve output Check-Update and Upgrade application
- Loading branch information
Showing
8 changed files
with
367 additions
and
296 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# All files | ||
[*] | ||
guidelines = 80 | ||
|
||
# C# or VB files | ||
[*.{cs,vb}] | ||
guidelines = 80, 120 |
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
44 changes: 23 additions & 21 deletions
44
src/Corsinvest.ProxmoxVE.AutoSnap/Corsinvest.ProxmoxVE.AutoSnap.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 |
---|---|---|
@@ -1,22 +1,24 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<Version>1.5.0</Version> | ||
<TargetFramework>netcoreapp3.0</TargetFramework> | ||
<AssemblyName>cv4pve-autosnap</AssemblyName> | ||
<Company>Corsinvest Srl</Company> | ||
<Authors>Daniele Corsini</Authors> | ||
<Copyright>Corsinvest Srl</Copyright> | ||
<Product>Corsinvest for Proxmox VE Auto Snapshot</Product> | ||
<AssemblyTitle>Corsinvest for Proxmox VE Auto Snapshot</AssemblyTitle> | ||
<Description>Corsinvest for Proxmox VE Auto Snapshot</Description> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<!-- Fix RedHat, Centos,Fedora --> | ||
<RuntimeHostConfigurationOption Include="System.Globalization.Invariant" Value="true" /> | ||
|
||
<!-- <ProjectReference Include="..\..\..\cv4pve-api-dotnet\src\Corsinvest.ProxmoxVE.Api.Extension\Corsinvest.ProxmoxVE.Api.Extension.csproj" /> --> | ||
<PackageReference Include="Corsinvest.ProxmoxVE.Api.Extension" Version="2.0.0" /> | ||
</ItemGroup> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<Version>1.6.0</Version> | ||
<TargetFramework>netcoreapp3.0</TargetFramework> | ||
<AssemblyName>cv4pve-autosnap</AssemblyName> | ||
<Company>Corsinvest Srl</Company> | ||
<Authors>Daniele Corsini</Authors> | ||
<Copyright>Corsinvest Srl</Copyright> | ||
<Product>Corsinvest for Proxmox VE Auto Snapshot</Product> | ||
<AssemblyTitle>Corsinvest for Proxmox VE Auto Snapshot</AssemblyTitle> | ||
<Description>Corsinvest for Proxmox VE Auto Snapshot</Description> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<!-- Fix RedHat, Centos,Fedora --> | ||
<RuntimeHostConfigurationOption Include="System.Globalization.Invariant" Value="true" /> | ||
|
||
<TrimmerRootAssembly Include="System.Net.WebClient" /> | ||
|
||
<!-- <ProjectReference Include="..\..\..\cv4pve-api-dotnet\src\Corsinvest.ProxmoxVE.Api.Shell\Corsinvest.ProxmoxVE.Api.Shell.csproj" /> --> | ||
<PackageReference Include="Corsinvest.ProxmoxVE.Api.Shell" Version="1.0.0" /> | ||
</ItemGroup> | ||
</Project> |
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 |
---|---|---|
@@ -1,27 +1,27 @@ | ||
/* | ||
* This file is part of the cv4pve-autosnap https://github.com/Corsinvest/cv4pve-autosnap, | ||
* | ||
* This source file is available under two different licenses: | ||
* - GNU General Public License version 3 (GPLv3) | ||
* - Corsinvest Enterprise License (CEL) | ||
* Full copyright and license information is available in | ||
* LICENSE.md which is distributed with this source code. | ||
* | ||
* Copyright (C) 2016 Corsinvest Srl GPLv3 and CEL | ||
*/ | ||
|
||
using System; | ||
using Corsinvest.ProxmoxVE.Api.Extension.Helpers.Shell; | ||
|
||
namespace Corsinvest.ProxmoxVE.AutoSnap | ||
{ | ||
class Program | ||
{ | ||
static int Main(string[] args) | ||
{ | ||
var app = ShellHelper.CreateConsoleApp(Commands.APPLICATION_NAME, "Automatic snapshot VM/CT with retention"); | ||
new ShellCommands(app); | ||
return app.ExecuteConsoleApp(Console.Out, args); | ||
} | ||
} | ||
/* | ||
* This file is part of the cv4pve-autosnap https://github.com/Corsinvest/cv4pve-autosnap, | ||
* | ||
* This source file is available under two different licenses: | ||
* - GNU General Public License version 3 (GPLv3) | ||
* - Corsinvest Enterprise License (CEL) | ||
* Full copyright and license information is available in | ||
* LICENSE.md which is distributed with this source code. | ||
* | ||
* Copyright (C) 2016 Corsinvest Srl GPLv3 and CEL | ||
*/ | ||
|
||
using Corsinvest.ProxmoxVE.Api.Shell.Helpers; | ||
|
||
namespace Corsinvest.ProxmoxVE.AutoSnap | ||
{ | ||
class Program | ||
{ | ||
static int Main(string[] args) | ||
{ | ||
var app = ShellHelper.CreateConsoleApp(Commands.APPLICATION_NAME, | ||
"Automatic snapshot VM/CT with retention"); | ||
new ShellCommands(app); | ||
return app.ExecuteConsoleApp(args); | ||
} | ||
} | ||
} |
Oops, something went wrong.