Bug 426462

Summary: KDE project provider isn't available
Product: [Applications] kdevelop Reporter: Titir Adhikary <titir.adhikary>
Component: generalAssignee: kdevelop-bugs-null
Status: CONFIRMED ---    
Severity: wishlist CC: mail, mail
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Titir Adhikary 2020-09-13 05:58:57 UTC
SUMMARY


STEPS TO REPRODUCE
1. Open Kdevelop->Projects->Fetch project
2. Click select sources -> Source

OBSERVED RESULT
the sources shown are git, subversion and github. There is no kde.
EXPECTED RESULT
there should be a kde option too
SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Operating System: Manjaro Linux
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Kernel Version: 5.7.15-1-MANJARO
ADDITIONAL INFORMATION
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 1 Sven Brauch 2020-09-13 10:35:43 UTC
Hm, can't you simply put KDE's git repo URL and select "git"?
Comment 2 Titir Adhikary 2020-09-13 13:30:53 UTC
Ok, thanks. I thought that option was a workaround. I'll do that in the future!
Comment 3 Francis Herne 2020-09-13 21:41:10 UTC
This was removed in https://invent.kde.org/kdevelop/kdevelop/commit/a36a50baf050850fa0e513ceae2e99be7749c27c

> https://projects.kde.org/kde_projects.xml is removed in the next weeks as part of the reorganization happening in the move to gitlab by KDE.

> Wanted: someone writing a replacement using gitlab, which then would
also be usable for other gitlab servers.
Comment 4 Titir Adhikary 2020-09-14 05:16:27 UTC
Is it a beginner friendly issue? I would like to work on it.
Comment 5 Francis Herne 2020-09-14 12:16:36 UTC
Yes, reasonably so -- project provider plugins are quite simple and don't need much knowledge of the rest of the codebase.

You can find a similar example in the GitHub provider (plugins/ghprovider in the source code) and of course the previous KDE project provider removed in the commit I linked.

There's a tutorial on how to build KDevelop using kdesrc-build here: https://community.kde.org/index.php?title=KDevelop/HowToCompile_v5

Alternatively, you can install the various build dependencies (even the git version should be fine with the dep versions in most distros) and compile/install as any other CMake project. Do note that QT_PLUGIN_PATH must be set before running KDevelop if you install to /usr/local or some other non-standard path.

Since I see you're using Manjaro, this is the PKGBUILD I use to build locally; you'd need to change _repo at least: http://www.flherne.uk/files/PKGBUILD

If any other questions, ask in the #kdevelop IRC channel and wait a while if you don't get an answer immediately -- several devs are in it but not watching IRC all the time.
Comment 6 Titir Adhikary 2020-09-14 13:18:54 UTC
Thank you! I'll get working to it as soon as I can, as I am already working on fixing a bug in another kde project right now.