Skip to content
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

Modernize the Dolphin action plugin #5192

Merged
merged 1 commit into from
Nov 23, 2022

Conversation

ivaradi
Copy link
Contributor

@ivaradi ivaradi commented Nov 19, 2022

Instead of installing a .desktop file, it is now converted to JSON and compiled into the plugin itself. The plugin is also installed into a different directory.

As described in #4425, Dolphin complains about the .desktop file indicating that is an outdated solution. This PR moves the plugin to the recommended JSON-based solution.

@codecov
Copy link

codecov bot commented Nov 19, 2022

Codecov Report

Merging #5192 (23746ed) into master (ab8f0db) will decrease coverage by 0.09%.
The diff coverage is n/a.

❗ Current head 23746ed differs from pull request most recent head 2002c98. Consider uploading reports for the commit 2002c98 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5192      +/-   ##
==========================================
- Coverage   57.80%   57.71%   -0.10%     
==========================================
  Files         138      138              
  Lines       17441    17441              
==========================================
- Hits        10082    10066      -16     
- Misses       7359     7375      +16     
Impacted Files Coverage Δ
src/libsync/vfs/cfapi/hydrationjob.cpp 52.38% <0.00%> (-3.71%) ⬇️
src/libsync/vfs/cfapi/vfs_cfapi.cpp 83.00% <0.00%> (-2.38%) ⬇️
src/libsync/vfs/cfapi/cfapiwrapper.cpp 72.50% <0.00%> (-1.82%) ⬇️
src/libsync/syncengine.cpp 83.33% <0.00%> (-0.46%) ⬇️
src/libsync/propagatedownload.cpp 64.61% <0.00%> (+1.17%) ⬆️

@ivaradi ivaradi requested a review from mgallien November 20, 2022 06:31
Copy link
Collaborator

@claucambra claucambra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! :)

@ivaradi
Copy link
Contributor Author

ivaradi commented Nov 20, 2022

/rebase

@ivaradi
Copy link
Contributor Author

ivaradi commented Nov 21, 2022

I think the SonarCloud analysis does not fail because of the patch, or am I missing something? What can be done to get the PR merged? @claucambra could you help with this?

@claucambra
Copy link
Collaborator

I think the SonarCloud analysis does not fail because of the patch, or am I missing something? What can be done to get the PR merged? @claucambra could you help with this?

Seems like SonarCloud is failing for some other reason, unrelated to your changes

Instead of installing a .desktop file, it is now converted
to JSON and compiled into the plugin itself. The plugin is
also installed into a different directory.

Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
@claucambra claucambra force-pushed the modernize-dolphin-plugin branch from 23746ed to 2002c98 Compare November 23, 2022 12:35
@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-5192-2002c98b682bd73e2149cce341dceac4813b6d18-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@claucambra claucambra merged commit a9c5842 into nextcloud:master Nov 23, 2022
@ivaradi ivaradi deleted the modernize-dolphin-plugin branch November 23, 2022 19:38
@mgallien
Copy link
Collaborator

I think the SonarCloud analysis does not fail because of the patch, or am I missing something? What can be done to get the PR merged? @claucambra could you help with this?

this is due to the token being a private secret only available for jobs from branch of the main repository and not clone
never had time to dig into this to see if there is a solution

@mgallien mgallien added this to the 3.7.0 milestone Nov 24, 2022
@ivaradi
Copy link
Contributor Author

ivaradi commented Nov 24, 2022

/backport to stable-3.6

@backportbot-nextcloud
Copy link

The backport to stable-3.6 failed. Please do this backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants