Skip to content

Commit 2c68e46

Browse files
authored
Merge pull request #9305 from nextcloud/bugfix/fixBuildOfAppImageWithNewerBuildImage
chore: use newer build image with Qt 6.9.3 release as expected
2 parents 2042457 + 6b7e402 commit 2c68e46

7 files changed

Lines changed: 17 additions & 13 deletions

File tree

.github/workflows/linux-appimage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build:
1010
name: Linux Appimage Package
1111
runs-on: ubuntu-latest
12-
container: ghcr.io/nextcloud/continuous-integration-client-appimage-qt6:client-appimage-el8-6.8.3-1
12+
container: ghcr.io/nextcloud/continuous-integration-client-appimage-qt6:client-appimage-el8-6.9.3-2
1313
steps:
1414
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1515
with:
@@ -20,7 +20,7 @@ jobs:
2020
env:
2121
PR_ID: ${{ github.event.number }}
2222
run: |
23-
BUILDNR=${GITHUB_RUN_ID} VERSION_SUFFIX=${GITHUB_HEAD_REF} BUILD_UPDATER=ON DESKTOP_CLIENT_ROOT=`pwd` EXECUTABLE_NAME=nextcloud QT_BASE_DIR=/opt/qt OPENSSL_ROOT_DIR=/usr/local/lib64 /bin/bash -c "./admin/linux/build-appimage.sh"
23+
BUILDNR=${GITHUB_RUN_ID} VERSION_SUFFIX=${GITHUB_HEAD_REF} BUILD_UPDATER=ON DESKTOP_CLIENT_ROOT=`pwd` EXECUTABLE_NAME=nextcloud QT_BASE_DIR=/root/linux-gcc-x86_64 /bin/bash -c "./admin/linux/build-appimage.sh"
2424
2525
- name: Upload AppImage artifact
2626
id: upload-appimage

.github/workflows/linux-clang-compile-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
build:
99
name: Linux Clang compilation and tests
1010
runs-on: ubuntu-latest
11-
container: ghcr.io/nextcloud/continuous-integration-client-qt6:client-trixie-6.8.2-2
11+
container: ghcr.io/nextcloud/continuous-integration-client-qt6:client-forky-6.9.2-1
1212
steps:
1313
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1414
with:

.github/workflows/linux-gcc-compile-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
build:
99
name: Linux GCC compilation and tests
1010
runs-on: ubuntu-latest
11-
container: ghcr.io/nextcloud/continuous-integration-client-qt6:client-trixie-6.8.2-2
11+
container: ghcr.io/nextcloud/continuous-integration-client-qt6:client-forky-6.9.2-1
1212
steps:
1313
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1414
with:

admin/linux/build-appimage.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ if [ "$BUILD_UPDATER" != "OFF" ]; then
2424
fi
2525

2626
# Ensure we use gcc-11 on RHEL-like systems
27-
if [ -e "/opt/rh/gcc-toolset-11/enable" ]; then
28-
source /opt/rh/gcc-toolset-11/enable
27+
if [ -e "/opt/rh/gcc-toolset-14/enable" ]; then
28+
source /opt/rh/gcc-toolset-14/enable
2929
fi
3030

3131
mkdir /app

craftmaster.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,13 @@ Paths/Python = /Users/runner/hostedtoolcache/Python/3.12.3/arm64
5757
[linux-gcc-x86_64]
5858
General/ABI = linux-gcc-x86_64
5959
Paths/Python = /usr/bin/python3
60+
Packager/RepositoryUrl = https://files.kde.org/craft/Qt6/
61+
Packager/CacheVersion = 25.12
6062

6163
[Env]
6264
CRAFT_CODESIGN_CERTIFICATE =
6365
SIGN_PACKAGE = False
6466

6567
[Custom_Variables_for_Brander]
66-
qtPath = /opt/qt
67-
dockerImage = ghcr.io/nextcloud/continuous-integration-client-appimage-qt6:client-appimage-el8-6.8.3-1
68+
qtPath = /root/linux-gcc-x86_64
69+
dockerImage = ghcr.io/nextcloud/continuous-integration-client-appimage-qt6:client-appimage-el8-6.9.3-2

src/gui/tooltipupdater.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* SPDX-License-Identifier: GPL-2.0-or-later
55
*/
66

7+
#pragma once
8+
79
#include <QObject>
810
#include <QPoint>
911

src/libsync/bulkpropagatordownloadjob.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ BulkPropagatorDownloadJob::BulkPropagatorDownloadJob(OwncloudPropagator *propaga
3030

3131
namespace
3232
{
33-
static QString makeRecallFileName(const QString &fn)
33+
static QString makeBulkDownloadRecallFileName(const QString &fn)
3434
{
3535
auto recallFileName(fn);
3636
// Add _recall-XXXX before the extension.
@@ -46,9 +46,9 @@ static QString makeRecallFileName(const QString &fn)
4646
return recallFileName;
4747
}
4848

49-
void handleRecallFile(const QString &filePath, const QString &folderPath, SyncJournalDb &journal)
49+
void handleBulkDownloadRecallFile(const QString &filePath, const QString &folderPath, SyncJournalDb &journal)
5050
{
51-
qCDebug(lcBulkPropagatorDownloadJob) << "handleRecallFile: " << filePath;
51+
qCDebug(lcBulkPropagatorDownloadJob) << "handleBulkDownloadRecallFile: " << filePath;
5252

5353
FileSystem::setFileHidden(filePath, true);
5454

@@ -81,7 +81,7 @@ void handleRecallFile(const QString &filePath, const QString &folderPath, SyncJo
8181

8282
qCInfo(lcBulkPropagatorDownloadJob) << "Recalling" << localRecalledFile << "Checksum:" << record._checksumHeader;
8383

84-
const auto &targetPath = makeRecallFileName(recalledFile);
84+
const auto &targetPath = makeBulkDownloadRecallFileName(recalledFile);
8585

8686
qCDebug(lcBulkPropagatorDownloadJob) << "Copy recall file: " << recalledFile << " -> " << targetPath;
8787
// Remove the target first, QFile::copy will not overwrite it.
@@ -197,7 +197,7 @@ bool BulkPropagatorDownloadJob::updateMetadata(const SyncFileItemPtr &item)
197197
// handle the special recall file
198198
if (!item->_remotePerm.hasPermission(RemotePermissions::IsShared)
199199
&& (item->_file == QLatin1String(".sys.admin#recall#") || item->_file.endsWith(QLatin1String("/.sys.admin#recall#")))) {
200-
handleRecallFile(fullFileName, propagator()->localPath(), *propagator()->_journal);
200+
handleBulkDownloadRecallFile(fullFileName, propagator()->localPath(), *propagator()->_journal);
201201
}
202202

203203
const auto isLockOwnedByCurrentUser = item->_lockOwnerId == propagator()->account()->davUser();

0 commit comments

Comments
 (0)