<div dir="ltr">Hi there,<div><br></div><div style>I refactored the Python script "qawrangler-stats.py" on the dev-tools repo. While the original version was working fine, it could be improved in many ways.</div><div style>
<br></div><div style>Here you have the main changes to it:</div><div style><div> - Made the script more modular</div><div> - Made it more Pythonic</div><div> - Added copyright information</div><div> - Usage information is displayed when called with -h parameter</div>
<div> - Made it more scalable, as it allows to add new possible information (e.g. the platform or the component of reported bugs), by simply adding its name and its regular expression to a defined constant</div><div> - Made more customizable. As well as the year and month, it's possible to specify by the command line, the number of authors to be displayed (-n parameter), or the format of the output (see next point)</div>
<div> - Added an alternative output as CSV (using the parameter --csv), as well as the original human readable output</div><div style> - Added a new group to report, "commentators", together with existing "wranglers" (renamed "changers") and "reporters"</div>
<div style> - Displaying the full name of the authors (e.g. "My Name <<a href="mailto:myname@libreoffice.org">myname@libreoffice.org</a>>" instead of simply "<a href="mailto:myname@libreoffice.org">myname@libreoffice.org</a>")</div>
<div style><br></div><div style>Hope it helps, let me know if there is something in the new version you would like me to change.</div><div style><br></div><div style>Cheers,</div><div style>  Marc</div></div></div>