Bug 317597

Summary: Generated project from template misses year, author name and email
Product: [Applications] kdevelop Reporter: Anne-Marie Mahfouf <annma>
Component: Application templatesAssignee: Friedrich W. H. Kossebau <kossebau>
Status: ASSIGNED ---    
Severity: normal CC: abhyu195, aleixpol, kfunk, kossebau, Saljacky
Priority: NOR Keywords: junior-jobs
Version: git master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Anne-Marie Mahfouf 2013-03-30 10:16:51 UTC
When you generate a project from a template, the wizard does not ask you for your name and email and does not fill the fields %{CURRENT_YEAR}  %{AUTHOR} and <%{EMAIL}> in the created files

Reproducible: Always

Steps to Reproduce:
1. Generate a project from the Project -> New from template... menu
2. The project is generated

Actual Results:  
Files headers miss placeholders for year,name and email

Expected Results:  
Placeholders are filled up with user data for year, name and email
Comment 1 Kevin Funk 2013-12-10 18:53:38 UTC
FYI: Currently, KDevelop uses the information provided in System Settings -> Account Details.

I'd like to see some kind of dialog for this, where the user can enter the details in case they're missing. Or at least a hint in KDevelop where to set them.
Comment 2 Abhyudaya 2014-09-22 14:36:39 UTC
where do i get started with for fixing the bug?
Comment 3 Kevin Funk 2014-09-22 16:36:20 UTC
First of all, get KDevelop up and running from your own compiled sources.

Since we'll only accept feature development in the KF5/Qt5-based version, you'll have to walk through https://community.kde.org/Frameworks/Building to get a KF5 setup. After this, you should also have a working kdevplatform/kdevelop setup. Then, you could try out the described functionality and think about how to improve the situation (e.g. at what point we can ask the user for the email/name information, etc.).

Feel free to join us in #kdevelop at Freenode.