Review Request: Add year, name and email to license text when generating a new class
Jan Gerrit Marker
jangerrit at weiler-marker.com
Mon Dec 6 21:48:16 UTC 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100192/
-----------------------------------------------------------
(Updated 2010-12-06 21:48:16.127438)
Review request for KDevelop.
Summary (updated)
-------
If you create a new class using the KDevelop code generator there will be added a license. Normally these licenses have a "<year>" and a "<copyright holder>" (or similar) in it. You have to replace this manually. This patch replaces "<year>" and "<copyright holder>" with the appropiate texts - the year is taken from QDate the name and email from KEMailSettings. The name has the format "My Name <myemail at example.com>".
The licenses are changed to use only "<year>" and "<copyright holder>".
Diffs
-----
language/codegen/licenses/LGPL 0b542d1
language/codegen/licenses/MIT 03cadb0
language/codegen/licenses/GPL 77f9410
language/codegen/licenses/GPL 17dbc21
language/codegen/licenses/Apache fbf1e16
language/codegen/createclass.cpp 7685e03
Diff: http://git.reviewboard.kde.org/r/100192/diff
Testing
-------
It works fine for me.
Thanks,
Jan Gerrit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20101206/6b953cbd/attachment.html>
More information about the KDevelop-devel
mailing list