Bug 420239 - Provide vcs plugins action to checkout/clone repository
Summary: Provide vcs plugins action to checkout/clone repository
Status: CLOSED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-18 11:09 UTC by Nikolai Krasheninnikov
Modified: 2020-04-30 13:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolai Krasheninnikov 2020-04-18 11:09:20 UTC
SUMMARY
Common use-case for vcs is checkout/clone.
For now Dolphin's KVersionControlPlugin interface doesn't support this because KVersionControlPlugin::actions() applied only for versioned directories.

This wishlist is for filling a request for this feature and also for a possible design discussion.

We can extend KVersionControlPlugin interface with one more pure virtual function. That function will return action list for a unversioned directory with clone action (and maybe more like for example plugin settings).

Function could be 'KVersionControlPlugin::unversionedActions()' and 'KVersionControlPlugin::versionedActions()' (previously known as 'actions()').

This requires simultaneous update of 'dolphin' and 'dolphin-plugins' projects.
Comment 1 Elvis Angelaccio 2020-04-20 22:41:45 UTC
Sounds good, feel free to submit pathches ;)
Comment 2 Nikolai Krasheninnikov 2020-04-30 13:59:19 UTC
Fixed in:
https://phabricator.kde.org/D29041
https://phabricator.kde.org/D29042