Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/clang-tidy-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,26 @@ on:
jobs:
clang-tidy:
runs-on: ubuntu-latest
container: ghcr.io/nextcloud/continuous-integration-client-qt6:client-6.8.1-2
container: ghcr.io/nextcloud/continuous-integration-client-qt6:client-forky-6.9.2-3
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 2
- name: Prepare compile_commands.json
run: |
cmake -G Ninja -B build -DCMAKE_PREFIX_PATH=/opt/qt -DQT_MAJOR_VERSION=6 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DBUILD_UPDATER=ON -DBUILD_TESTING=1 -DOPENSSL_ROOT_DIR=/usr/local/lib64
cmake -G Ninja -B build -DQT_MAJOR_VERSION=6 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DBUILD_UPDATER=ON -DBUILD_TESTING=1
cd build && ninja
- name: Create results directory
run: |
mkdir clang-tidy-result
- name: Analyze
run: |
/usr/bin/git config --global --add safe.directory "$GITHUB_WORKSPACE"
/usr/bin/git diff -U0 HEAD^ | clang-tidy-diff-15.py -checks='-*,modernize-use-auto,modernize-use-using,modernize-use-nodiscard,modernize-use-nullptr,modernize-use-override,cppcoreguidelines-pro-type-static-cast-downcast' -p1 -path build -export-fixes clang-tidy-result/fixes.yml
/usr/bin/git diff -U0 HEAD^ | clang-tidy-diff-21.py -checks='-*,modernize-use-auto,modernize-use-using,modernize-use-nodiscard,modernize-use-nullptr,modernize-use-override,cppcoreguidelines-pro-type-static-cast-downcast' -p1 -path build -export-fixes clang-tidy-result/fixes.yml
- name: Run clang-tidy-pr-comments action
uses: platisd/clang-tidy-pr-comments@28cfb84edafa771c044bde7e4a2a3fae57463818 # v1.6.1 # >1.4.3 switches to composite method w/ a forced python version and breaks things: https://github.com/actions/setup-python/issues/871
with:
python_path: "/usr/bin/python3"
# The GitHub token (or a personal access token)
github_token: ${{ secrets.GITHUB_TOKEN }}
# The path to the clang-tidy fixes generated previously
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build:
name: Linux Appimage Package
runs-on: ubuntu-latest
container: ghcr.io/nextcloud/continuous-integration-client-appimage-qt6:client-appimage-el8-6.9.3-2
container: ghcr.io/nextcloud/continuous-integration-client-appimage-qt6:client-appimage-el8-6.10.1-1
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-clang-compile-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
build:
name: Linux Clang compilation and tests
runs-on: ubuntu-latest
container: ghcr.io/nextcloud/continuous-integration-client-qt6:client-forky-6.9.2-1
container: ghcr.io/nextcloud/continuous-integration-client-qt6:client-forky-6.9.2-3
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-gcc-compile-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
build:
name: Linux GCC compilation and tests
runs-on: ubuntu-latest
container: ghcr.io/nextcloud/continuous-integration-client-qt6:client-forky-6.9.2-1
container: ghcr.io/nextcloud/continuous-integration-client-qt6:client-forky-6.9.2-3
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos-craft-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ jobs:
- name: Add required blueprint repositories
if: steps.cache-craft-restore.outputs.cache-hit != 'true'
run: |
python "${{ env.CRAFT_MASTER_LOCATION }}/CraftMaster.py" --config "${{ env.CRAFT_MASTER_CONFIG }}" --target ${{ env.CRAFT_TARGET }} -c --add-blueprint-repository "https://github.com/nextcloud/craft-blueprints-kde.git|next|"
python "${{ env.CRAFT_MASTER_LOCATION }}/CraftMaster.py" --config "${{ env.CRAFT_MASTER_CONFIG }}" --target ${{ env.CRAFT_TARGET }} -c --add-blueprint-repository "https://github.com/nextcloud/desktop-client-blueprints.git|next|"
python "${{ env.CRAFT_MASTER_LOCATION }}/CraftMaster.py" --config "${{ env.CRAFT_MASTER_CONFIG }}" --target ${{ env.CRAFT_TARGET }} -c --add-blueprint-repository "https://github.com/nextcloud/craft-blueprints-kde.git|master|"
python "${{ env.CRAFT_MASTER_LOCATION }}/CraftMaster.py" --config "${{ env.CRAFT_MASTER_CONFIG }}" --target ${{ env.CRAFT_TARGET }} -c --add-blueprint-repository "https://github.com/nextcloud/desktop-client-blueprints.git|master|"

- name: Setup Craft
if: steps.cache-craft-restore.outputs.cache-hit != 'true'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
build:
name: SonarCloud analysis
runs-on: [ubuntu-latest, self-hosted]
container: ghcr.io/nextcloud/continuous-integration-client-qt6:client-6.8.1-2
container: ghcr.io/nextcloud/continuous-integration-client-qt6:client-forky-6.9.2-3
env:
SONAR_SERVER_URL: "https://sonarcloud.io"
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
Expand All @@ -27,7 +27,7 @@ jobs:
run: |
mkdir build
cd build
cmake .. -G Ninja -DCMAKE_PREFIX_PATH=/opt/qt -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 -DCMAKE_BUILD_TYPE=Debug -DQUICK_COMPILER=ON -DBUILD_UPDATER=ON -DBUILD_TESTING=1 -DQT_MAJOR_VERSION=6 -DCMAKE_CXX_FLAGS=-Werror -DOPENSSL_ROOT_DIR=/usr/local/lib64 -DBUILD_COVERAGE=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
cmake .. -G Ninja -DCMAKE_PREFIX_PATH=/opt/qt -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=Debug -DQUICK_COMPILER=ON -DBUILD_UPDATER=ON -DBUILD_TESTING=1 -DQT_MAJOR_VERSION=6 -DCMAKE_CXX_FLAGS=-Werror -DOPENSSL_ROOT_DIR=/usr/local/lib64 -DBUILD_COVERAGE=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} ninja
- name: Run tests
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
if($LASTEXITCODE -ne 0) {exit $LASTEXITCODE}
}

craft --add-blueprint-repository "https://github.com/nextcloud/craft-blueprints-kde.git|stable-4.0|"
craft --add-blueprint-repository "https://github.com/nextcloud/desktop-client-blueprints.git|stable-4.0|"
craft --add-blueprint-repository "https://github.com/nextcloud/craft-blueprints-kde.git|master|"
craft --add-blueprint-repository "https://github.com/nextcloud/desktop-client-blueprints.git|master|"
craft craft
craft --install-deps nextcloud-client

Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ if(BUILD_CLIENT)
find_package(ZLIB REQUIRED)
find_package(SQLite3 3.9.0 REQUIRED)

find_package(KDSingleApplication-qt6 REQUIRED)

if(NOT WIN32 AND NOT APPLE)
find_package(PkgConfig REQUIRED)
pkg_check_modules(CLOUDPROVIDERS cloudproviders IMPORTED_TARGET)
Expand Down
8 changes: 0 additions & 8 deletions LICENSES/LicenseRef-DigiaCommercialUsage.txt

This file was deleted.

Empty file.
4 changes: 2 additions & 2 deletions admin/osx/mac-crafter/Sources/Commands/Build.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ struct Build: AsyncParsableCommand {
var kdeBlueprintsGitUrl = "https://github.com/nextcloud/craft-blueprints-kde.git"

@Option(name: [.long], help: "KDE Craft blueprints git ref/branch")
var kdeBlueprintsGitRef = "next"
var kdeBlueprintsGitRef = "master"

@Option(name: [.long], help: "Nextcloud Desktop Client craft blueprints Git URL.")
var clientBlueprintsGitUrl = "https://github.com/nextcloud/desktop-client-blueprints.git"

@Option(name: [.long], help: "Nextcloud Desktop Client craft blueprints Git ref/branch.")
var clientBlueprintsGitRef = "next"
var clientBlueprintsGitRef = "master"

@Option(name: [.long], help: "Nextcloud Desktop Client craft blueprint name.")
var craftBlueprintName = "nextcloud-client"
Expand Down
10 changes: 5 additions & 5 deletions craftmaster.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[General]
Branch = master
# CraftUrl = https://github.com/allexzander/craft.git
CraftRevision = 05fc0f0e7cb6cb5e8ee7eccba400ad4a2b590657
CraftRevision = 7b73acd32984b67d7e1054c9a02e3d86eca9a030
ShallowClone = False

# Variables defined here override the default value
Expand All @@ -28,7 +28,7 @@ ShortPath/Enabled = False
ShortPath/EnableJunctions = False

Packager/RepositoryUrl = https://download.nextcloud.com/desktop/development/craftCache/
Packager/CacheVersion = stable-4.0-qt-6.9.3
Packager/CacheVersion = master-qt-6.10.1
ContinuousIntegration/Enabled = True

Packager/UseCache = ${Variables:UseCache}
Expand All @@ -38,8 +38,8 @@ Packager/CacheDir = ${Variables:Root}\cache
[BlueprintSettings]
nextcloud-client.buildTests = True
binary/mysql.useMariaDB = False
libs/qt6.version = 6.9.3
craft/craft-blueprints-kde.revision = stable-4.0
libs/qt6.version = 6.10.1
craft/craft-blueprints-kde.revision = master

[windows-msvc2022_64-cl]
Packager/PackageType = NullsoftInstallerPackager
Expand All @@ -66,4 +66,4 @@ SIGN_PACKAGE = False

[Custom_Variables_for_Brander]
qtPath = /root/linux-gcc-x86_64
dockerImage = ghcr.io/nextcloud/continuous-integration-client-appimage-qt6:client-appimage-el8-6.9.3-2
dockerImage = ghcr.io/nextcloud/continuous-integration-client-appimage-qt6:client-appimage-el8-6.10.1-1
22 changes: 0 additions & 22 deletions src/3rdparty/LGPL_EXCEPTION.txt

This file was deleted.

2 changes: 0 additions & 2 deletions src/3rdparty/LGPL_EXCEPTION.txt.license

This file was deleted.

5 changes: 0 additions & 5 deletions src/3rdparty/qtlockedfile/README.txt

This file was deleted.

2 changes: 0 additions & 2 deletions src/3rdparty/qtlockedfile/README.txt.license

This file was deleted.

159 changes: 0 additions & 159 deletions src/3rdparty/qtlockedfile/qtlockedfile.cpp

This file was deleted.

Loading