Skip to content

Commit 3fa0a36

Browse files
committed
chore: Merge branch 'release/release-3.7.8'
# Conflicts: # test/libsyncengine/jobs/testsyncjobmanager.cpp
2 parents 2117286 + 2ac1170 commit 3fa0a36

File tree

623 files changed

+30010
-8083
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

623 files changed

+30010
-8083
lines changed

.github/actions/build_linux_arm/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
- name: Run the build script
1212
id: build
1313
run: |
14-
/usr/bin/env bash ${{ github.workspace }}/infomaniak-build-tools/linux/build-release-arm64-via-podman.sh --src-dir ${{ github.workspace }}
14+
/usr/bin/env bash ${{ github.workspace }}/infomaniak-build-tools/linux/build-release.sh -d ${{ github.workspace }}
1515
shell: bash
1616

1717
- name: Upload app AppImage

.github/actions/build_macos/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ runs:
7878
cp /usr/local/lib/libzip.5.dylib ./dependencies/
7979
cp /usr/local/lib/libzstd.1.dylib ./dependencies/
8080
cp ${{ github.workspace }}/build-macos/client/bin/crashpad_handler ./dependencies/
81-
# kDrivecommonserver_vfs_mac lib is not cached and therefore is uploaded as a separate artifact
81+
# kDrive_vfs_mac lib is not cached and therefore is uploaded as a separate artifact
8282
find "${{ github.workspace }}/build-macos/client/bin" -name "*.dylib" \
83-
-not -name "kDrivecommonserver_vfs_mac.dylib" \
83+
-not -name "kDrive_vfs_mac.dylib" \
8484
-exec cp {} ./dependencies/ \;
8585
shell: bash
8686
if: ${{ steps.build.outcome == 'success' && inputs.release_build == 'false' }} # Only copy dependencies for debug builds, release builds will have them in the app bundle
@@ -116,7 +116,7 @@ runs:
116116
cp ${{ github.workspace }}/build-macos/client/bin/*.lst ./uncached_dependencies/
117117
fi
118118
119-
cp ${{ github.workspace }}/build-macos/client/bin/kDrivecommonserver_vfs_mac.dylib ./uncached_dependencies/
119+
cp ${{ github.workspace }}/build-macos/client/bin/kDrive_vfs_mac.dylib ./uncached_dependencies/
120120
121121
shell: bash
122122
if: ${{ steps.build.outcome == 'success' }}
@@ -269,6 +269,6 @@ runs:
269269
if: ${{ steps.build.outcome == 'success' && inputs.release_build == 'true' }}
270270

271271
- name: Clean-up generated code
272-
run : rm -rf build-macos
272+
run : rm -rf build-macos/
273273
shell: bash
274274

.github/actions/build_windows/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ runs:
7373
- name: Fetch dependencies
7474
run: |
7575
mkdir dependencies
76-
# kDrivecommonserver_vfs_win lib is not cached and therefore is uploaded as a separate artifact
76+
# kDrive_vfs_win lib is not cached and therefore is uploaded as a separate artifact
7777
Get-ChildItem -Path ${{ github.workspace }}/build-windows/install/bin/ -Filter "*.dll" |
7878
Where-Object {
79-
$_.Name -ne "kDrivecommonserver_vfs_win.dll" -and
79+
$_.Name -ne "kDrive_vfs_win.dll" -and
8080
$_.Name -ne "KDContextMenu.dll" -and
8181
$_.Name -ne "KDOverlays.dll" -and
8282
$_.Name -ne "Vfs.dll"
@@ -126,7 +126,7 @@ runs:
126126
mkdir uncached_dependencies
127127
$uncached = @(
128128
"sync-exclude.lst",
129-
"kDrivecommonserver_vfs_win.dll",
129+
"kDrive_vfs_win.dll",
130130
"KDContextMenu.dll",
131131
"KDOverlays.dll",
132132
"Vfs.dll"

.github/actions/get_version/action.yml

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,14 @@ outputs:
77
value: ${{ steps.get-version-step.outputs.kDrive_version }}
88

99
runs:
10-
using: "composite"
11-
steps:
12-
- name: Read VERSION.cmake from repo
13-
id: get-version-step
14-
uses: actions/github-script@v7
15-
with:
16-
script: |
17-
const file = await github.rest.repos.getContent({
18-
owner: context.repo.owner,
19-
repo: context.repo.repo,
20-
path: 'VERSION.cmake',
21-
ref: context.sha
22-
});
23-
const content = Buffer.from(file.data.content, file.data.encoding).toString();
24-
const major = content.match(/KDRIVE_VERSION_MAJOR\s+(\d+)/)?.[1];
25-
const minor = content.match(/KDRIVE_VERSION_MINOR\s+(\d+)/)?.[1];
26-
const patch = content.match(/KDRIVE_VERSION_PATCH\s+(\d+)/)?.[1];
27-
const date = new Date().toISOString().slice(0, 10).replace(/-/g, '');
28-
29-
const full_version = `${major}.${minor}.${patch}.${date}`;
30-
core.setOutput("kDrive_version", `${full_version}`);
31-
core.info(`kDrive version is ${full_version}`);
10+
using: "composite"
11+
steps:
12+
- name: Get version from version.json
13+
id: get-version-step
14+
shell: bash
15+
run: |
16+
source "${{ github.workspace }}/infomaniak-build-tools/version-helpers.sh"
17+
VERSION=$(GetVersionFromJson "${{ github.workspace }}" true)
18+
19+
echo "Detected version: $VERSION"
20+
echo "kDrive_version=$VERSION" >> "$GITHUB_OUTPUT"

.github/workflows/build-and-run-extended-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- name: Build kDrive desktop
6666
run: |
6767
call "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Auxiliary/Build/vcvars64.bat"
68-
powershell ./infomaniak-build-tools/windows/build-drive.ps1 -ci -coverage
68+
powershell ./infomaniak-build-tools/windows/build-drive.ps1 -ci -coverage -unitTests
6969
shell: cmd
7070

7171
- name: Execute tests

.github/workflows/kdrive-desktop-release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,9 @@ jobs:
5959

6060
- name: Check release notes
6161
run: |
62-
VERSION_NUMBER="${{ steps.get-version.outputs.kDrive_version }}" # Example: 3.9.20.20250820
63-
version_size=${#VERSION_NUMBER}
64-
end_position=$((size - 9))
65-
VERSION_NUMBER=${VERSION_NUMBER:0:$end_position} # Removes the date, e.g., 20250820
66-
62+
VERSION_NUMBER="${{ steps.get-version.outputs.kDrive_version }}" # Example: 3.9.20.23
63+
VERSION_NUMBER="${VERSION_NUMBER%.*}" # Remove build number for release notes check
64+
6765
BASE_NAME="kDrive-${VERSION_NUMBER}"
6866
BASE_PATH="./release_notes/${BASE_NAME}"
6967
OS=( "win" "linux" "macos" )

.github/workflows/package.yml

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

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,3 +193,5 @@ cmake-build-debug*
193193
# Python virtual environment folder, used by the installation of conan.
194194
.venv/
195195
/infomaniak-build-tools/windows/ksigntool/.vs/ksigntool
196+
**/BundleArtifactss
197+
/*build*

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ if(APPLE)
157157
endif(APPLE)
158158

159159
if(APPLE)
160-
set(SOCKETAPI_TEAM_IDENTIFIER_PREFIX "" CACHE STRING "SocketApi prefix (including a following dot) that must match the codesign key's TeamIdentifier/Organizational Unit")
160+
set(TEAM_IDENTIFIER_PREFIX "" CACHE STRING "Team identifier prefix (including a following dot) that must match the codesign key's TeamIdentifier/Organizational Unit")
161161
endif()
162162

163163
if(BUILD_CLIENT)
@@ -247,6 +247,9 @@ if(BUILD_KDRIVE_OSX_BUNDLE)
247247
# Default Lite Sync app exclude list
248248
install(FILES litesync-exclude.lst DESTINATION ${KDRIVE_OSX_BUNDLE}/Contents/Resources/)
249249

250+
# Assets
251+
install(FILES ${KDRIVE_THEME_DIR}/Assets.car DESTINATION ${KDRIVE_OSX_BUNDLE}/Contents/Resources/)
252+
250253
# Crashpad_handler
251254
find_program(CRASHPAD_HANDLER_PROGRAM NAMES crashpad_handler NO_CACHE)
252255
message(STATUS "crashpad_handler found in ${CRASHPAD_HANDLER_PROGRAM}")

THEME.cmake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
set(KDRIVE_THEME_DIR "" CACHE STRING "Define directory containing a custom theme")
22
include("${KDRIVE_THEME_DIR}/kDrive.cmake")
33

4-
# Default suffix if the theme doesn't define one
5-
if(NOT DEFINED APPLICATION_VIRTUALFILE_SUFFIX)
6-
set(APPLICATION_VIRTUALFILE_SUFFIX "${APPLICATION_SHORTNAME}_virtual" CACHE STRING "Virtual file suffix (not including the .)")
7-
endif()
8-
94
# Default dbus name and path
105
if(NOT DEFINED APPLICATION_CLOUDPROVIDERS_DBUS_NAME)
116
set(APPLICATION_CLOUDPROVIDERS_DBUS_NAME ${APPLICATION_REV_DOMAIN})

0 commit comments

Comments
 (0)