From 4aec0d69d35b44b9064ca48b3f8435cd2b193376 Mon Sep 17 00:00:00 2001 From: Damien Goutte-Gattat Date: Mon, 10 Jul 2023 23:25:35 +0100 Subject: [PATCH] Prepare 0.3.0 release. Bump version number, update copyright notices, and add section in NEWS file for the new release. --- NEWS | 13 +++++++++++++ README.md | 22 +++++++++++----------- docs/conf.py | 33 +++++++++++++++++++-------------- docs/metrics.rst | 2 +- incenp/grainyhead/__init__.py | 2 +- incenp/grainyhead/caching.py | 2 +- incenp/grainyhead/main.py | 2 +- incenp/grainyhead/metrics.py | 2 +- incenp/grainyhead/providers.py | 2 +- incenp/grainyhead/repository.py | 2 +- 10 files changed, 50 insertions(+), 32 deletions(-) diff --git a/NEWS b/NEWS index 1da1490..0df7306 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,16 @@ +Changes in grainyhead-0.3.0 (2023-07-10) +---------------------------------------- + + * Do not use fixed-width columns when producing Markdown output. + * The `user:*` syntactic sugar now produces reports for all users who + ever contributed to the repository, instead of collaborators. + * The `user:*` syntactic sugar is expanded to allow specifying a team + name, as in `user:*`, to produce reports for all users + belonging to the specified team. + * Four “pseudo-team names” are recognized: `__contributors`, + `__committers`, `__commenters`, and `__collaborators`. + + Changes in grainyhead-0.2.1 (2023-03-22) ---------------------------------------- diff --git a/README.md b/README.md index f56e9f7..026f708 100644 --- a/README.md +++ b/README.md @@ -92,17 +92,17 @@ over a given period of time: $ grainyhead metrics From 2021-09-02 to 2021-12-01 -| Event | Total | Internal | Inte (%) | External | Exte (%) | -| -------------------- | ----- | -------- | -------- | -------- | -------- | -| Contributors | 24 | 15 | 62.50 | 9 | 37.50 | -| Issues opened | 71 | 64 | 90.14 | 7 | 9.86 | -| Issues closed | 89 | 77 | 86.52 | 12 | 13.48 | -| Pull requests opened | 86 | 68 | 79.07 | 18 | 20.93 | -| Pull requests closed | 94 | 78 | 82.98 | 16 | 17.02 | -| Pull requests merged | 79 | 65 | 82.28 | 14 | 17.72 | -| Comments | 476 | 412 | 86.55 | 64 | 13.45 | -| Commits | 232 | 201 | 86.64 | 31 | 13.36 | -| Releases | 4 | 4 | 100.00 | 0 | 0.00 | +| Event | Total | Internal | Internal (%) | External | Externam (%) | +| -------- | -------- | -------- | -------- | -------- | -------- | +| Contributors | 24 | 15 | 62.50 | 9 | 37.50 | +| Issues opened | 71 | 64 | 90.14 | 7 | 9.86 | +| Issues closed | 89 | 77 | 86.52 | 12 | 13.48 | +| Pull requests opened | 86 | 68 | 79.07 | 18 | 20.93 | +| Pull requests closed | 94 | 78 | 82.98 | 16 | 17.02 | +| Pull requests merged | 79 | 65 | 82.28 | 14 | 17.72 | +| Comments | 476 | 412 | 86.55 | 64 | 13.45 | +| Commits | 232 | 201 | 86.64 | 31 | 13.36 | +| Releases | 4 | 4 | 100.00 | 0 | 0.00 | ``` diff --git a/docs/conf.py b/docs/conf.py index c7b7b33..8843ed0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -3,7 +3,7 @@ source_suffix = '.rst' master_doc = 'index' -copyright = u'2021,2022 Damien Goutte-Gattat' +copyright = u'2021,2022,2023 Damien Goutte-Gattat' author = u'Damien Goutte-Gattat ' language = 'en' @@ -24,30 +24,35 @@ latex_engine = 'lualatex' -latex_elements = { - 'papersize': 'a4paper', - 'pointsize': '10pt' -} +latex_elements = {'papersize': 'a4paper', 'pointsize': '10pt'} # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - (master_doc, 'GrainyHead.tex', u'GrainyHead Documentation', - u'Damien Goutte-Gattat', 'manual'), + ( + master_doc, + 'GrainyHead.tex', + u'GrainyHead Documentation', + u'Damien Goutte-Gattat', + 'manual', + ), ] # -- Options for manual page output --------------------------------------- -man_pages = [ - (master_doc, 'grainyhead', u'GrainyHead Documentation', - [author], 1) -] +man_pages = [(master_doc, 'grainyhead', u'GrainyHead Documentation', [author], 1)] # -- Options for Texinfo output ------------------------------------------- texinfo_documents = [ - (master_doc, 'GrainyHead', u'GrainyHead Documentation', - author, 'GrainyHead', 'Helper tools for GitHub.', - 'Miscellaneous'), + ( + master_doc, + 'GrainyHead', + u'GrainyHead Documentation', + author, + 'GrainyHead', + 'Helper tools for GitHub.', + 'Miscellaneous', + ), ] diff --git a/docs/metrics.rst b/docs/metrics.rst index 103a7c4..1cf18c7 100644 --- a/docs/metrics.rst +++ b/docs/metrics.rst @@ -49,7 +49,7 @@ Here is an example of a default report: From 2021-09-02 to 2021-12-01 | Event | Total | Internal | Internal (%) | External | External (%) | - | -------- | ----- | -------- | -------- | -------- | -------- | + | -------- | -------- | -------- | -------- | -------- | -------- | | Contributors | 24 | 15 | 62.50 | 9 | 37.50 | | Issues opened | 71 | 64 | 90.14 | 7 | 9.86 | | Issues closed | 89 | 77 | 86.52 | 12 | 13.48 | diff --git a/incenp/grainyhead/__init__.py b/incenp/grainyhead/__init__.py index fc79d63..0404d81 100644 --- a/incenp/grainyhead/__init__.py +++ b/incenp/grainyhead/__init__.py @@ -1 +1 @@ -__version__ = '0.2.1' +__version__ = '0.3.0' diff --git a/incenp/grainyhead/caching.py b/incenp/grainyhead/caching.py index f64605a..7bc353b 100644 --- a/incenp/grainyhead/caching.py +++ b/incenp/grainyhead/caching.py @@ -1,5 +1,5 @@ # grainyhead - Helper tools for GitHub -# Copyright © 2021 Damien Goutte-Gattat +# Copyright © 2021,2023 Damien Goutte-Gattat # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/incenp/grainyhead/main.py b/incenp/grainyhead/main.py index 8c5efc2..b7cef92 100644 --- a/incenp/grainyhead/main.py +++ b/incenp/grainyhead/main.py @@ -1,5 +1,5 @@ # grainyhead - Helper tools for GitHub -# Copyright © 2021,2022 Damien Goutte-Gattat +# Copyright © 2021,2022,2023 Damien Goutte-Gattat # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/incenp/grainyhead/metrics.py b/incenp/grainyhead/metrics.py index 8e71411..b1a0fef 100644 --- a/incenp/grainyhead/metrics.py +++ b/incenp/grainyhead/metrics.py @@ -1,5 +1,5 @@ # grainyhead - Helper tools for GitHub -# Copyright © 2021,2022 Damien Goutte-Gattat +# Copyright © 2021,2022,2023 Damien Goutte-Gattat # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/incenp/grainyhead/providers.py b/incenp/grainyhead/providers.py index 21716cd..a9e1060 100644 --- a/incenp/grainyhead/providers.py +++ b/incenp/grainyhead/providers.py @@ -1,5 +1,5 @@ # grainyhead - Helper tools for GitHub -# Copyright © 2021,2022 Damien Goutte-Gattat +# Copyright © 2021,2022,2023 Damien Goutte-Gattat # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/incenp/grainyhead/repository.py b/incenp/grainyhead/repository.py index ad6a173..0cb1b90 100644 --- a/incenp/grainyhead/repository.py +++ b/incenp/grainyhead/repository.py @@ -1,5 +1,5 @@ # grainyhead - Helper tools for GitHub -# Copyright © 2021,2022 Damien Goutte-Gattat +# Copyright © 2021,2022,2023 Damien Goutte-Gattat # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by