-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spaces migration #10019
Spaces migration #10019
Conversation
QCOMPARE(folder3->remotePath(), QStringLiteral("/")); | ||
|
||
// The shares folder was not migrated | ||
// TODO: should shares be disabled by the migration? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should in this case the server rather ask to disable the folder instead of sending an error?
@@ -29,6 +29,7 @@ Capabilities::Capabilities(const QVariantMap &capabilities) | |||
, _tusSupport(_capabilities.value(QStringLiteral("files")).toMap().value(QStringLiteral("tus_support")).toMap()) | |||
, _spaces(_capabilities.value(QStringLiteral("spaces")).toMap()) | |||
, _status(_capabilities.value(QStringLiteral("core")).toMap().value(QStringLiteral("status")).toMap()) | |||
, _migration(_capabilities.value(QStringLiteral("migration")).toMap()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the capability ok?
@@ -0,0 +1,19 @@ | |||
{ | |||
"folders": { | |||
"/": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In difference to the first proposal in owncloud/ocis#3574 (comment) each folder has an object and not an array.
bd5fe29
to
5001de2
Compare
ef05a4f
to
83915c9
Compare
Kudos, SonarCloud Quality Gate passed! |
Results for GUI-tests https://drone.owncloud.com/owncloud/client/13644/6/1 💥 The GUI tests failed. GUI Logs: https://cache.owncloud.com/public/owncloud/client/13644/guiReportUpload/index.html |
@TheOneRing @fmoc can we merge it "as is" for 3.0 ? |
83915c9
to
3b6e783
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks okay to me, although I'm still a bit objected to merging this without being able to test this on a real server... Please see my remarks.
src/gui/spacemigration.cpp
Outdated
if (status == 200 && job->parseError().error == QJsonParseError::NoError) { | ||
migrate(job->data().value(QStringLiteral("folders")).toObject()); | ||
} else { | ||
qCInfo(lcMigration) << status << job->data(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not be info
I guess. A little explanation what this message is about would help, too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not much to log here, and the logging category should provide enough context.
Kudos, SonarCloud Quality Gate passed! |
6118f02
to
7a78b41
Compare
7a78b41
to
9eb5a2a
Compare
Results for GUI-tests-oc10 https://drone.owncloud.com/owncloud/client/14798/6/1 💥 The GUI tests failed. GUI Logs: https://cache.owncloud.com/public/owncloud/client/14798/oc10/guiReportUpload/index.html |
1e9a793
to
0e49966
Compare
0e49966
to
f7b0106
Compare
f7b0106
to
d3aa8f6
Compare
Kudos, SonarCloud Quality Gate passed! |
No description provided.