forked from duplicati/duplicati
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/feature/upgrade-to-sdk-style-pro…
…jects' into feature/net5-kestrel # Conflicts: # .appveyor.yml # .github/workflows/tests.yml # BuildTools/AutoUpdateBuilder/AutoUpdateBuilder.csproj # BuildTools/DependencyFinder/DependencyFinder.csproj # BuildTools/GnupgSigningTool/GnupgSigningTool.csproj # BuildTools/UpdateVersionStamp/UpdateVersionStamp.csproj # Duplicati CommandLine Only.sln # Duplicati.Library.RestAPI/RESTMethods/RequestInfo.cs # Duplicati.Library.RestAPI/Runner.cs # Duplicati.sln # Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj # Duplicati/CommandLine/BackendTester/app.config # Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj # Duplicati/CommandLine/BackendTool/app.config # Duplicati/CommandLine/ConfigurationImporter/Duplicati.CommandLine.ConfigurationImporter.csproj # Duplicati/CommandLine/Duplicati.CommandLine.csproj # Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj # Duplicati/CommandLine/app.config # Duplicati/GUI/Duplicati.GUI.TrayIcon/Assets/icons/normal-warning.png # Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj # Duplicati/GUI/Duplicati.GUI.TrayIcon/Program.cs # Duplicati/GUI/Duplicati.GUI.TrayIcon/app.config # Duplicati/Library/AutoUpdater/Duplicati.Library.AutoUpdater.csproj # Duplicati/Library/Backend/AlternativeFTP/Duplicati.Library.Backend.AlternativeFTP.csproj # Duplicati/Library/Backend/AzureBlob/Duplicati.Library.Backend.AzureBlob.csproj # Duplicati/Library/Backend/Backblaze/Duplicati.Library.Backend.Backblaze.csproj # Duplicati/Library/Backend/Box/Duplicati.Library.Backend.Box.csproj # Duplicati/Library/Backend/CloudFiles/Duplicati.Library.Backend.CloudFiles.csproj # Duplicati/Library/Backend/Dropbox/Duplicati.Library.Backend.Dropbox.csproj # Duplicati/Library/Backend/FTP/Duplicati.Library.Backend.FTP.csproj # Duplicati/Library/Backend/File/Duplicati.Library.Backend.File.csproj # Duplicati/Library/Backend/GoogleServices/Duplicati.Library.Backend.GoogleServices.csproj # Duplicati/Library/Backend/HubiC/Duplicati.Library.Backend.HubiC.csproj # Duplicati/Library/Backend/Idrivee2/Duplicati.Library.Backend.Idrivee2.csproj # Duplicati/Library/Backend/Jottacloud/Duplicati.Library.Backend.Jottacloud.csproj # Duplicati/Library/Backend/Mega/Duplicati.Library.Backend.Mega.csproj # Duplicati/Library/Backend/OAuthHelper/Duplicati.Library.OAuthHelper.csproj # Duplicati/Library/Backend/OneDrive/Duplicati.Library.Backend.OneDrive.csproj # Duplicati/Library/Backend/OpenStack/Duplicati.Library.Backend.OpenStack.csproj # Duplicati/Library/Backend/Rclone/Duplicati.Library.Backend.Rclone.csproj # Duplicati/Library/Backend/S3/Duplicati.Library.Backend.S3.csproj # Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj # Duplicati/Library/Backend/SharePoint/Duplicati.Library.Backend.SharePoint.csproj # Duplicati/Library/Backend/Sia/Duplicati.Library.Backend.Sia.csproj # Duplicati/Library/Backend/Storj/Duplicati.Library.Backend.Storj.csproj # Duplicati/Library/Backend/TahoeLAFS/Duplicati.Library.Backend.TahoeLAFS.csproj # Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj # Duplicati/Library/Backend/TencentCOS/Duplicati.Library.Backend.TencentCOS.csproj # Duplicati/Library/Backend/WEBDAV/Duplicati.Library.Backend.WEBDAV.csproj # Duplicati/Library/Common/Duplicati.Library.Common.csproj # Duplicati/Library/Compression/Duplicati.Library.Compression.csproj # Duplicati/Library/DynamicLoader/Duplicati.Library.DynamicLoader.csproj # Duplicati/Library/Encryption/Duplicati.Library.Encryption.csproj # Duplicati/Library/Interface/Duplicati.Library.Interface.csproj # Duplicati/Library/Localization/Duplicati.Library.Localization.csproj # Duplicati/Library/Logging/Duplicati.Library.Logging.csproj # Duplicati/Library/Main/Duplicati.Library.Main.csproj # Duplicati/Library/Modules/Builtin/CheckMonoSSL.cs # Duplicati/Library/Modules/Builtin/Duplicati.Library.Modules.Builtin.csproj # Duplicati/Library/Modules/Builtin/SendJabberMessage.cs # Duplicati/Library/SQLiteHelper/Duplicati.Library.SQLiteHelper.csproj # Duplicati/Library/Snapshots/Duplicati.Library.Snapshots.csproj # Duplicati/Library/UsageReporter/Duplicati.Library.UsageReporter.csproj # Duplicati/Library/Utility/Duplicati.Library.Utility.csproj # Duplicati/Library/Utility/HashAlgorithmHelper.cs # Duplicati/Library/Utility/Power/WindowsPowerSupplyState.cs # Duplicati/License/Duplicati.License.csproj # Duplicati/Server/Duplicati.Server.Serialization/Duplicati.Server.Serialization.csproj # Duplicati/Server/Duplicati.Server.csproj # Duplicati/Server/app.config # Duplicati/Service/Duplicati.Service.csproj # Duplicati/Service/app.config # Duplicati/Tools/Duplicati.Tools.csproj # Duplicati/UnitTest/Duplicati.UnitTest.csproj # Duplicati/UnitTest/GeneralBlackBoxTesting.cs # Duplicati/UnitTest/app.config # Duplicati/WindowsService/WindowsService.csproj # Installer/debian/docker/debian/control # Tools/SQLiteTool/SQLiteTool.csproj # Tools/ZipFileDebugger/ZipFileDebugger.csproj # guiTests/guiTest.py # thirdparty/UnixSupport/UnixSupport.csproj # thirdparty/alphavss/Homepage.txt # thirdparty/alphavss/License.txt # thirdparty/alphavss/licensedata.json
- Loading branch information
Showing
249 changed files
with
4,154 additions
and
3,015 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
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,105 @@ | ||
name: Build release installers | ||
|
||
on: | ||
workflow_dispatch | ||
|
||
env: | ||
build_directory: "Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release" | ||
|
||
jobs: | ||
macbuild: | ||
name: mac build and installers | ||
runs-on: macos-latest | ||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- name: Install NuGet | ||
uses: nuget/[email protected] | ||
|
||
- name: Checkout Source | ||
uses: actions/checkout@v3 | ||
|
||
- name: Restore NuGet Packages | ||
run: | | ||
nuget restore Duplicati.sln | ||
nuget restore "BuildTools/UpdateVersionStamp/UpdateVersionStamp.sln" | ||
- name: Build Duplicati (macOS) | ||
run: | | ||
msbuild /property:Configuration=Release "BuildTools/UpdateVersionStamp/UpdateVersionStamp.sln" | ||
RELEASE_TIMESTAMP=$(date +%Y-%m-%d) | ||
RELEASE_TYPE="canary" | ||
RELEASE_INC_VERSION=$(cat Updates/build_version.txt) | ||
RELEASE_INC_VERSION=$((RELEASE_INC_VERSION+1)) | ||
RELEASE_VERSION="2.0.7.${RELEASE_INC_VERSION}" | ||
RELEASE_NAME="${RELEASE_VERSION}_${RELEASE_TYPE}_${RELEASE_TIMESTAMP}" | ||
echo "${RELEASE_NAME}" > "Duplicati/License/VersionTag.txt" | ||
echo "${RELEASE_TYPE}" > "Duplicati/Library/AutoUpdater/AutoUpdateBuildChannel.txt" | ||
mono "BuildTools/UpdateVersionStamp/bin/Release/UpdateVersionStamp.exe" --version="${RELEASE_VERSION}" | ||
msbuild -p:DefineConstants=\"ENABLE_GTK\;XAMARIN_MAC\" -p:Configuration=Release Duplicati.sln | ||
- name: Build installers (OSX) | ||
run: | | ||
Installer/OSX/artifact_mac.sh | ||
- name: Upload build results | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
retention-days: 5 | ||
name: build-results-mac | ||
path: ~/artifacts/**/* | ||
|
||
windowsbuild: | ||
name: windows installer | ||
runs-on: windows-latest | ||
needs: macbuild | ||
steps: | ||
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
- name: Install NuGet | ||
uses: nuget/[email protected] | ||
- uses: actions/checkout@v3 | ||
- name: Retrieve mac build | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: build-results-mac | ||
path: ~/macartifacts | ||
- name: set env | ||
run: echo "ZIPBUILDFILE=$(resolve-path ~ | select-object -expandproperty path)\macartifacts\$(get-childitem ~\macartifacts\*.zip | select-object -first 1 -expandproperty name )" >> $env:GITHUB_ENV | ||
- name: Build installers (Windows) | ||
run: | | ||
echo ${{ env.ZIPBUILDFILE }} | ||
.\\Installer\\Windows\\artifact_win.bat ${{ env.ZIPBUILDFILE }} | ||
- name: Upload build results | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
retention-days: 5 | ||
name: build-results-windows | ||
path: ~/artifacts/**/* | ||
|
||
debianbuild: | ||
name: debian like installer | ||
runs-on: ubuntu-latest | ||
needs: macbuild | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Retrieve mac build | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: build-results-mac | ||
path: ~/macartifacts | ||
- name: set env | ||
run: echo "ZIPBUILDFILE=$(ls ~/macartifacts/*.zip | tail -1)" >> $GITHUB_ENV | ||
- name: Build installers (Deb) | ||
run: | | ||
echo ${{ env.ZIPBUILDFILE }} | ||
sudo apt install debhelper | ||
Installer/debian/artifact_deb.sh ${{ env.ZIPBUILDFILE }} | ||
- name: Upload build results | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
retention-days: 5 | ||
name: build-results-linux | ||
path: ~/artifacts/**/* | ||
|
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,108 @@ | ||
name: Build release installers from PR | ||
|
||
on: | ||
pull_request: | ||
types: [ labeled ] | ||
|
||
env: | ||
build_directory: "Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release" | ||
|
||
jobs: | ||
macbuild: | ||
if: ${{ github.event.label.name == 'testbuild' }} | ||
name: mac build and installers | ||
runs-on: macos-latest | ||
strategy: | ||
fail-fast: false | ||
|
||
|
||
steps: | ||
- name: Install NuGet | ||
uses: nuget/[email protected] | ||
|
||
- name: Checkout Source | ||
uses: actions/checkout@v3 | ||
|
||
- name: Restore NuGet Packages | ||
run: | | ||
nuget restore Duplicati.sln | ||
nuget restore "BuildTools/UpdateVersionStamp/UpdateVersionStamp.sln" | ||
- name: Build Duplicati (macOS) | ||
run: | | ||
msbuild /property:Configuration=Release "BuildTools/UpdateVersionStamp/UpdateVersionStamp.sln" | ||
RELEASE_TIMESTAMP=$(date +%Y-%m-%d) | ||
RELEASE_TYPE="canary" | ||
RELEASE_INC_VERSION=$(cat Updates/build_version.txt) | ||
RELEASE_INC_VERSION=$((RELEASE_INC_VERSION+1)) | ||
RELEASE_VERSION="2.0.7.${RELEASE_INC_VERSION}" | ||
RELEASE_NAME="${RELEASE_VERSION}_${RELEASE_TYPE}_${RELEASE_TIMESTAMP}" | ||
echo "${RELEASE_NAME}" > "Duplicati/License/VersionTag.txt" | ||
echo "${RELEASE_TYPE}" > "Duplicati/Library/AutoUpdater/AutoUpdateBuildChannel.txt" | ||
mono "BuildTools/UpdateVersionStamp/bin/Release/UpdateVersionStamp.exe" --version="${RELEASE_VERSION}" | ||
msbuild -p:DefineConstants=\"ENABLE_GTK\;XAMARIN_MAC\" -p:Configuration=Release Duplicati.sln | ||
- name: Build installers (OSX) | ||
run: | | ||
Installer/OSX/artifact_mac.sh | ||
- name: Upload build results | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
retention-days: 5 | ||
name: build-results-mac | ||
path: ~/artifacts/**/* | ||
|
||
windowsbuild: | ||
name: windows installer | ||
runs-on: windows-latest | ||
needs: macbuild | ||
steps: | ||
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
- name: Install NuGet | ||
uses: nuget/[email protected] | ||
- uses: actions/checkout@v3 | ||
- name: Retrieve mac build | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: build-results-mac | ||
path: ~/macartifacts | ||
- name: set env | ||
run: echo "ZIPBUILDFILE=$(resolve-path ~ | select-object -expandproperty path)\macartifacts\$(get-childitem ~\macartifacts\*.zip | select-object -first 1 -expandproperty name )" >> $env:GITHUB_ENV | ||
- name: Build installers (Windows) | ||
run: | | ||
echo ${{ env.ZIPBUILDFILE }} | ||
.\\Installer\\Windows\\artifact_win.bat ${{ env.ZIPBUILDFILE }} | ||
- name: Upload build results | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
retention-days: 5 | ||
name: build-results-windows | ||
path: ~/artifacts/**/* | ||
|
||
debianbuild: | ||
name: debian like installer | ||
runs-on: ubuntu-latest | ||
needs: macbuild | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Retrieve mac build | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: build-results-mac | ||
path: ~/macartifacts | ||
- name: set env | ||
run: echo "ZIPBUILDFILE=$(ls ~/macartifacts/*.zip | tail -1)" >> $GITHUB_ENV | ||
- name: Build installers (Deb) | ||
run: | | ||
echo ${{ env.ZIPBUILDFILE }} | ||
sudo apt install debhelper | ||
Installer/debian/artifact_deb.sh ${{ env.ZIPBUILDFILE }} | ||
- name: Upload build results | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
retention-days: 5 | ||
name: build-results-linux | ||
path: ~/artifacts/**/* | ||
|
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,25 @@ | ||
name: Close inactive issues | ||
on: | ||
schedule: | ||
- cron: "30 1 * * *" | ||
|
||
jobs: | ||
close-issues: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- uses: actions/stale@v8 | ||
with: | ||
days-before-issue-stale: 15 | ||
days-before-issue-close: 15 | ||
stale-issue-label: "stale" | ||
stale-issue-message: "This issue is stale because it has been open for 15 days with no activity." | ||
close-issue-message: "This issue was closed because it has been inactive for 15 days since being marked as stale." | ||
days-before-pr-stale: -1 | ||
days-before-pr-close: -1 | ||
exempt-all-assignees: true | ||
only-labels: "pending user feedback" | ||
exempt-issue-labels: "bug,enhancement,good first issue,backend enhancement,backend issue,backup corruption,bounty,bugreport attached,core logic,docker,filters,help wanted,linux,localization,MacOS,mono,performance issue,reproduced,server side,ssl/tls issue,Synology,tests,translation,UI,windows" | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.