Fwd: Changelog Generator

Myriam Schweingruber myriam at kde.org
Wed Apr 11 10:28:18 UTC 2012


---------- Forwarded message ----------
From: Martin Gräßlin <mgraesslin at kde.org>
Date: 2012/4/6
Subject: Changelog Generator
To: KDE release coordination <release-team at kde.org>
Cc: kde-testing at kde.org


Hi all,

after the last release I decided to never want to manually create the
changelog ever again. All the information required to generate the changelog
/should/ be in our bugtracker, so why do we create the changelog manually?

Today I scratched my own itch and I present the changelog generator:
http://quickgit.kde.org/index.php?p=scratch%2Fgraesslin%2Fchangelog-
generator.git&a=summary

All that is needed to get proper changelogs is everybody including

BUG: 12345
FIXED-IN: 4.8.3

in their commits. Now I have no idea how well our developers tend to use this
when committing, but personally I would go so far that we should not have any
commits to the stable branch which have not a referenced bug report.

If there is interest in it I am willing to extend the tool so that we can use
it to generate the complete changelog for all of KDE in one go so that we
never again have to manually edit XML files and never again have to write
"that these changelogs are incomplete" :-)

Cheers
Martin Gräßlin

----
>From the README:
This tool is meant to generate the KDE changelog for a given product by
interaction with KDE's bugzilla installation.

The tool fetches all bug reports with version changed field containing the
same version number as provided by the command line parameter "--version=" for
the product in bugzilla identified by the command line parameter "--product=".

For each found bug which is resolved fixed the complete information is fetched
including all comments. If the bug has severity "wishlist" a "feature" entry
is generated, otherwise a "bugfix" entry. Additionally the tool searches
through all comments to find the latest git commit attached to the report and
if one is found adds it as the referenced revision in the changelog entry. The
bug's summary is used as the description text for the changelog entry.

How to use?

Example usage to generate the changelog for product "kwin", which is part of
module "kdeworkspace" for version 4.9.0.

$ ./changeloggenerator --product=kwin --version=4.9.0 \
--module=kdeworkspace --repository=kde-workspace


_______________________________________________
Kde-testing mailing list
Kde-testing at kde.org
https://mail.kde.org/mailman/listinfo/kde-testing



-- 
Proud member of the Amarok and KDE Community
Protect your freedom and join the Fellowship of FSFE:
http://www.fsfe.org
Please don't send me proprietary file formats,
use ISO standard ODF instead (ISO/IEC 26300)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-testing/attachments/20120411/78a9fea4/attachment.sig>


More information about the Kde-testing mailing list