From 7e4907665d74fa45bd5155903115dbcad3b2251e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 19 Jul 2016 06:55:29 +0000 Subject: [PATCH 01/55] - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 6b2a404..fdddf70 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -43,6 +43,9 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog +* Tue Jul 19 2016 Fedora Release Engineering - 0.9-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + * Mon Apr 04 2016 Petr Šplíchal 0.9-1 - New plugins supported: Trello, bit.ly, idonethis - Support 'did yesterday' for yesterday's updates From 42a4ba56e8bd206be8715f3437ad0fb9bd9ef939 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 08:23:21 +0000 Subject: [PATCH 02/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index fdddf70..9e485bf 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -43,6 +43,9 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 0.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Tue Jul 19 2016 Fedora Release Engineering - 0.9-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages From 7a003dfd6a5e966575524bedf600cf5c3a0e731b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 06:12:48 +0000 Subject: [PATCH 03/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 9e485bf..a3efec1 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.9 -Release: 3%{?dist} +Release: 4%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -43,6 +43,9 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 0.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Feb 10 2017 Fedora Release Engineering - 0.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From e04f8ba012043aa484637473b4cb4367474846f3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 06:50:11 +0000 Subject: [PATCH 04/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index a3efec1..788decc 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.9 -Release: 4%{?dist} +Release: 5%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -43,6 +43,9 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.9-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 0.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 1517eda0e7a27fd65d96251a519a37b7e6395e8f Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Wed, 7 Feb 2018 10:28:56 +0100 Subject: [PATCH 05/55] Update Python 2 dependency declarations to new packaging standards --- did.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/did.spec b/did.spec index 788decc..0aedc12 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.9 -Release: 5%{?dist} +Release: 6%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -9,8 +9,8 @@ URL: https://github.com/psss/did Source: https://github.com/psss/did/releases/download/%{version}/did-%{version}.tar.bz2 BuildArch: noarch -BuildRequires: python-devel -Requires: python-kerberos python-nitrate python-dateutil python-urllib2_kerberos python-bugzilla +BuildRequires: python2-devel +Requires: python2-kerberos python2-nitrate python2-dateutil python2-urllib2_kerberos python2-bugzilla %{?el6:Requires: python-argparse} %description @@ -43,6 +43,10 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog +* Wed Feb 07 2018 Iryna Shcherbina - 0.9-6 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Wed Feb 07 2018 Fedora Release Engineering - 0.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From ddaa81cf7a6ed315be7d6e35fbd5b0b27061a86f Mon Sep 17 00:00:00 2001 From: Robbie Harwood Date: Mon, 5 Mar 2018 21:38:37 +0000 Subject: [PATCH 06/55] Apply patch to port from pykerberos to python-gssapi Resolves: #1546884 --- Port-to-python-gssapi.patch | 134 ++++++++++++++++++++++++++++++++++++ did.spec | 14 +++- 2 files changed, 145 insertions(+), 3 deletions(-) create mode 100644 Port-to-python-gssapi.patch diff --git a/Port-to-python-gssapi.patch b/Port-to-python-gssapi.patch new file mode 100644 index 0000000..578e64a --- /dev/null +++ b/Port-to-python-gssapi.patch @@ -0,0 +1,134 @@ +From 776ae1d92d28d2c291f4cd42471eb87441f29fe5 Mon Sep 17 00:00:00 2001 +From: Robbie Harwood +Date: Mon, 19 Feb 2018 16:47:44 -0500 +Subject: [PATCH] Port to python-gssapi + +As part of this, migrate any urllib2_kerberos code to urllib-gssapi. +--- + .travis.yml | 2 +- + Makefile | 2 +- + did.spec | 7 +++++-- + did/cli.py | 8 ++++---- + did/plugins/jira.py | 4 ++-- + did/plugins/rt.py | 18 ++++++++++-------- + docs/conf.py | 2 +- + examples/dockerfile | 2 +- + setup.py | 6 +++--- + 9 files changed, 28 insertions(+), 23 deletions(-) + +diff --git a/Makefile b/Makefile +index cd0514b..2c1ac9b 100644 +--- a/Makefile ++++ b/Makefile +@@ -79,7 +79,7 @@ clean: + run_docker: build_docker + @echo + @echo "Please note: this is a first cut at doing a container version as a result; known issues:" +- @echo "* kerberos auth may not be working correctly" ++ @echo "* GSSAPI auth may not be working correctly" + @echo "* container runs as privileged to access the conf file" + @echo "* output directory may not be quite right" + @echo +diff --git a/did/cli.py b/did/cli.py +index 623f3e4..8ea5c52 100644 +--- a/did/cli.py ++++ b/did/cli.py +@@ -12,7 +12,7 @@ from __future__ import unicode_literals, absolute_import + import re + import sys + import argparse +-import kerberos ++import gssapi + from dateutil.relativedelta import relativedelta as delta + + import did.base +@@ -205,7 +205,7 @@ def main(arguments=None): + did.base.Config.path(), did.base.Config.example().strip())) + raise + +- except kerberos.GSSError as error: +- log.debug(error) ++ except gssapi.exceptions.GSSError as error: ++ log.debug(error.gen_msg()) + raise did.base.ConfigError( +- "Kerberos authentication failed. Try kinit.") ++ "GSSAPI authentication failed. Try kinit.") +diff --git a/did/plugins/jira.py b/did/plugins/jira.py +index 874b21f..9c62a1d 100644 +--- a/did/plugins/jira.py ++++ b/did/plugins/jira.py +@@ -39,7 +39,7 @@ import urllib + import urllib2 + import cookielib + import dateutil.parser +-import urllib2_kerberos ++import urllib_gssapi + + from did.utils import log, pretty, listed + from did.base import Config, ReportError +@@ -254,7 +254,7 @@ class JiraStats(StatsGroup): + urllib2.HTTPSHandler(debuglevel=0), + urllib2.HTTPRedirectHandler, + urllib2.HTTPCookieProcessor(cookie), +- urllib2_kerberos.HTTPKerberosAuthHandler) ++ urllib_gssapi.HTTPSPNEGOAuthHandler) + + log.debug("Connecting to {0}".format(self.auth_url)) + if self.auth_type == 'basic': +diff --git a/did/plugins/rt.py b/did/plugins/rt.py +index a6f470b..f75f700 100644 +--- a/did/plugins/rt.py ++++ b/did/plugins/rt.py +@@ -15,7 +15,9 @@ from __future__ import absolute_import, unicode_literals + import httplib + import urllib + import urlparse +-import kerberos ++import gssapi ++ ++from base64 import b64encode, b64decode + + from did.utils import log, pretty + from did.base import ReportError, Config +@@ -36,18 +38,18 @@ class RequestTracker(object): + self.url_string = parent.url + + def get(self, path): +- """ Perform a GET request with Kerberos authentication """ +- # Prepare Kerberos ticket granting ticket """ +- _, ctx = kerberos.authGSSClientInit( +- 'HTTP@{0}'.format(self.url.netloc)) +- kerberos.authGSSClientStep(ctx, "") +- tgt = kerberos.authGSSClientResponse(ctx) ++ """ Perform a GET request with GSSAPI authentication """ ++ # Generate token ++ service_name = gssapi.Name('HTTP@{0}'.format(self.url.netloc), ++ gssapi.NameType.hostbased_service) ++ ctx = gssapi.SecurityContext(usage="initiate", name=service_name) ++ data = b64encode(ctx.step()).decode() + + # Make the connection + connection = httplib.HTTPSConnection(self.url.netloc, 443) + log.debug("GET {0}".format(path)) + connection.putrequest("GET", path) +- connection.putheader("Authorization", "Negotiate {0}".format(tgt)) ++ connection.putheader("Authorization", "Negotiate {0}".format(data)) + connection.putheader("Referer", self.url_string) + connection.endheaders() + +diff --git a/examples/dockerfile b/examples/dockerfile +index e289169..92a2f6e 100644 +--- a/examples/dockerfile ++++ b/examples/dockerfile +@@ -1,7 +1,7 @@ + FROM fedora + MAINTAINER langdon + RUN yum clean all && yum -y update +-RUN yum -y install python python-pip make gcc krb5-devel python-devel python-setuptools python-kerberos python-nitrate python-dateutil python-urllib2_kerberos ++RUN yum -y install python python-pip make gcc krb5-devel python-devel python-setuptools python-gssapi python-nitrate python-dateutil python-urllib-gssapi + RUN yum clean all + + COPY . /opt/did +-- +2.16.1 + diff --git a/did.spec b/did.spec index 0aedc12..3c74221 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.9 -Release: 6%{?dist} +Release: 7%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -8,9 +8,13 @@ License: GPLv2+ URL: https://github.com/psss/did Source: https://github.com/psss/did/releases/download/%{version}/did-%{version}.tar.bz2 +Patch0: Port-to-python-gssapi.patch + BuildArch: noarch BuildRequires: python2-devel -Requires: python2-kerberos python2-nitrate python2-dateutil python2-urllib2_kerberos python2-bugzilla +Requires: python2-gssapi +Requires: python2-urllib-gssapi +Requires: python2-nitrate python2-dateutil python2-bugzilla %{?el6:Requires: python-argparse} %description @@ -19,7 +23,7 @@ changes) for given week, month, quarter, year or selected date range. By default all available stats for this week are reported. %prep -%setup -q +%autosetup -S git %build @@ -43,6 +47,10 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog +* Mon Mar 05 2018 Robbie Harwood - 9.9-7 +- Apply patch to port from pykerberos to python-gssapi +- Resolves: #1546884 + * Wed Feb 07 2018 Iryna Shcherbina - 0.9-6 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) From dddd123881e0ab06aa15093d2cda9391ea3bdbaa Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 5 Mar 2018 16:49:27 -0500 Subject: [PATCH 07/55] Add buildreq on git --- did.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/did.spec b/did.spec index 3c74221..74367ca 100644 --- a/did.spec +++ b/did.spec @@ -11,6 +11,7 @@ Source: https://github.com/psss/did/releases/download/%{version}/did-%{version}. Patch0: Port-to-python-gssapi.patch BuildArch: noarch +BuildRequires: git BuildRequires: python2-devel Requires: python2-gssapi Requires: python2-urllib-gssapi From 083b8bc67df28f2b09433f323705256c15f8e2c6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 12 Jul 2018 22:52:20 +0000 Subject: [PATCH 08/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 74367ca..e99cada 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.9 -Release: 7%{?dist} +Release: 8%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -48,6 +48,9 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog +* Thu Jul 12 2018 Fedora Release Engineering - 0.9-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Mon Mar 05 2018 Robbie Harwood - 9.9-7 - Apply patch to port from pykerberos to python-gssapi - Resolves: #1546884 From f957be08c8cf80fcd5def5786e9ac00a18899981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 17 Jul 2018 16:46:43 +0200 Subject: [PATCH 09/55] Update Python macros to new packaging standards --- did.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/did.spec b/did.spec index e99cada..4b41382 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.9 -Release: 8%{?dist} +Release: 9%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -31,23 +31,27 @@ range. By default all available stats for this week are reported. %install mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_mandir}/man1 -mkdir -p %{buildroot}%{python_sitelib}/did -mkdir -p %{buildroot}%{python_sitelib}/did/plugins +mkdir -p %{buildroot}%{python2_sitelib}/did +mkdir -p %{buildroot}%{python2_sitelib}/did/plugins install -pm 755 bin/did %{buildroot}%{_bindir}/did -install -pm 644 did/*.py %{buildroot}%{python_sitelib}/did -install -pm 644 did/plugins/*.py %{buildroot}%{python_sitelib}/did/plugins +install -pm 644 did/*.py %{buildroot}%{python2_sitelib}/did +install -pm 644 did/plugins/*.py %{buildroot}%{python2_sitelib}/did/plugins install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %files %{_mandir}/man1/* %{_bindir}/did -%{python_sitelib}/* +%{python2_sitelib}/* %doc README.rst examples %{!?_licensedir:%global license %%doc} %license LICENSE %changelog +* Tue Jul 17 2018 Miro Hrončok - 0.9-9 +- Update Python macros to new packaging standards + (See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package) + * Thu Jul 12 2018 Fedora Release Engineering - 0.9-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From fdd40539b6f6fbbb52d7b0c714dd31098597979e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Mon, 26 Nov 2018 18:24:36 +0100 Subject: [PATCH 10/55] Import did-0.11 --- .gitignore | 1 + Port-to-python-gssapi.patch | 134 ------------------------------------ did.spec | 79 ++++++++++++--------- sources | 2 +- 4 files changed, 50 insertions(+), 166 deletions(-) delete mode 100644 Port-to-python-gssapi.patch diff --git a/.gitignore b/.gitignore index 9a0052f..1331b26 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /did-0.6.tar.bz2 /did-0.9.tar.bz2 +/did-0.11.tar.bz2 diff --git a/Port-to-python-gssapi.patch b/Port-to-python-gssapi.patch deleted file mode 100644 index 578e64a..0000000 --- a/Port-to-python-gssapi.patch +++ /dev/null @@ -1,134 +0,0 @@ -From 776ae1d92d28d2c291f4cd42471eb87441f29fe5 Mon Sep 17 00:00:00 2001 -From: Robbie Harwood -Date: Mon, 19 Feb 2018 16:47:44 -0500 -Subject: [PATCH] Port to python-gssapi - -As part of this, migrate any urllib2_kerberos code to urllib-gssapi. ---- - .travis.yml | 2 +- - Makefile | 2 +- - did.spec | 7 +++++-- - did/cli.py | 8 ++++---- - did/plugins/jira.py | 4 ++-- - did/plugins/rt.py | 18 ++++++++++-------- - docs/conf.py | 2 +- - examples/dockerfile | 2 +- - setup.py | 6 +++--- - 9 files changed, 28 insertions(+), 23 deletions(-) - -diff --git a/Makefile b/Makefile -index cd0514b..2c1ac9b 100644 ---- a/Makefile -+++ b/Makefile -@@ -79,7 +79,7 @@ clean: - run_docker: build_docker - @echo - @echo "Please note: this is a first cut at doing a container version as a result; known issues:" -- @echo "* kerberos auth may not be working correctly" -+ @echo "* GSSAPI auth may not be working correctly" - @echo "* container runs as privileged to access the conf file" - @echo "* output directory may not be quite right" - @echo -diff --git a/did/cli.py b/did/cli.py -index 623f3e4..8ea5c52 100644 ---- a/did/cli.py -+++ b/did/cli.py -@@ -12,7 +12,7 @@ from __future__ import unicode_literals, absolute_import - import re - import sys - import argparse --import kerberos -+import gssapi - from dateutil.relativedelta import relativedelta as delta - - import did.base -@@ -205,7 +205,7 @@ def main(arguments=None): - did.base.Config.path(), did.base.Config.example().strip())) - raise - -- except kerberos.GSSError as error: -- log.debug(error) -+ except gssapi.exceptions.GSSError as error: -+ log.debug(error.gen_msg()) - raise did.base.ConfigError( -- "Kerberos authentication failed. Try kinit.") -+ "GSSAPI authentication failed. Try kinit.") -diff --git a/did/plugins/jira.py b/did/plugins/jira.py -index 874b21f..9c62a1d 100644 ---- a/did/plugins/jira.py -+++ b/did/plugins/jira.py -@@ -39,7 +39,7 @@ import urllib - import urllib2 - import cookielib - import dateutil.parser --import urllib2_kerberos -+import urllib_gssapi - - from did.utils import log, pretty, listed - from did.base import Config, ReportError -@@ -254,7 +254,7 @@ class JiraStats(StatsGroup): - urllib2.HTTPSHandler(debuglevel=0), - urllib2.HTTPRedirectHandler, - urllib2.HTTPCookieProcessor(cookie), -- urllib2_kerberos.HTTPKerberosAuthHandler) -+ urllib_gssapi.HTTPSPNEGOAuthHandler) - - log.debug("Connecting to {0}".format(self.auth_url)) - if self.auth_type == 'basic': -diff --git a/did/plugins/rt.py b/did/plugins/rt.py -index a6f470b..f75f700 100644 ---- a/did/plugins/rt.py -+++ b/did/plugins/rt.py -@@ -15,7 +15,9 @@ from __future__ import absolute_import, unicode_literals - import httplib - import urllib - import urlparse --import kerberos -+import gssapi -+ -+from base64 import b64encode, b64decode - - from did.utils import log, pretty - from did.base import ReportError, Config -@@ -36,18 +38,18 @@ class RequestTracker(object): - self.url_string = parent.url - - def get(self, path): -- """ Perform a GET request with Kerberos authentication """ -- # Prepare Kerberos ticket granting ticket """ -- _, ctx = kerberos.authGSSClientInit( -- 'HTTP@{0}'.format(self.url.netloc)) -- kerberos.authGSSClientStep(ctx, "") -- tgt = kerberos.authGSSClientResponse(ctx) -+ """ Perform a GET request with GSSAPI authentication """ -+ # Generate token -+ service_name = gssapi.Name('HTTP@{0}'.format(self.url.netloc), -+ gssapi.NameType.hostbased_service) -+ ctx = gssapi.SecurityContext(usage="initiate", name=service_name) -+ data = b64encode(ctx.step()).decode() - - # Make the connection - connection = httplib.HTTPSConnection(self.url.netloc, 443) - log.debug("GET {0}".format(path)) - connection.putrequest("GET", path) -- connection.putheader("Authorization", "Negotiate {0}".format(tgt)) -+ connection.putheader("Authorization", "Negotiate {0}".format(data)) - connection.putheader("Referer", self.url_string) - connection.endheaders() - -diff --git a/examples/dockerfile b/examples/dockerfile -index e289169..92a2f6e 100644 ---- a/examples/dockerfile -+++ b/examples/dockerfile -@@ -1,7 +1,7 @@ - FROM fedora - MAINTAINER langdon - RUN yum clean all && yum -y update --RUN yum -y install python python-pip make gcc krb5-devel python-devel python-setuptools python-kerberos python-nitrate python-dateutil python-urllib2_kerberos -+RUN yum -y install python python-pip make gcc krb5-devel python-devel python-setuptools python-gssapi python-nitrate python-dateutil python-urllib-gssapi - RUN yum clean all - - COPY . /opt/did --- -2.16.1 - diff --git a/did.spec b/did.spec index 4b41382..a18a3a4 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did -Version: 0.9 -Release: 9%{?dist} +Version: 0.11 +Release: 1%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -8,15 +8,11 @@ License: GPLv2+ URL: https://github.com/psss/did Source: https://github.com/psss/did/releases/download/%{version}/did-%{version}.tar.bz2 -Patch0: Port-to-python-gssapi.patch - BuildArch: noarch BuildRequires: git BuildRequires: python2-devel -Requires: python2-gssapi -Requires: python2-urllib-gssapi +Requires: python2-gssapi python2-requests-gssapi Requires: python2-nitrate python2-dateutil python2-bugzilla -%{?el6:Requires: python-argparse} %description Comfortably gather status report data (e.g. list of committed @@ -48,32 +44,53 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog -* Tue Jul 17 2018 Miro Hrončok - 0.9-9 +* Mon Nov 26 2018 Petr Šplíchal 0.11-1 +- Validate plugin types in config [fix #148] +- Use email for searching Jira issues [fix #122] +- Handle authentication errors in the Jira plugin +- Update shebang to explicitly use python2 +- Add a new section Questions to docs [fix #155] +- Raise error on unsuccessful request [fix #154] +- New plugin for Pagure stats [fix #153] +- Use requests-gssapi for Jira stats +- Fix problems with the Sentry plugin +- Merge configurable ssl verify for gitlab [#136] +- Merge the improved gitlab search [#137] +- Merge the new redmine plugin [#135] +- Some minor adjustments for the redmine plugin +- GitHub stats about reviewed PRs [#127] +- Remove zero-fill from Jira issues [fix #149] +- Add oauth2client to docs requirements [fix #152] +- Adjust until limit of the sentry plugin [fix #151] +- Update test data for the sentry & google plugins - Update Python macros to new packaging standards - (See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package) +- Port to python-gssapi +- Fixed issue with failing tests +- Remove the idonethis plugin +- Merge the new sentry plugin +- Add basic Redmine support +- Add basic GitLab support +- Add search for subscribed bugs +- Add did.spec to MANIFEST.in +- Merge fix for bugs patched when created [#109] +- Merge the new Bugzilla query syntax [#111] +- Fetch only needed stats during GitHub testing +- Merge support for pull request separation [#114] +- Show month name / week number by default [#106] -* Thu Jul 12 2018 Fedora Release Engineering - 0.9-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Mon Mar 05 2018 Robbie Harwood - 9.9-7 -- Apply patch to port from pykerberos to python-gssapi -- Resolves: #1546884 - -* Wed Feb 07 2018 Iryna Shcherbina - 0.9-6 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - -* Wed Feb 07 2018 Fedora Release Engineering - 0.9-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 0.9-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 0.9-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Jul 19 2016 Fedora Release Engineering - 0.9-2 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages +* Wed Jan 11 2017 Martin Frodl 0.10-1 +- New plugin for Google Apps +- Document how to generate documentation locally +- Mock C modules while building documentation +- Make all make versions happy +- Add requirements.txt to fix docs building +- Properly handle GitHub issues with Unicode names +- Add login key to github section in example config +- Update install docs with fresh Fedora instructions +- Update coveralls links in README +- List install dependencies for Debian-based systems +- Use another Trac instance in plugin test +- Move kerberos to extra requires * Mon Apr 04 2016 Petr Šplíchal 0.9-1 - New plugins supported: Trello, bit.ly, idonethis diff --git a/sources b/sources index 84e9ca0..72be3e3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2d8ad4bd1f845e73dc7f5798e8cee4ac did-0.9.tar.bz2 +SHA512 (did-0.11.tar.bz2) = 21dfd1003f6e4c420e23e3f0a698386ce239aa915cab346e2cfee7f00f1a003045812901c149ba3f12a52dc87c30ad884fc4c4a8a21dda8384d68747c179aed9 From d4dc969cfc5b2290d1b445242127522cd970d27e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Sat, 29 Dec 2018 09:56:37 +0100 Subject: [PATCH 11/55] Import did-0.12 --- .gitignore | 1 + did.spec | 37 +++++++++++++++++++++++++++++++++++-- sources | 2 +- 3 files changed, 37 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1331b26..84d42ff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /did-0.6.tar.bz2 /did-0.9.tar.bz2 /did-0.11.tar.bz2 +/did-0.12.tar.bz2 diff --git a/did.spec b/did.spec index a18a3a4..871d477 100644 --- a/did.spec +++ b/did.spec @@ -1,5 +1,5 @@ Name: did -Version: 0.11 +Version: 0.12 Release: 1%{?dist} Summary: What did you do last week, month, year? @@ -11,8 +11,9 @@ Source: https://github.com/psss/did/releases/download/%{version}/did-%{version}. BuildArch: noarch BuildRequires: git BuildRequires: python2-devel -Requires: python2-gssapi python2-requests-gssapi +Requires: python2-requests-gssapi Requires: python2-nitrate python2-dateutil python2-bugzilla +Requires: python-feedparser %description Comfortably gather status report data (e.g. list of committed @@ -44,6 +45,38 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog +* Thu Dec 20 2018 Petr Šplíchal 0.12-1 +- Add missing redmine dependency [fix #177] +- Fix GitLab plugin's ssl_verify option [fix #168] +- Document GitLab access token scope +- Merge ssl_verify support for Jira [#169] +- Merge support for Trello commented cards [#170] +- Fix commented cards title, improve the test suite +- Add a simple test for completed tasks, update auth +- Merge support for completed Google tasks [#173] +- Merge fix for the Google dependencies [#166] +- Document additional google dependencies +- Adding support for Google tasks +- Add commentCard to trello DEFAULT_FILTERS +- Allow to set 'ssl_verify' config for jira plugin +- Support 'creator' in bugzilla plugin [fix #167] +- Give a nice error when user not found [fix #159] +- Fix jira basic authentication [fix #163] +- Fix long_description in setup.py +- Update pip installation instructions +- Update the example config with recent plugins +- Describe in more detail how the tool works +- Silently ignore non-git directories [fix #143] +- Separate arguments preparation, add test coverage +- New option --test to run a simple smoke test +- Remove python2-gssapi from Requires +- Make REQUESTS_CA_BUNDLE example copy-paste-able +- Merge fix for the gitlab --since issue [fix #156] +- Remove gssapi dependency from the main cli module +- Quick start section, update install instructions +- Simplify setup.py, update requires +- Fix --since issue in gitlab plugin + * Mon Nov 26 2018 Petr Šplíchal 0.11-1 - Validate plugin types in config [fix #148] - Use email for searching Jira issues [fix #122] diff --git a/sources b/sources index 72be3e3..3b1fcbe 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (did-0.11.tar.bz2) = 21dfd1003f6e4c420e23e3f0a698386ce239aa915cab346e2cfee7f00f1a003045812901c149ba3f12a52dc87c30ad884fc4c4a8a21dda8384d68747c179aed9 +SHA512 (did-0.12.tar.bz2) = 15e558bace972dc50fdf9a5120315f093397899907099e51983da24f984ffe03e490620f3510c91bf939d6a4d44c7382421ca3c0c24ef9674164b53070daf6d4 From 6f56f67dd40e2090aa69c454b952d1ee3bcd9ce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 31 Dec 2018 10:37:35 +0100 Subject: [PATCH 12/55] Update Python dependencies to new packaging standards --- did.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/did.spec b/did.spec index 871d477..a74fb29 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.12 -Release: 1%{?dist} +Release: 2%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -13,7 +13,7 @@ BuildRequires: git BuildRequires: python2-devel Requires: python2-requests-gssapi Requires: python2-nitrate python2-dateutil python2-bugzilla -Requires: python-feedparser +Requires: python2-feedparser %description Comfortably gather status report data (e.g. list of committed @@ -45,6 +45,9 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog +* Mon Dec 31 2018 Miro Hrončok - 0.12-2 +- Update Python dependencies to new packaging standards + * Thu Dec 20 2018 Petr Šplíchal 0.12-1 - Add missing redmine dependency [fix #177] - Fix GitLab plugin's ssl_verify option [fix #168] From 67874abd0cb04610aef9093b6280bfee7f591ddc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 17:13:15 +0000 Subject: [PATCH 13/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index a74fb29..1df91ca 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.12 -Release: 2%{?dist} +Release: 3%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -45,6 +45,9 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 0.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Mon Dec 31 2018 Miro Hrončok - 0.12-2 - Update Python dependencies to new packaging standards From 96eb512c844b26b6b2f5321b781572020f2ed8cb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jul 2019 21:59:00 +0000 Subject: [PATCH 14/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 1df91ca..53a3974 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.12 -Release: 3%{?dist} +Release: 4%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -45,6 +45,9 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog +* Wed Jul 24 2019 Fedora Release Engineering - 0.12-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Jan 31 2019 Fedora Release Engineering - 0.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 7be1ce95b76750b94241ef43ea5c2de8f9048f6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 28 Aug 2019 13:12:23 +0200 Subject: [PATCH 15/55] Doesn't install: https://bugzilla.redhat.com/show_bug.cgi?id=1655126 --- .gitignore | 4 - dead.package | 1 + did.spec | 252 --------------------------------------------------- sources | 1 - 4 files changed, 1 insertion(+), 257 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 did.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 84d42ff..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/did-0.6.tar.bz2 -/did-0.9.tar.bz2 -/did-0.11.tar.bz2 -/did-0.12.tar.bz2 diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..6c653e1 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Doesn't install: https://bugzilla.redhat.com/show_bug.cgi?id=1655126 diff --git a/did.spec b/did.spec deleted file mode 100644 index 53a3974..0000000 --- a/did.spec +++ /dev/null @@ -1,252 +0,0 @@ -Name: did -Version: 0.12 -Release: 4%{?dist} - -Summary: What did you do last week, month, year? -License: GPLv2+ - -URL: https://github.com/psss/did -Source: https://github.com/psss/did/releases/download/%{version}/did-%{version}.tar.bz2 - -BuildArch: noarch -BuildRequires: git -BuildRequires: python2-devel -Requires: python2-requests-gssapi -Requires: python2-nitrate python2-dateutil python2-bugzilla -Requires: python2-feedparser - -%description -Comfortably gather status report data (e.g. list of committed -changes) for given week, month, quarter, year or selected date -range. By default all available stats for this week are reported. - -%prep -%autosetup -S git - -%build - -%install -mkdir -p %{buildroot}%{_bindir} -mkdir -p %{buildroot}%{_mandir}/man1 -mkdir -p %{buildroot}%{python2_sitelib}/did -mkdir -p %{buildroot}%{python2_sitelib}/did/plugins -install -pm 755 bin/did %{buildroot}%{_bindir}/did -install -pm 644 did/*.py %{buildroot}%{python2_sitelib}/did -install -pm 644 did/plugins/*.py %{buildroot}%{python2_sitelib}/did/plugins -install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 - - -%files -%{_mandir}/man1/* -%{_bindir}/did -%{python2_sitelib}/* -%doc README.rst examples -%{!?_licensedir:%global license %%doc} -%license LICENSE - -%changelog -* Wed Jul 24 2019 Fedora Release Engineering - 0.12-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Jan 31 2019 Fedora Release Engineering - 0.12-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Mon Dec 31 2018 Miro Hrončok - 0.12-2 -- Update Python dependencies to new packaging standards - -* Thu Dec 20 2018 Petr Šplíchal 0.12-1 -- Add missing redmine dependency [fix #177] -- Fix GitLab plugin's ssl_verify option [fix #168] -- Document GitLab access token scope -- Merge ssl_verify support for Jira [#169] -- Merge support for Trello commented cards [#170] -- Fix commented cards title, improve the test suite -- Add a simple test for completed tasks, update auth -- Merge support for completed Google tasks [#173] -- Merge fix for the Google dependencies [#166] -- Document additional google dependencies -- Adding support for Google tasks -- Add commentCard to trello DEFAULT_FILTERS -- Allow to set 'ssl_verify' config for jira plugin -- Support 'creator' in bugzilla plugin [fix #167] -- Give a nice error when user not found [fix #159] -- Fix jira basic authentication [fix #163] -- Fix long_description in setup.py -- Update pip installation instructions -- Update the example config with recent plugins -- Describe in more detail how the tool works -- Silently ignore non-git directories [fix #143] -- Separate arguments preparation, add test coverage -- New option --test to run a simple smoke test -- Remove python2-gssapi from Requires -- Make REQUESTS_CA_BUNDLE example copy-paste-able -- Merge fix for the gitlab --since issue [fix #156] -- Remove gssapi dependency from the main cli module -- Quick start section, update install instructions -- Simplify setup.py, update requires -- Fix --since issue in gitlab plugin - -* Mon Nov 26 2018 Petr Šplíchal 0.11-1 -- Validate plugin types in config [fix #148] -- Use email for searching Jira issues [fix #122] -- Handle authentication errors in the Jira plugin -- Update shebang to explicitly use python2 -- Add a new section Questions to docs [fix #155] -- Raise error on unsuccessful request [fix #154] -- New plugin for Pagure stats [fix #153] -- Use requests-gssapi for Jira stats -- Fix problems with the Sentry plugin -- Merge configurable ssl verify for gitlab [#136] -- Merge the improved gitlab search [#137] -- Merge the new redmine plugin [#135] -- Some minor adjustments for the redmine plugin -- GitHub stats about reviewed PRs [#127] -- Remove zero-fill from Jira issues [fix #149] -- Add oauth2client to docs requirements [fix #152] -- Adjust until limit of the sentry plugin [fix #151] -- Update test data for the sentry & google plugins -- Update Python macros to new packaging standards -- Port to python-gssapi -- Fixed issue with failing tests -- Remove the idonethis plugin -- Merge the new sentry plugin -- Add basic Redmine support -- Add basic GitLab support -- Add search for subscribed bugs -- Add did.spec to MANIFEST.in -- Merge fix for bugs patched when created [#109] -- Merge the new Bugzilla query syntax [#111] -- Fetch only needed stats during GitHub testing -- Merge support for pull request separation [#114] -- Show month name / week number by default [#106] - -* Wed Jan 11 2017 Martin Frodl 0.10-1 -- New plugin for Google Apps -- Document how to generate documentation locally -- Mock C modules while building documentation -- Make all make versions happy -- Add requirements.txt to fix docs building -- Properly handle GitHub issues with Unicode names -- Add login key to github section in example config -- Update install docs with fresh Fedora instructions -- Update coveralls links in README -- List install dependencies for Debian-based systems -- Use another Trac instance in plugin test -- Move kerberos to extra requires - -* Mon Apr 04 2016 Petr Šplíchal 0.9-1 -- New plugins supported: Trello, bit.ly, idonethis -- Support 'did yesterday' for yesterday's updates -- Ignore comment updates without author specified -- User does not have to be assignee to close a bug -- Create vim tags using the 'make tags' target -- Use option prefix also for git, header and footer -- Extend the test coverage for cli, base and utils -- Rename DID_CONFIG to DID_DIR to match the content -- Improve error handling, especially config errors -- Migrate option parsing from optparse to argparse -- Configurable support for showing bug resolutions -- Support --conf as abbreviation for --config -- Initial set of tests for the trac plugin -- Improve readability of gerrit by using review number -- Improve closed bugs stats, add test case [fix #45] -- Add statistics of closed bugs for bugzilla plugin - -* Wed Sep 23 2015 Petr Šplíchal 0.8-1 -- Give warning for git repository problems [fix #41] -- Add example with config dir set to: ~/.config/did/ -- Support for basic authentication in jira plugin -- Support config profiles (new option --config) -- Generate coverage annotations for 'make coverage' -- Support aliases in config sections, improves #36 -- The first draft of the github plugin [fix #42] -- Support custom email/login aliases [fix #36] -- Include detailed description for general options -- Properly check email in gerrit messages [fix #34] -- Correctly handle invalid arguments [fix #33] -- Do not include the whole docs dir in the tarball -- Properly document how email addresses are handled -- Use wheels for python packaging (no source dist) -- Include Python package building stuff in Makefile - -* Fri Sep 18 2015 Petr Šplíchal 0.7-1 -- Refer Travis CI and Coveralls in contribute docs -- Remove version from the documentation completely -- Unshallow the git repo as it is used for testing -- Ignore errors about non-existent bugzilla emails -- Better handle xmlrpclib errors during bug search -- Document bugzilla plugin stats in more detail -- Bugzilla test suite adjustments (split, asserts) -- Log kerberos error as a debug message -- Decode command line arguments from utf-8 -- Filter returned bugs by email or name -- Moving bug from NEW to ASSIGNED is not returning -- Improve fixed bugs detection in bugzilla plugin -- Allow stats name detection from multiline docs -- Do not run 'make clean' in the pre-commit hook -- Support fetching large queries in jira plugin -- Document stats order specification in config - -* Fri Sep 11 2015 Petr Šplíchal 0.6-1 -- Provide a couple of real-life examples in docs -- Convert plugin order list into table -- Update welcome page and module documentation -- Handle invalid dates, paths and urls -- Consider ticket description change as update -- Check free command line arguments for typos -- Include example config in docs, adjust man page -- Fix the --debug option, prevent logger duplication -- Correctly handle missing config file -- Move Options.time_period() to Date.period() -- Update source url, add python-bugzilla to requires -- Move stats classes into a separate module -- Completely remove get_color_mode/set_color_mode -- Adjust utils.pluralize() to take a single argument -- Adjust commit-msg hook to handle comments -- Move command line code to the did.cli module - -* Wed Sep 09 2015 Petr Šplíchal 0.5-1 -- New tests for command line script, bugzilla, git -- Update README with synopsis and today's example -- Clean up the Makefile, remove obsoleted stuff -- Document general command line options in overview -- Extend contribute doc with Introduction & Makefile -- Update and simplify git commit hooks -- Use config directory instead of a single file -- New Makefile targets: test, smoke, coverage, docs -- Add mr.bob template to generate new default plugin -- Enable package 'extras' (dependencies) install -- Do not ignore sphinx dirs _static and _templates -- Move script, modules & tests out of the source dir - -* Sun Sep 06 2015 Petr Šplíchal 0.4-1 -- What did you do last week, month, year? (did rename) -- Plugins: bugzilla, rt, gerrit, jira, wiki, nitrate -- Separate the install/contribute documentation -- Correctly handle config as utf8, email splitting -- The Big Documentation Cleanup, hooks to examples -- Allow parsing config file directly from string -- Allow config location override, read config once -- Move docs to sphinx, githooks, rpm build fix -- An initial cut at creating a docker container -- Refactor plugin/stats architecture -- Use Travis CI, add initial tests -- Move README, add code coverage and badges - -* Thu Apr 23 2015 Petr Šplíchal 0.3-1 -- Update README with PIP and test information -- Enable travis-ci and some tests -- A couple of adjustments after the nitrate cleanup -- Remove nitrate dependency, adjust user handling - -* Wed Apr 22 2015 Petr Šplíchal 0.2-1 -- Incorporated package review feedback [BZ#1213739] -- Include essential gitignore patterns -- Handle custom stats as a plugin as well -- Handle header & footer as other plugins -- Plugin detection finalized including sort order -- Style cleanup and adjustments for plugin detection -- The first version of the plugin detection support - -* Mon Apr 20 2015 Petr Šplíchal 0.1-0 -- Initial packaging. diff --git a/sources b/sources deleted file mode 100644 index 3b1fcbe..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (did-0.12.tar.bz2) = 15e558bace972dc50fdf9a5120315f093397899907099e51983da24f984ffe03e490620f3510c91bf939d6a4d44c7382421ca3c0c24ef9674164b53070daf6d4 From cf8056a7ba591f2321c3eb0ffc7d93f795b5edc8 Mon Sep 17 00:00:00 2001 From: Mohan Boddu Date: Mon, 28 Oct 2019 14:14:34 -0400 Subject: [PATCH 16/55] Unretirement for https://pagure.io/releng/issue/8913 Revert "Doesn't install: https://bugzilla.redhat.com/show_bug.cgi?id=1655126" This reverts commit 7be1ce95b76750b94241ef43ea5c2de8f9048f6a. --- .gitignore | 4 + dead.package | 1 - did.spec | 252 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 257 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 dead.package create mode 100644 did.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..84d42ff --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/did-0.6.tar.bz2 +/did-0.9.tar.bz2 +/did-0.11.tar.bz2 +/did-0.12.tar.bz2 diff --git a/dead.package b/dead.package deleted file mode 100644 index 6c653e1..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Doesn't install: https://bugzilla.redhat.com/show_bug.cgi?id=1655126 diff --git a/did.spec b/did.spec new file mode 100644 index 0000000..53a3974 --- /dev/null +++ b/did.spec @@ -0,0 +1,252 @@ +Name: did +Version: 0.12 +Release: 4%{?dist} + +Summary: What did you do last week, month, year? +License: GPLv2+ + +URL: https://github.com/psss/did +Source: https://github.com/psss/did/releases/download/%{version}/did-%{version}.tar.bz2 + +BuildArch: noarch +BuildRequires: git +BuildRequires: python2-devel +Requires: python2-requests-gssapi +Requires: python2-nitrate python2-dateutil python2-bugzilla +Requires: python2-feedparser + +%description +Comfortably gather status report data (e.g. list of committed +changes) for given week, month, quarter, year or selected date +range. By default all available stats for this week are reported. + +%prep +%autosetup -S git + +%build + +%install +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_mandir}/man1 +mkdir -p %{buildroot}%{python2_sitelib}/did +mkdir -p %{buildroot}%{python2_sitelib}/did/plugins +install -pm 755 bin/did %{buildroot}%{_bindir}/did +install -pm 644 did/*.py %{buildroot}%{python2_sitelib}/did +install -pm 644 did/plugins/*.py %{buildroot}%{python2_sitelib}/did/plugins +install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 + + +%files +%{_mandir}/man1/* +%{_bindir}/did +%{python2_sitelib}/* +%doc README.rst examples +%{!?_licensedir:%global license %%doc} +%license LICENSE + +%changelog +* Wed Jul 24 2019 Fedora Release Engineering - 0.12-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 0.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Dec 31 2018 Miro Hrončok - 0.12-2 +- Update Python dependencies to new packaging standards + +* Thu Dec 20 2018 Petr Šplíchal 0.12-1 +- Add missing redmine dependency [fix #177] +- Fix GitLab plugin's ssl_verify option [fix #168] +- Document GitLab access token scope +- Merge ssl_verify support for Jira [#169] +- Merge support for Trello commented cards [#170] +- Fix commented cards title, improve the test suite +- Add a simple test for completed tasks, update auth +- Merge support for completed Google tasks [#173] +- Merge fix for the Google dependencies [#166] +- Document additional google dependencies +- Adding support for Google tasks +- Add commentCard to trello DEFAULT_FILTERS +- Allow to set 'ssl_verify' config for jira plugin +- Support 'creator' in bugzilla plugin [fix #167] +- Give a nice error when user not found [fix #159] +- Fix jira basic authentication [fix #163] +- Fix long_description in setup.py +- Update pip installation instructions +- Update the example config with recent plugins +- Describe in more detail how the tool works +- Silently ignore non-git directories [fix #143] +- Separate arguments preparation, add test coverage +- New option --test to run a simple smoke test +- Remove python2-gssapi from Requires +- Make REQUESTS_CA_BUNDLE example copy-paste-able +- Merge fix for the gitlab --since issue [fix #156] +- Remove gssapi dependency from the main cli module +- Quick start section, update install instructions +- Simplify setup.py, update requires +- Fix --since issue in gitlab plugin + +* Mon Nov 26 2018 Petr Šplíchal 0.11-1 +- Validate plugin types in config [fix #148] +- Use email for searching Jira issues [fix #122] +- Handle authentication errors in the Jira plugin +- Update shebang to explicitly use python2 +- Add a new section Questions to docs [fix #155] +- Raise error on unsuccessful request [fix #154] +- New plugin for Pagure stats [fix #153] +- Use requests-gssapi for Jira stats +- Fix problems with the Sentry plugin +- Merge configurable ssl verify for gitlab [#136] +- Merge the improved gitlab search [#137] +- Merge the new redmine plugin [#135] +- Some minor adjustments for the redmine plugin +- GitHub stats about reviewed PRs [#127] +- Remove zero-fill from Jira issues [fix #149] +- Add oauth2client to docs requirements [fix #152] +- Adjust until limit of the sentry plugin [fix #151] +- Update test data for the sentry & google plugins +- Update Python macros to new packaging standards +- Port to python-gssapi +- Fixed issue with failing tests +- Remove the idonethis plugin +- Merge the new sentry plugin +- Add basic Redmine support +- Add basic GitLab support +- Add search for subscribed bugs +- Add did.spec to MANIFEST.in +- Merge fix for bugs patched when created [#109] +- Merge the new Bugzilla query syntax [#111] +- Fetch only needed stats during GitHub testing +- Merge support for pull request separation [#114] +- Show month name / week number by default [#106] + +* Wed Jan 11 2017 Martin Frodl 0.10-1 +- New plugin for Google Apps +- Document how to generate documentation locally +- Mock C modules while building documentation +- Make all make versions happy +- Add requirements.txt to fix docs building +- Properly handle GitHub issues with Unicode names +- Add login key to github section in example config +- Update install docs with fresh Fedora instructions +- Update coveralls links in README +- List install dependencies for Debian-based systems +- Use another Trac instance in plugin test +- Move kerberos to extra requires + +* Mon Apr 04 2016 Petr Šplíchal 0.9-1 +- New plugins supported: Trello, bit.ly, idonethis +- Support 'did yesterday' for yesterday's updates +- Ignore comment updates without author specified +- User does not have to be assignee to close a bug +- Create vim tags using the 'make tags' target +- Use option prefix also for git, header and footer +- Extend the test coverage for cli, base and utils +- Rename DID_CONFIG to DID_DIR to match the content +- Improve error handling, especially config errors +- Migrate option parsing from optparse to argparse +- Configurable support for showing bug resolutions +- Support --conf as abbreviation for --config +- Initial set of tests for the trac plugin +- Improve readability of gerrit by using review number +- Improve closed bugs stats, add test case [fix #45] +- Add statistics of closed bugs for bugzilla plugin + +* Wed Sep 23 2015 Petr Šplíchal 0.8-1 +- Give warning for git repository problems [fix #41] +- Add example with config dir set to: ~/.config/did/ +- Support for basic authentication in jira plugin +- Support config profiles (new option --config) +- Generate coverage annotations for 'make coverage' +- Support aliases in config sections, improves #36 +- The first draft of the github plugin [fix #42] +- Support custom email/login aliases [fix #36] +- Include detailed description for general options +- Properly check email in gerrit messages [fix #34] +- Correctly handle invalid arguments [fix #33] +- Do not include the whole docs dir in the tarball +- Properly document how email addresses are handled +- Use wheels for python packaging (no source dist) +- Include Python package building stuff in Makefile + +* Fri Sep 18 2015 Petr Šplíchal 0.7-1 +- Refer Travis CI and Coveralls in contribute docs +- Remove version from the documentation completely +- Unshallow the git repo as it is used for testing +- Ignore errors about non-existent bugzilla emails +- Better handle xmlrpclib errors during bug search +- Document bugzilla plugin stats in more detail +- Bugzilla test suite adjustments (split, asserts) +- Log kerberos error as a debug message +- Decode command line arguments from utf-8 +- Filter returned bugs by email or name +- Moving bug from NEW to ASSIGNED is not returning +- Improve fixed bugs detection in bugzilla plugin +- Allow stats name detection from multiline docs +- Do not run 'make clean' in the pre-commit hook +- Support fetching large queries in jira plugin +- Document stats order specification in config + +* Fri Sep 11 2015 Petr Šplíchal 0.6-1 +- Provide a couple of real-life examples in docs +- Convert plugin order list into table +- Update welcome page and module documentation +- Handle invalid dates, paths and urls +- Consider ticket description change as update +- Check free command line arguments for typos +- Include example config in docs, adjust man page +- Fix the --debug option, prevent logger duplication +- Correctly handle missing config file +- Move Options.time_period() to Date.period() +- Update source url, add python-bugzilla to requires +- Move stats classes into a separate module +- Completely remove get_color_mode/set_color_mode +- Adjust utils.pluralize() to take a single argument +- Adjust commit-msg hook to handle comments +- Move command line code to the did.cli module + +* Wed Sep 09 2015 Petr Šplíchal 0.5-1 +- New tests for command line script, bugzilla, git +- Update README with synopsis and today's example +- Clean up the Makefile, remove obsoleted stuff +- Document general command line options in overview +- Extend contribute doc with Introduction & Makefile +- Update and simplify git commit hooks +- Use config directory instead of a single file +- New Makefile targets: test, smoke, coverage, docs +- Add mr.bob template to generate new default plugin +- Enable package 'extras' (dependencies) install +- Do not ignore sphinx dirs _static and _templates +- Move script, modules & tests out of the source dir + +* Sun Sep 06 2015 Petr Šplíchal 0.4-1 +- What did you do last week, month, year? (did rename) +- Plugins: bugzilla, rt, gerrit, jira, wiki, nitrate +- Separate the install/contribute documentation +- Correctly handle config as utf8, email splitting +- The Big Documentation Cleanup, hooks to examples +- Allow parsing config file directly from string +- Allow config location override, read config once +- Move docs to sphinx, githooks, rpm build fix +- An initial cut at creating a docker container +- Refactor plugin/stats architecture +- Use Travis CI, add initial tests +- Move README, add code coverage and badges + +* Thu Apr 23 2015 Petr Šplíchal 0.3-1 +- Update README with PIP and test information +- Enable travis-ci and some tests +- A couple of adjustments after the nitrate cleanup +- Remove nitrate dependency, adjust user handling + +* Wed Apr 22 2015 Petr Šplíchal 0.2-1 +- Incorporated package review feedback [BZ#1213739] +- Include essential gitignore patterns +- Handle custom stats as a plugin as well +- Handle header & footer as other plugins +- Plugin detection finalized including sort order +- Style cleanup and adjustments for plugin detection +- The first version of the plugin detection support + +* Mon Apr 20 2015 Petr Šplíchal 0.1-0 +- Initial packaging. diff --git a/sources b/sources new file mode 100644 index 0000000..3b1fcbe --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (did-0.12.tar.bz2) = 15e558bace972dc50fdf9a5120315f093397899907099e51983da24f984ffe03e490620f3510c91bf939d6a4d44c7382421ca3c0c24ef9674164b53070daf6d4 From c5f9d17b8c2add99f94914bd3238158805329d01 Mon Sep 17 00:00:00 2001 From: Mohan Boddu Date: Mon, 28 Oct 2019 14:16:23 -0400 Subject: [PATCH 17/55] Unretirement for https://pagure.io/releng/issue/8913 Revert "Doesn't install: https://bugzilla.redhat.com/show_bug.cgi?id=1655126" This reverts commit 7be1ce95b76750b94241ef43ea5c2de8f9048f6a. --- .gitignore | 4 + dead.package | 1 - did.spec | 252 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 257 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 dead.package create mode 100644 did.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..84d42ff --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/did-0.6.tar.bz2 +/did-0.9.tar.bz2 +/did-0.11.tar.bz2 +/did-0.12.tar.bz2 diff --git a/dead.package b/dead.package deleted file mode 100644 index 6c653e1..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Doesn't install: https://bugzilla.redhat.com/show_bug.cgi?id=1655126 diff --git a/did.spec b/did.spec new file mode 100644 index 0000000..53a3974 --- /dev/null +++ b/did.spec @@ -0,0 +1,252 @@ +Name: did +Version: 0.12 +Release: 4%{?dist} + +Summary: What did you do last week, month, year? +License: GPLv2+ + +URL: https://github.com/psss/did +Source: https://github.com/psss/did/releases/download/%{version}/did-%{version}.tar.bz2 + +BuildArch: noarch +BuildRequires: git +BuildRequires: python2-devel +Requires: python2-requests-gssapi +Requires: python2-nitrate python2-dateutil python2-bugzilla +Requires: python2-feedparser + +%description +Comfortably gather status report data (e.g. list of committed +changes) for given week, month, quarter, year or selected date +range. By default all available stats for this week are reported. + +%prep +%autosetup -S git + +%build + +%install +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_mandir}/man1 +mkdir -p %{buildroot}%{python2_sitelib}/did +mkdir -p %{buildroot}%{python2_sitelib}/did/plugins +install -pm 755 bin/did %{buildroot}%{_bindir}/did +install -pm 644 did/*.py %{buildroot}%{python2_sitelib}/did +install -pm 644 did/plugins/*.py %{buildroot}%{python2_sitelib}/did/plugins +install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 + + +%files +%{_mandir}/man1/* +%{_bindir}/did +%{python2_sitelib}/* +%doc README.rst examples +%{!?_licensedir:%global license %%doc} +%license LICENSE + +%changelog +* Wed Jul 24 2019 Fedora Release Engineering - 0.12-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 0.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Dec 31 2018 Miro Hrončok - 0.12-2 +- Update Python dependencies to new packaging standards + +* Thu Dec 20 2018 Petr Šplíchal 0.12-1 +- Add missing redmine dependency [fix #177] +- Fix GitLab plugin's ssl_verify option [fix #168] +- Document GitLab access token scope +- Merge ssl_verify support for Jira [#169] +- Merge support for Trello commented cards [#170] +- Fix commented cards title, improve the test suite +- Add a simple test for completed tasks, update auth +- Merge support for completed Google tasks [#173] +- Merge fix for the Google dependencies [#166] +- Document additional google dependencies +- Adding support for Google tasks +- Add commentCard to trello DEFAULT_FILTERS +- Allow to set 'ssl_verify' config for jira plugin +- Support 'creator' in bugzilla plugin [fix #167] +- Give a nice error when user not found [fix #159] +- Fix jira basic authentication [fix #163] +- Fix long_description in setup.py +- Update pip installation instructions +- Update the example config with recent plugins +- Describe in more detail how the tool works +- Silently ignore non-git directories [fix #143] +- Separate arguments preparation, add test coverage +- New option --test to run a simple smoke test +- Remove python2-gssapi from Requires +- Make REQUESTS_CA_BUNDLE example copy-paste-able +- Merge fix for the gitlab --since issue [fix #156] +- Remove gssapi dependency from the main cli module +- Quick start section, update install instructions +- Simplify setup.py, update requires +- Fix --since issue in gitlab plugin + +* Mon Nov 26 2018 Petr Šplíchal 0.11-1 +- Validate plugin types in config [fix #148] +- Use email for searching Jira issues [fix #122] +- Handle authentication errors in the Jira plugin +- Update shebang to explicitly use python2 +- Add a new section Questions to docs [fix #155] +- Raise error on unsuccessful request [fix #154] +- New plugin for Pagure stats [fix #153] +- Use requests-gssapi for Jira stats +- Fix problems with the Sentry plugin +- Merge configurable ssl verify for gitlab [#136] +- Merge the improved gitlab search [#137] +- Merge the new redmine plugin [#135] +- Some minor adjustments for the redmine plugin +- GitHub stats about reviewed PRs [#127] +- Remove zero-fill from Jira issues [fix #149] +- Add oauth2client to docs requirements [fix #152] +- Adjust until limit of the sentry plugin [fix #151] +- Update test data for the sentry & google plugins +- Update Python macros to new packaging standards +- Port to python-gssapi +- Fixed issue with failing tests +- Remove the idonethis plugin +- Merge the new sentry plugin +- Add basic Redmine support +- Add basic GitLab support +- Add search for subscribed bugs +- Add did.spec to MANIFEST.in +- Merge fix for bugs patched when created [#109] +- Merge the new Bugzilla query syntax [#111] +- Fetch only needed stats during GitHub testing +- Merge support for pull request separation [#114] +- Show month name / week number by default [#106] + +* Wed Jan 11 2017 Martin Frodl 0.10-1 +- New plugin for Google Apps +- Document how to generate documentation locally +- Mock C modules while building documentation +- Make all make versions happy +- Add requirements.txt to fix docs building +- Properly handle GitHub issues with Unicode names +- Add login key to github section in example config +- Update install docs with fresh Fedora instructions +- Update coveralls links in README +- List install dependencies for Debian-based systems +- Use another Trac instance in plugin test +- Move kerberos to extra requires + +* Mon Apr 04 2016 Petr Šplíchal 0.9-1 +- New plugins supported: Trello, bit.ly, idonethis +- Support 'did yesterday' for yesterday's updates +- Ignore comment updates without author specified +- User does not have to be assignee to close a bug +- Create vim tags using the 'make tags' target +- Use option prefix also for git, header and footer +- Extend the test coverage for cli, base and utils +- Rename DID_CONFIG to DID_DIR to match the content +- Improve error handling, especially config errors +- Migrate option parsing from optparse to argparse +- Configurable support for showing bug resolutions +- Support --conf as abbreviation for --config +- Initial set of tests for the trac plugin +- Improve readability of gerrit by using review number +- Improve closed bugs stats, add test case [fix #45] +- Add statistics of closed bugs for bugzilla plugin + +* Wed Sep 23 2015 Petr Šplíchal 0.8-1 +- Give warning for git repository problems [fix #41] +- Add example with config dir set to: ~/.config/did/ +- Support for basic authentication in jira plugin +- Support config profiles (new option --config) +- Generate coverage annotations for 'make coverage' +- Support aliases in config sections, improves #36 +- The first draft of the github plugin [fix #42] +- Support custom email/login aliases [fix #36] +- Include detailed description for general options +- Properly check email in gerrit messages [fix #34] +- Correctly handle invalid arguments [fix #33] +- Do not include the whole docs dir in the tarball +- Properly document how email addresses are handled +- Use wheels for python packaging (no source dist) +- Include Python package building stuff in Makefile + +* Fri Sep 18 2015 Petr Šplíchal 0.7-1 +- Refer Travis CI and Coveralls in contribute docs +- Remove version from the documentation completely +- Unshallow the git repo as it is used for testing +- Ignore errors about non-existent bugzilla emails +- Better handle xmlrpclib errors during bug search +- Document bugzilla plugin stats in more detail +- Bugzilla test suite adjustments (split, asserts) +- Log kerberos error as a debug message +- Decode command line arguments from utf-8 +- Filter returned bugs by email or name +- Moving bug from NEW to ASSIGNED is not returning +- Improve fixed bugs detection in bugzilla plugin +- Allow stats name detection from multiline docs +- Do not run 'make clean' in the pre-commit hook +- Support fetching large queries in jira plugin +- Document stats order specification in config + +* Fri Sep 11 2015 Petr Šplíchal 0.6-1 +- Provide a couple of real-life examples in docs +- Convert plugin order list into table +- Update welcome page and module documentation +- Handle invalid dates, paths and urls +- Consider ticket description change as update +- Check free command line arguments for typos +- Include example config in docs, adjust man page +- Fix the --debug option, prevent logger duplication +- Correctly handle missing config file +- Move Options.time_period() to Date.period() +- Update source url, add python-bugzilla to requires +- Move stats classes into a separate module +- Completely remove get_color_mode/set_color_mode +- Adjust utils.pluralize() to take a single argument +- Adjust commit-msg hook to handle comments +- Move command line code to the did.cli module + +* Wed Sep 09 2015 Petr Šplíchal 0.5-1 +- New tests for command line script, bugzilla, git +- Update README with synopsis and today's example +- Clean up the Makefile, remove obsoleted stuff +- Document general command line options in overview +- Extend contribute doc with Introduction & Makefile +- Update and simplify git commit hooks +- Use config directory instead of a single file +- New Makefile targets: test, smoke, coverage, docs +- Add mr.bob template to generate new default plugin +- Enable package 'extras' (dependencies) install +- Do not ignore sphinx dirs _static and _templates +- Move script, modules & tests out of the source dir + +* Sun Sep 06 2015 Petr Šplíchal 0.4-1 +- What did you do last week, month, year? (did rename) +- Plugins: bugzilla, rt, gerrit, jira, wiki, nitrate +- Separate the install/contribute documentation +- Correctly handle config as utf8, email splitting +- The Big Documentation Cleanup, hooks to examples +- Allow parsing config file directly from string +- Allow config location override, read config once +- Move docs to sphinx, githooks, rpm build fix +- An initial cut at creating a docker container +- Refactor plugin/stats architecture +- Use Travis CI, add initial tests +- Move README, add code coverage and badges + +* Thu Apr 23 2015 Petr Šplíchal 0.3-1 +- Update README with PIP and test information +- Enable travis-ci and some tests +- A couple of adjustments after the nitrate cleanup +- Remove nitrate dependency, adjust user handling + +* Wed Apr 22 2015 Petr Šplíchal 0.2-1 +- Incorporated package review feedback [BZ#1213739] +- Include essential gitignore patterns +- Handle custom stats as a plugin as well +- Handle header & footer as other plugins +- Plugin detection finalized including sort order +- Style cleanup and adjustments for plugin detection +- The first version of the plugin detection support + +* Mon Apr 20 2015 Petr Šplíchal 0.1-0 +- Initial packaging. diff --git a/sources b/sources new file mode 100644 index 0000000..3b1fcbe --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (did-0.12.tar.bz2) = 15e558bace972dc50fdf9a5120315f093397899907099e51983da24f984ffe03e490620f3510c91bf939d6a4d44c7382421ca3c0c24ef9674164b53070daf6d4 From 9fa9800945833804626da52e601854655b397e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Tue, 29 Oct 2019 08:54:46 +0100 Subject: [PATCH 18/55] Import did-0.14 --- .gitignore | 1 + did.spec | 78 +++++++++++++++++++++++++++++++++++++++--------------- sources | 2 +- 3 files changed, 58 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index 84d42ff..427201d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /did-0.9.tar.bz2 /did-0.11.tar.bz2 /did-0.12.tar.bz2 +/did-0.14.tar.bz2 diff --git a/did.spec b/did.spec index 53a3974..d330d07 100644 --- a/did.spec +++ b/did.spec @@ -1,19 +1,27 @@ Name: did -Version: 0.12 -Release: 4%{?dist} +Version: 0.14 +Release: 2%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ URL: https://github.com/psss/did -Source: https://github.com/psss/did/releases/download/%{version}/did-%{version}.tar.bz2 +Source0: %{url}/releases/download/%{version}/did-%{version}.tar.bz2 BuildArch: noarch -BuildRequires: git -BuildRequires: python2-devel -Requires: python2-requests-gssapi -Requires: python2-nitrate python2-dateutil python2-bugzilla -Requires: python2-feedparser +BuildRequires: git-core +BuildRequires: python3-bugzilla +BuildRequires: python3-dateutil +BuildRequires: python3-devel +BuildRequires: python3-httplib2 +BuildRequires: python3-pytest +BuildRequires: python3-requests-gssapi +BuildRequires: python3-setuptools +Requires: python3-bugzilla +Requires: python3-httplib2 +Requires: python3-requests-gssapi + +%?python_enable_dependency_generator %description Comfortably gather status report data (e.g. list of committed @@ -24,35 +32,61 @@ range. By default all available stats for this week are reported. %autosetup -S git %build +%py3_build %install -mkdir -p %{buildroot}%{_bindir} +%py3_install mkdir -p %{buildroot}%{_mandir}/man1 -mkdir -p %{buildroot}%{python2_sitelib}/did -mkdir -p %{buildroot}%{python2_sitelib}/did/plugins -install -pm 755 bin/did %{buildroot}%{_bindir}/did -install -pm 644 did/*.py %{buildroot}%{python2_sitelib}/did -install -pm 644 did/plugins/*.py %{buildroot}%{python2_sitelib}/did/plugins install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 +%check +%{__python3} -m pytest -vv tests/test*.py -k 'not smoke' %files %{_mandir}/man1/* %{_bindir}/did -%{python2_sitelib}/* +%{python3_sitelib}/%{name}/ +%{python3_sitelib}/%{name}-*.egg-info/ %doc README.rst examples -%{!?_licensedir:%global license %%doc} %license LICENSE %changelog -* Wed Jul 24 2019 Fedora Release Engineering - 0.12-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild +* Tue Oct 29 2019 Petr Šplíchal - 0.14-2 +- Include python3-setuptools in the BuildRequires +- Use info level to log problems with plugin import -* Thu Jan 31 2019 Fedora Release Engineering - 0.12-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild +* Tue Oct 22 2019 Petr Šplíchal - 0.14-1 +- Include setup.py, use auto build/install, enable tests +- Fix 'did --test' when no config is present +- Update spec file for Python 3 +- Update shebang to explicitly use python3 +- Fix mixed tabs and spaces in docs/conf.py +- Goodbye Python 2! Thanks and have a good night ;-) +- Cleanup built docs directly +- Do not remove python's egg when doing the cleanup +- Document the custom plugin configuration +- A couple of custom plugins feature adjustments +- Support for custom plugin location [#160] +- Fix typo in the license classifier -* Mon Dec 31 2018 Miro Hrončok - 0.12-2 -- Update Python dependencies to new packaging standards +* Tue Oct 01 2019 Petr Šplíchal - 0.13-1 +- Support for the full file path config [#140] +- Add the 'last friday' command [#197] +- New plugin with basic confluence support [#199] +- Improve redmine documentation [#195] +- Add a new 'wip' option for gerrit [#194] +- Include project name in gerrit stats [#192] +- Fix the configuration examples for gerrit +- Simplify Pagure search for created issues +- Extended query for verified bugs [fix #189] +- Fix for reviewed gerrit changes [#188] +- Add gerrit work-in-progress changes [#187] +- Fix for gerrit log strings [#186] +- Improve gerrit search limit [#185] +- Document API key auth for bugzilla [fix #180] +- Mock bugzilla module to fix generating docs +- Update feedparser requires +- Fix for gerrit plugin typo [#179] * Thu Dec 20 2018 Petr Šplíchal 0.12-1 - Add missing redmine dependency [fix #177] diff --git a/sources b/sources index 3b1fcbe..fbba12d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (did-0.12.tar.bz2) = 15e558bace972dc50fdf9a5120315f093397899907099e51983da24f984ffe03e490620f3510c91bf939d6a4d44c7382421ca3c0c24ef9674164b53070daf6d4 +SHA512 (did-0.14.tar.bz2) = ea724907b97d16f9cdd9b02e8308f18aeaa18f844e01fb142af71f91465cd7e6d5e2b1bee44a92a1ab54c9e15798e7769ef8fd8b0ed885fcacbd2e181731bd63 From f4f8e67a8aeec34f0888471fa0b5852b4af45713 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 29 Oct 2019 13:48:20 +0100 Subject: [PATCH 19/55] "Adding package.cfg file" --- package.cfg | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 package.cfg diff --git a/package.cfg b/package.cfg new file mode 100644 index 0000000..66ea79d --- /dev/null +++ b/package.cfg @@ -0,0 +1,2 @@ +[koji] +targets = epel8 epel8-playground \ No newline at end of file From 9f0975840a0cff8ef65ab67bffaaa56d572016b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Wed, 30 Oct 2019 10:00:34 +0100 Subject: [PATCH 20/55] Disable epel8-playground --- package.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.cfg b/package.cfg index 66ea79d..b728443 100644 --- a/package.cfg +++ b/package.cfg @@ -1,2 +1,2 @@ [koji] -targets = epel8 epel8-playground \ No newline at end of file +targets = epel8 From 8d9d8a5773fff29989bf68abff76d5f839807a83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Thu, 14 Nov 2019 23:27:34 +0100 Subject: [PATCH 21/55] Import did-0.15 --- .gitignore | 1 + did.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 427201d..4da271d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /did-0.11.tar.bz2 /did-0.12.tar.bz2 /did-0.14.tar.bz2 +/did-0.15.tar.bz2 diff --git a/did.spec b/did.spec index d330d07..10b862a 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did -Version: 0.14 -Release: 2%{?dist} +Version: 0.15 +Release: 1%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -51,6 +51,10 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog +* Thu Nov 14 2019 Petr Šplíchal - 0.15-1 +- Create a single StatsGroup for 'items' [fix #208] +- Google plugin __unicode__ leftover + * Tue Oct 29 2019 Petr Šplíchal - 0.14-2 - Include python3-setuptools in the BuildRequires - Use info level to log problems with plugin import diff --git a/sources b/sources index fbba12d..7c541b4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (did-0.14.tar.bz2) = ea724907b97d16f9cdd9b02e8308f18aeaa18f844e01fb142af71f91465cd7e6d5e2b1bee44a92a1ab54c9e15798e7769ef8fd8b0ed885fcacbd2e181731bd63 +SHA512 (did-0.15.tar.bz2) = 109ce297c7d0141af9d107c654efdfc78da670cd7de68a3fcd79957b11c776af86ea2906565d0a518daa74b2b681ff1e5ea52617615a7be4e4c17507085b25ae From c4c038c617b54f11ed18c5cc1cf95a4ab32ed0c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Tue, 10 Dec 2019 11:50:02 +0100 Subject: [PATCH 22/55] Import did-0.16 --- .gitignore | 1 + did.spec | 14 +++++++++++++- sources | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4da271d..6de6ebc 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /did-0.12.tar.bz2 /did-0.14.tar.bz2 /did-0.15.tar.bz2 +/did-0.16.tar.bz2 diff --git a/did.spec b/did.spec index 10b862a..5f27a7b 100644 --- a/did.spec +++ b/did.spec @@ -1,5 +1,5 @@ Name: did -Version: 0.15 +Version: 0.16 Release: 1%{?dist} Summary: What did you do last week, month, year? @@ -19,6 +19,7 @@ BuildRequires: python3-requests-gssapi BuildRequires: python3-setuptools Requires: python3-bugzilla Requires: python3-httplib2 +Requires: python3-nitrate Requires: python3-requests-gssapi %?python_enable_dependency_generator @@ -51,6 +52,17 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog +* Tue Dec 10 2019 Petr Šplíchal - 0.16-1 +- Convert smoke test into docs test, fix config file +- Include a short summary in the help usage message +- Enable simple smoke test in the testing farm +- Add nitrate back into the package requires +- Enable custom tarball in Packit to fix man page +- Mention custom plugins config on the plugins page +- Enable copr builds and add packit config +- Custom eprint() is no more necessary [fix #211] +- Convert custom section order to int [fix #212] + * Thu Nov 14 2019 Petr Šplíchal - 0.15-1 - Create a single StatsGroup for 'items' [fix #208] - Google plugin __unicode__ leftover diff --git a/sources b/sources index 7c541b4..6ec1c3d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (did-0.15.tar.bz2) = 109ce297c7d0141af9d107c654efdfc78da670cd7de68a3fcd79957b11c776af86ea2906565d0a518daa74b2b681ff1e5ea52617615a7be4e4c17507085b25ae +SHA512 (did-0.16.tar.bz2) = 60d7a040fe3d5dd825fd48c0868f1d6f18b583207b071886f1c2cd21d5d06f7da95a8e43f2725121e33b566c7b93b512e0a31ebd4d5582b6b7a8c350513caccc From 3c26ccc31309f5f96ee5a60109fafe0745b7be99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Tue, 10 Dec 2019 13:03:25 +0100 Subject: [PATCH 23/55] Remove package.cfg (use consistent branches) --- package.cfg | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 package.cfg diff --git a/package.cfg b/package.cfg deleted file mode 100644 index b728443..0000000 --- a/package.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[koji] -targets = epel8 From 05d05b21855d0d8981389a7d09d47bd39061addf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 15:50:20 +0000 Subject: [PATCH 24/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 5f27a7b..b459873 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.16 -Release: 1%{?dist} +Release: 2%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -52,6 +52,9 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 0.16-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Tue Dec 10 2019 Petr Šplíchal - 0.16-1 - Convert smoke test into docs test, fix config file - Include a short summary in the help usage message From bfd9c87a2bf925e94a37309c5a377bd8c9f59641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 02:44:09 +0200 Subject: [PATCH 25/55] Rebuilt for Python 3.9 --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index b459873..7b126e3 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.16 -Release: 2%{?dist} +Release: 3%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -52,6 +52,9 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog +* Tue May 26 2020 Miro Hrončok - 0.16-3 +- Rebuilt for Python 3.9 + * Tue Jan 28 2020 Fedora Release Engineering - 0.16-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 8a1b5f42ecb04e823d62df2d6c97a09f3cafeb8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Mon, 13 Jul 2020 12:29:59 +0200 Subject: [PATCH 26/55] Release did-0.17 --- .gitignore | 1 + did.spec | 28 +++++++++++++++++++++------- sources | 2 +- 3 files changed, 23 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 6de6ebc..e7bd66c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /did-0.14.tar.bz2 /did-0.15.tar.bz2 /did-0.16.tar.bz2 +/did-0.17.tar.bz2 diff --git a/did.spec b/did.spec index 7b126e3..f798353 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did -Version: 0.16 -Release: 3%{?dist} +Version: 0.17 +Release: 1%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -41,6 +41,7 @@ mkdir -p %{buildroot}%{_mandir}/man1 install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %check +export LANG=en_US.utf-8 %{__python3} -m pytest -vv tests/test*.py -k 'not smoke' %files @@ -52,11 +53,24 @@ install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %license LICENSE %changelog -* Tue May 26 2020 Miro Hrončok - 0.16-3 -- Rebuilt for Python 3.9 - -* Tue Jan 28 2020 Fedora Release Engineering - 0.16-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild +* Mon Jul 13 2020 Petr Šplíchal - 0.17-1 +- Prevent exploring tests under the tmt directory +- Run unit tests always under the English locale +- Enable basic smoke test against github in packit +- Disable test for the redmine plugin +- Update test data for the redmine plugin +- Update test data for the sentry plugin +- Update test data for the gerrit plugin +- Use calendar year quarters by default [fix #223] +- Merge the improved Jira search [#198] +- Adjust improved Jira search using scriptrunner +- Use scriptrunner issueFunction to speed up things +- Simplify Packit config (copr_build no more needed) +- Update test data for the sentry plugin +- Implement Jira issue comparison to prevent dupes +- Do not break sorting on merge +- Add default command into the info log [fix #217] +- Enable Python 3.8 in Travis, update metadata * Tue Dec 10 2019 Petr Šplíchal - 0.16-1 - Convert smoke test into docs test, fix config file diff --git a/sources b/sources index 6ec1c3d..8c7879f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (did-0.16.tar.bz2) = 60d7a040fe3d5dd825fd48c0868f1d6f18b583207b071886f1c2cd21d5d06f7da95a8e43f2725121e33b566c7b93b512e0a31ebd4d5582b6b7a8c350513caccc +SHA512 (did-0.17.tar.bz2) = a35694fb981f599327cfa149343f480d2761ef7a43629bf0957a056e12fc5bc1b9787c531afcb7b3dd1ed2e05de353f467fc0954080f4b069370f3ea7f372dec From b37975fb3ede51e9cbb6ba3a979926fba3b07fbf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 15:23:09 +0000 Subject: [PATCH 27/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index f798353..e1dfdf4 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.17 -Release: 1%{?dist} +Release: 2%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -53,6 +53,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 0.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 13 2020 Petr Šplíchal - 0.17-1 - Prevent exploring tests under the tmt directory - Run unit tests always under the English locale From 23bf33d178e8b66f70cc630c1d6fe3c4e1ba65d9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 03:24:01 +0000 Subject: [PATCH 28/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index e1dfdf4..0e21940 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.17 -Release: 2%{?dist} +Release: 3%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -53,6 +53,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.17-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 0.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 09c370cdbc2c6e54a3337d3e60ca8e41b61ff599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Mon, 19 Apr 2021 14:35:35 +0200 Subject: [PATCH 29/55] Enable upstream tests --- .fmf/version | 1 + plans/upstream.fmf | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 .fmf/version create mode 100644 plans/upstream.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plans/upstream.fmf b/plans/upstream.fmf new file mode 100644 index 0000000..60a6c8f --- /dev/null +++ b/plans/upstream.fmf @@ -0,0 +1,6 @@ +summary: Upstream did tests +discover: + how: fmf + url: https://github.com/psss/did +execute: + how: tmt From a63dbd8096dd230b639bfb1f37a5d251cb5bbccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Mon, 19 Apr 2021 14:35:26 +0200 Subject: [PATCH 30/55] Release did-0.18 --- .gitignore | 1 + did.spec | 22 +++++++++++++++------- sources | 2 +- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index e7bd66c..1318458 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /did-0.15.tar.bz2 /did-0.16.tar.bz2 /did-0.17.tar.bz2 +/did-0.18.tar.bz2 diff --git a/did.spec b/did.spec index 0e21940..764209c 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did -Version: 0.17 -Release: 3%{?dist} +Version: 0.18 +Release: 1%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -53,11 +53,19 @@ export LANG=en_US.utf-8 %license LICENSE %changelog -* Tue Jan 26 2021 Fedora Release Engineering - 0.17-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 0.17-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild +* Mon Apr 19 2021 Petr Šplíchal - 0.18-1 +- Support custom xmlrpc endpoint for MoinMoin wiki +- Adjust the approved merge requests for gitlab +- Add search for approved merge requests in gitlab +- Enable copr builds from master, simplify tests +- Add "no prefix" rule to commit message suggestions +- Simplify packit config, enable epel-8 for testing +- Do not use interpolation for ConfigParser +- Expand tilde in config path values +- Fix a typo in the README format section +- Update test data for the gerrit plugin +- Adjust password file support for jira & confluence +- Add password file options for jira and confluence * Mon Jul 13 2020 Petr Šplíchal - 0.17-1 - Prevent exploring tests under the tmt directory diff --git a/sources b/sources index 8c7879f..6895d07 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (did-0.17.tar.bz2) = a35694fb981f599327cfa149343f480d2761ef7a43629bf0957a056e12fc5bc1b9787c531afcb7b3dd1ed2e05de353f467fc0954080f4b069370f3ea7f372dec +SHA512 (did-0.18.tar.bz2) = e13976d3bcaac431adfe9fcf8aa5f36bb934cb4f56e06d99181c7106fdcd55dc7f23cda1242ba8f3b5739cbc326f2309aa14588695c44e095ef2d13327bc7e0d From b98a7f34c1ee70994e19932aa2aa65aee3ea9177 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 20:02:56 +0200 Subject: [PATCH 31/55] Rebuilt for Python 3.10 --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 764209c..081ef39 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.18 -Release: 1%{?dist} +Release: 2%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -53,6 +53,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Fri Jun 04 2021 Python Maint - 0.18-2 +- Rebuilt for Python 3.10 + * Mon Apr 19 2021 Petr Šplíchal - 0.18-1 - Support custom xmlrpc endpoint for MoinMoin wiki - Adjust the approved merge requests for gitlab From 52fe93e4db1c3b0b217e214b4de31bc529eb486c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 20:46:53 +0000 Subject: [PATCH 32/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 081ef39..c23dd38 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.18 -Release: 2%{?dist} +Release: 3%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -53,6 +53,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 0.18-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 0.18-2 - Rebuilt for Python 3.10 From 00b767b05f42aab45863f81782916666d34f8126 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 00:39:34 +0000 Subject: [PATCH 33/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index c23dd38..89014df 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.18 -Release: 3%{?dist} +Release: 4%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -53,6 +53,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 0.18-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Wed Jul 21 2021 Fedora Release Engineering - 0.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From e6de19e8ff1583b478db5bb0acd044ee0ec32b3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Fri, 28 Jan 2022 15:15:35 +0100 Subject: [PATCH 34/55] Enable separate plan reporting --- ci.fmf | 1 + 1 file changed, 1 insertion(+) create mode 100644 ci.fmf diff --git a/ci.fmf b/ci.fmf new file mode 100644 index 0000000..c5aa0e0 --- /dev/null +++ b/ci.fmf @@ -0,0 +1 @@ +resultsdb-testcase: separate From 20ddc45cf2dc5d37af8abcd3ac0e21b780839ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Fri, 28 Jan 2022 16:01:06 +0100 Subject: [PATCH 35/55] Add a basic test for the Bugzilla plugin --- plans/plugins.fmf | 5 +++++ tests/bugzilla/config | 8 ++++++++ tests/bugzilla/main.fmf | 3 +++ tests/bugzilla/test.sh | 16 ++++++++++++++++ 4 files changed, 32 insertions(+) create mode 100644 plans/plugins.fmf create mode 100644 tests/bugzilla/config create mode 100644 tests/bugzilla/main.fmf create mode 100755 tests/bugzilla/test.sh diff --git a/plans/plugins.fmf b/plans/plugins.fmf new file mode 100644 index 0000000..1a6e2a7 --- /dev/null +++ b/plans/plugins.fmf @@ -0,0 +1,5 @@ +summary: Test did plugins +discover: + how: fmf +execute: + how: tmt diff --git a/tests/bugzilla/config b/tests/bugzilla/config new file mode 100644 index 0000000..8f543a3 --- /dev/null +++ b/tests/bugzilla/config @@ -0,0 +1,8 @@ +[general] +email = Petr Šplíchal + +[bz] +type = bugzilla +prefix = BZ +url = https://bugzilla.redhat.com/xmlrpc.cgi +resolutions = all diff --git a/tests/bugzilla/main.fmf b/tests/bugzilla/main.fmf new file mode 100644 index 0000000..2912747 --- /dev/null +++ b/tests/bugzilla/main.fmf @@ -0,0 +1,3 @@ +summary: Check that bugzilla repork works fine +test: ./test.sh +framework: beakerlib diff --git a/tests/bugzilla/test.sh b/tests/bugzilla/test.sh new file mode 100755 index 0000000..b432736 --- /dev/null +++ b/tests/bugzilla/test.sh @@ -0,0 +1,16 @@ +#!/bin/bash +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +interval="--since 2021-08-01 --until 2022-01-31" + +rlJournalStart + rlPhaseStartTest "Filed bugs" + rlRun -s "did --bz-filed $interval --config $(pwd)/config" + rlAssertGrep "BZ#2042920 - Checkout of a custom ref fails" $rlRun_LOG + rlPhaseEnd + + rlPhaseStartTest "Closed bugs" + rlRun -s "did --bz-closed $interval --config $(pwd)/config" + rlAssertGrep "BZ#1985089 - tmt provision virtual" $rlRun_LOG + rlPhaseEnd +rlJournalEnd From 43822add2a50593328fa50017cb729f257efb4e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Fri, 11 Feb 2022 11:24:50 +0100 Subject: [PATCH 36/55] Release did-0.19 --- .gitignore | 1 + did.spec | 36 ++++++++++++++++++++++++++---------- sources | 2 +- 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 1318458..676b9eb 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /did-0.16.tar.bz2 /did-0.17.tar.bz2 /did-0.18.tar.bz2 +/did-0.19.tar.bz2 diff --git a/did.spec b/did.spec index 89014df..ac9dc35 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did -Version: 0.18 -Release: 4%{?dist} +Version: 0.19 +Release: 1%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -10,6 +10,7 @@ Source0: %{url}/releases/download/%{version}/did-%{version}.tar.bz2 BuildArch: noarch BuildRequires: git-core +BuildRequires: python3-bodhi-client BuildRequires: python3-bugzilla BuildRequires: python3-dateutil BuildRequires: python3-devel @@ -53,14 +54,29 @@ export LANG=en_US.utf-8 %license LICENSE %changelog -* Thu Jan 20 2022 Fedora Release Engineering - 0.18-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Jul 21 2021 Fedora Release Engineering - 0.18-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Fri Jun 04 2021 Python Maint - 0.18-2 -- Rebuilt for Python 3.10 +* Tue Jan 18 2022 Lukáš Zachar - 0.19-1 +- Install all required packages during docs building +- Adjust code style to be pep8 compatible +- Update docs for contributors, enable pre-commit +- Add basic support for Zammad +- Check if the GitHub credential token is valid +- Fix jira issues search when user `login` provided +- Add minor clarification note about token name +- Split jira token expiration into two options +- Adjust the support for Jira Personal Access Tokens +- Support Personal Access Token in the Jira plugin +- Return all the bugzilla results from a search +- Install fresh sphinx when building readthedocs +- Adjust the paging support for the GitHub plugin +- Add pagination support for GitHub, fixes #247 +- Adjust the new plugin for reporting bodhi updates +- Add a new plugin with support for Bodhi updates +- Use user email for searching updated jira issues +- Adjust the switch from fiscal to calendar year +- Switch from fiscal year to natural year +- Update docs for gitlab, github and confluence +- Give a better message upon jira search failure +- Raise the number of github issues fetched per page * Mon Apr 19 2021 Petr Šplíchal - 0.18-1 - Support custom xmlrpc endpoint for MoinMoin wiki diff --git a/sources b/sources index 6895d07..c0299c7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (did-0.18.tar.bz2) = e13976d3bcaac431adfe9fcf8aa5f36bb934cb4f56e06d99181c7106fdcd55dc7f23cda1242ba8f3b5739cbc326f2309aa14588695c44e095ef2d13327bc7e0d +SHA512 (did-0.19.tar.bz2) = e47f90024af5c446487094d896f59afecb7a83d1f23ce4055dd1d9e410ba224d8f30625385352b046255967346411de92985ab8c90ebe91dccb5db041df8a5cd From 3eefcc3d8f34ed9d370334db55db8575df52f43a Mon Sep 17 00:00:00 2001 From: Python Maint Date: Thu, 16 Jun 2022 11:13:10 +0200 Subject: [PATCH 37/55] Rebuilt for Python 3.11 --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index ac9dc35..1baa633 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.19 -Release: 1%{?dist} +Release: 2%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -54,6 +54,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Thu Jun 16 2022 Python Maint - 0.19-2 +- Rebuilt for Python 3.11 + * Tue Jan 18 2022 Lukáš Zachar - 0.19-1 - Install all required packages during docs building - Adjust code style to be pep8 compatible From aeaa2f3d0e9033746e6c5af6b4f8adf7e7eb0f86 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 00:27:15 +0000 Subject: [PATCH 38/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 1baa633..ed2eccb 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.19 -Release: 2%{?dist} +Release: 3%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -54,6 +54,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 0.19-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Thu Jun 16 2022 Python Maint - 0.19-2 - Rebuilt for Python 3.11 From e7d204c4487740b1715954df7891ce6e5e2b3f91 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 01:23:30 +0000 Subject: [PATCH 39/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index ed2eccb..916394e 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.19 -Release: 3%{?dist} +Release: 4%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -54,6 +54,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 0.19-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Jul 21 2022 Fedora Release Engineering - 0.19-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 376c3b3473596965a88ded49199327d0b2099ce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Fri, 10 Mar 2023 18:27:48 +0100 Subject: [PATCH 40/55] Release did-0.20 --- .gitignore | 1 + did.spec | 35 +++++++++++++++++++++++++---------- sources | 2 +- 3 files changed, 27 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 676b9eb..3184825 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /did-0.17.tar.bz2 /did-0.18.tar.bz2 /did-0.19.tar.bz2 +/did-0.20.tar.bz2 diff --git a/did.spec b/did.spec index 916394e..2600159 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did -Version: 0.19 -Release: 4%{?dist} +Version: 0.20 +Release: 1%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -54,14 +54,29 @@ export LANG=en_US.utf-8 %license LICENSE %changelog -* Thu Jan 19 2023 Fedora Release Engineering - 0.19-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Thu Jul 21 2022 Fedora Release Engineering - 0.19-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Thu Jun 16 2022 Python Maint - 0.19-2 -- Rebuilt for Python 3.11 +* Thu Mar 09 2023 Petr Šplíchal - 0.20-1 +- Produce fixed `phabricator` statistics +- Address packit warning on the `metadata` key +- Remove the Travis CI configuration +- Fix pytest invocation +- Move common constants to the top of `did.utils` +- Add new configuration options for custom separator +- Fix broken phabricator tests +- Fix potentially uninitialized local variable +- Add CodeQL workflow for GitHub code scanning +- Add comment stats on GitHub issues & pull requests +- Add the `name-tests-test` pre-commit hook +- Add the new `phabricator` plugin +- Update test data for `sentry`, `gitlab` and `gerrit` +- Update `pre-commit` configuration, enable `flake8` +- Allow all plugins to fetch secrets from files +- Update packit config to address recent changes +- Fix typo in the Google plugin docstring +- Speed up local testing, add missing require +- Update google plugin installation instructions +- Koji plugin +- Handle GitHub API rate limit +- Add Github Action for PyPI releases * Tue Jan 18 2022 Lukáš Zachar - 0.19-1 - Install all required packages during docs building diff --git a/sources b/sources index c0299c7..9bd7616 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (did-0.19.tar.bz2) = e47f90024af5c446487094d896f59afecb7a83d1f23ce4055dd1d9e410ba224d8f30625385352b046255967346411de92985ab8c90ebe91dccb5db041df8a5cd +SHA512 (did-0.20.tar.bz2) = 739a009ee31415a65e462d608ce110c8a55f2235cddbf677568b40596eff9168f2c7925f3b053e98e7746d6eba7db540214a4278fe7ad850e020b87eec721e4e From 9cc4fa5994f9b98046e0e3632a1a535b109539a4 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 3 Jul 2023 15:54:56 +0200 Subject: [PATCH 41/55] Rebuilt for Python 3.12 --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 2600159..b5f8a8c 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.20 -Release: 1%{?dist} +Release: 2%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -54,6 +54,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Mon Jul 03 2023 Python Maint - 0.20-2 +- Rebuilt for Python 3.12 + * Thu Mar 09 2023 Petr Šplíchal - 0.20-1 - Produce fixed `phabricator` statistics - Address packit warning on the `metadata` key From f9b11099e6949b144a7cdbfba5584b20c576dcb0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 17:27:01 +0000 Subject: [PATCH 42/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index b5f8a8c..bc40591 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.20 -Release: 2%{?dist} +Release: 3%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -54,6 +54,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 0.20-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Mon Jul 03 2023 Python Maint - 0.20-2 - Rebuilt for Python 3.12 From def7ac2bd4a34078da6d4edc74a6df21f273466d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Fri, 10 Nov 2023 23:20:00 +0100 Subject: [PATCH 43/55] Release did-0.21 --- .gitignore | 1 + did.spec | 29 ++++++++++++++++++++++------- sources | 2 +- 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 3184825..52ffb4c 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /did-0.18.tar.bz2 /did-0.19.tar.bz2 /did-0.20.tar.bz2 +/did-0.21.tar.bz2 diff --git a/did.spec b/did.spec index bc40591..2c1996b 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did -Version: 0.20 -Release: 3%{?dist} +Version: 0.21 +Release: 1%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -22,6 +22,7 @@ Requires: python3-bugzilla Requires: python3-httplib2 Requires: python3-nitrate Requires: python3-requests-gssapi +Requires: python3-feedparser %?python_enable_dependency_generator @@ -54,11 +55,25 @@ export LANG=en_US.utf-8 %license LICENSE %changelog -* Wed Jul 19 2023 Fedora Release Engineering - 0.20-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Mon Jul 03 2023 Python Maint - 0.20-2 -- Rebuilt for Python 3.12 +* Fri Nov 10 2023 Petr Šplíchal - 0.21-1 +- Pass plugin configuration to koji `ClientSession` +- Add `markdown` format output to `bodhi` plugin +- Add `markdown` format output to `pagure` plugin +- Handle connection error fetching gitlab user +- Update instructions for the `google` plugin +- Add `sphinx_rtd_theme` to the list of extensions +- Replace deprecated calls to `warn` +- Fix docs building warnings, pin sphinx version +- Add support for `markdown` format output (#315) +- Move line length recommendation to proper section +- Update pre-commit GH action with latest version +- Add dependency on `python3-feedparser` +- Replace `readfp()` with `read_file()` +- Support defining subitems for header and footer +- Give a reasonable error for unreachable wiki url +- Report Gitlab tasks-commented properly +- Fix typo in section name +- Skip own pull requests in `pull-requests-reviewed` * Thu Mar 09 2023 Petr Šplíchal - 0.20-1 - Produce fixed `phabricator` statistics diff --git a/sources b/sources index 9bd7616..9ce62c6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (did-0.20.tar.bz2) = 739a009ee31415a65e462d608ce110c8a55f2235cddbf677568b40596eff9168f2c7925f3b053e98e7746d6eba7db540214a4278fe7ad850e020b87eec721e4e +SHA512 (did-0.21.tar.bz2) = 289524c80127062840e6f3af5ae8cfced890127a1b991c3b34c06551b88c4b438dcd713d871d743d4a62a3658e8c88b88697fc1c2f94037749aa885d979832f2 From d6ab5bea55cc9a6fc687fb51a861abe3398c8b06 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 17:09:13 +0000 Subject: [PATCH 44/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 2c1996b..2e7b941 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.21 -Release: 1%{?dist} +Release: 2%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -55,6 +55,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 0.21-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Nov 10 2023 Petr Šplíchal - 0.21-1 - Pass plugin configuration to koji `ClientSession` - Add `markdown` format output to `bodhi` plugin From 2b34f3338745793017e7b5403d32853faad4ac62 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jan 2024 09:25:57 +0000 Subject: [PATCH 45/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 2e7b941..09f8820 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.21 -Release: 2%{?dist} +Release: 3%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -55,6 +55,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Wed Jan 24 2024 Fedora Release Engineering - 0.21-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 0.21-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From b181fafb2c8192f181edd1cc88cb555eb6854253 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Sat, 8 Jun 2024 01:12:07 +0200 Subject: [PATCH 46/55] Rebuilt for Python 3.13 --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 09f8820..71d357a 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.21 -Release: 3%{?dist} +Release: 4%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -55,6 +55,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Fri Jun 07 2024 Python Maint - 0.21-4 +- Rebuilt for Python 3.13 + * Wed Jan 24 2024 Fedora Release Engineering - 0.21-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 85d0e9363106ac9bec649edee0dd1b1d023b23cf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 20:57:54 +0000 Subject: [PATCH 47/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 71d357a..3f2d083 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.21 -Release: 4%{?dist} +Release: 5%{?dist} Summary: What did you do last week, month, year? License: GPLv2+ @@ -55,6 +55,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 0.21-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jun 07 2024 Python Maint - 0.21-4 - Rebuilt for Python 3.13 From 3fdcbd4b76b9120394de99767d37248b5e7a275b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 25 Jul 2024 23:29:55 +0200 Subject: [PATCH 48/55] convert GPLv2+ license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- did.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/did.spec b/did.spec index 3f2d083..16dd197 100644 --- a/did.spec +++ b/did.spec @@ -1,9 +1,10 @@ Name: did Version: 0.21 -Release: 5%{?dist} +Release: 6%{?dist} Summary: What did you do last week, month, year? -License: GPLv2+ +# Automatically converted from old format: GPLv2+ - review is highly recommended. +License: GPL-2.0-or-later URL: https://github.com/psss/did Source0: %{url}/releases/download/%{version}/did-%{version}.tar.bz2 @@ -55,6 +56,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Thu Jul 25 2024 Miroslav Suchý - 0.21-6 +- convert license to SPDX + * Wed Jul 17 2024 Fedora Release Engineering - 0.21-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 7aab162fe874cf96ae14a9d1e7336ba03bdf77b6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 15:44:37 +0000 Subject: [PATCH 49/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 16dd197..4bbfa16 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.21 -Release: 6%{?dist} +Release: 7%{?dist} Summary: What did you do last week, month, year? # Automatically converted from old format: GPLv2+ - review is highly recommended. @@ -56,6 +56,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 0.21-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jul 25 2024 Miroslav Suchý - 0.21-6 - convert license to SPDX From 1ddd95cdb39e4cfeb731f0454526889d172391db Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 3 Jun 2025 16:23:47 +0200 Subject: [PATCH 50/55] Rebuilt for Python 3.14 --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 4bbfa16..3c62d41 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.21 -Release: 7%{?dist} +Release: 8%{?dist} Summary: What did you do last week, month, year? # Automatically converted from old format: GPLv2+ - review is highly recommended. @@ -56,6 +56,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Tue Jun 03 2025 Python Maint - 0.21-8 +- Rebuilt for Python 3.14 + * Thu Jan 16 2025 Fedora Release Engineering - 0.21-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 696578538e17e62704aa006cc312b6905c32d517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Wed, 4 Jun 2025 00:19:39 +0200 Subject: [PATCH 51/55] Release did-0.22 --- .gitignore | 1 + did.spec | 91 ++++++++++++++++++++++++++++++++++++------------------ sources | 2 +- 3 files changed, 63 insertions(+), 31 deletions(-) diff --git a/.gitignore b/.gitignore index 52ffb4c..13285ae 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /did-0.19.tar.bz2 /did-0.20.tar.bz2 /did-0.21.tar.bz2 +/did-0.22.tar.bz2 diff --git a/did.spec b/did.spec index 3c62d41..86516b9 100644 --- a/did.spec +++ b/did.spec @@ -1,9 +1,8 @@ Name: did -Version: 0.21 -Release: 8%{?dist} +Version: 0.22 +Release: 1%{?dist} Summary: What did you do last week, month, year? -# Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: https://github.com/psss/did @@ -17,15 +16,17 @@ BuildRequires: python3-dateutil BuildRequires: python3-devel BuildRequires: python3-httplib2 BuildRequires: python3-pytest +BuildRequires: python3-pytest-xdist BuildRequires: python3-requests-gssapi BuildRequires: python3-setuptools +BuildRequires: python3-nitrate Requires: python3-bugzilla Requires: python3-httplib2 Requires: python3-nitrate Requires: python3-requests-gssapi Requires: python3-feedparser +Requires: python3-tenacity -%?python_enable_dependency_generator %description Comfortably gather status report data (e.g. list of committed @@ -35,47 +36,77 @@ range. By default all available stats for this week are reported. %prep %autosetup -S git +%generate_buildrequires +%pyproject_buildrequires + + %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files did mkdir -p %{buildroot}%{_mandir}/man1 install -pm 644 did.1.gz %{buildroot}%{_mandir}/man1 %check export LANG=en_US.utf-8 -%{__python3} -m pytest -vv tests/test*.py -k 'not smoke' +%pytest -vv tests/test*.py -k 'not smoke' -%files +%files -f %{pyproject_files} %{_mandir}/man1/* %{_bindir}/did -%{python3_sitelib}/%{name}/ -%{python3_sitelib}/%{name}-*.egg-info/ %doc README.rst examples %license LICENSE %changelog -* Tue Jun 03 2025 Python Maint - 0.21-8 -- Rebuilt for Python 3.14 - -* Thu Jan 16 2025 Fedora Release Engineering - 0.21-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Thu Jul 25 2024 Miroslav Suchý - 0.21-6 -- convert license to SPDX - -* Wed Jul 17 2024 Fedora Release Engineering - 0.21-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Fri Jun 07 2024 Python Maint - 0.21-4 -- Rebuilt for Python 3.13 - -* Wed Jan 24 2024 Fedora Release Engineering - 0.21-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering - 0.21-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild +* Tue Jun 03 2025 Petr Šplíchal - 0.22-1 +- Implement `transition` stats for the `jira` plugin (#352) +- Fix issue with wrong `until` in GitHub search (#376) +- List resolved jira by tester and contributor field +- Fix `zammad` token bug, some minor adjustments +- Better handling auth max retry in jira plugin +- Handle JSON decode errors in pagure plugin +- Reuse bodhi connection instead of opening new ones +- Properly handle timeout in pagure plugin +- Complete report even on plugin error +- Better handling on server errors for pagure plugin +- Better handling of wrong url in confluence plugin +- Handle timeout fetching batches in jira plugin +- Fixed Jira updated issues and support timeout +- Collect stats in parallel +- Add stats for updated jira tickets +- Handle rate limiting in Jira plugin +- Allow to filter out orgs in GitHub plugin +- Properly collect comments in GitHub +- Improve items plugin +- Enable pagure closed PRs stats collection +- Add hyperkitty support +- Handle better the GitLab expired token case +- Increased test coverage +- Use pytest-xdist for parallelizing test execution +- Add collection of comments for Pagure +- Cover markdown format while testing Koji +- Use tenacity handling retry connection to GitHub +- Added stats for modified pages in Confluence +- Allow to skip SSL verification in bugzilla plugin +- Added markdown support to google plugin +- Add token authentication to confluence plugin +- Add markdown support to koji plugin +- Fetch all created issues correctly in `pagure` (#379) +- Use custom `user-agent` in the `public_inbox` plugin (#392) +- Fix dockerfile executable path, add git to container (#354) +- Support `user`, `org`, `repo` in the `github` plugin (#373) +- Handle the GitHub rate limit in a better way (#374) +- Create a Public Inbox Plugin +- Implement `did last [monday..sunday]` +- Correctly handle merge commits in verbose mode +- Prevent duplicates in github issue stats +- Retry connecting to GitLab API on error +- Add a `Toolbelt Catalog` entry for `did` +- Allow skipping events that are not reportable +- Add a team report example using login aliases +- Migrate to the `SPDX` identifier * Fri Nov 10 2023 Petr Šplíchal - 0.21-1 - Pass plugin configuration to koji `ClientSession` diff --git a/sources b/sources index 9ce62c6..62c2807 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (did-0.21.tar.bz2) = 289524c80127062840e6f3af5ae8cfced890127a1b991c3b34c06551b88c4b438dcd713d871d743d4a62a3658e8c88b88697fc1c2f94037749aa885d979832f2 +SHA512 (did-0.22.tar.bz2) = c2146e9b1e4d3e10c26429a69a81865aab9011157981780c9a62da292c161c554c40d0145cc131fa572355526a6c2e54013816d653a72b51af6e1bdccacc66bd From 9ac57822955d671054b7964f706b0dc4be15d304 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 4 Jun 2025 19:32:54 +0200 Subject: [PATCH 52/55] Rebuilt for Python 3.14 --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 86516b9..38a784e 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.22 -Release: 1%{?dist} +Release: 2%{?dist} Summary: What did you do last week, month, year? License: GPL-2.0-or-later @@ -60,6 +60,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Wed Jun 04 2025 Python Maint - 0.22-2 +- Rebuilt for Python 3.14 + * Tue Jun 03 2025 Petr Šplíchal - 0.22-1 - Implement `transition` stats for the `jira` plugin (#352) - Fix issue with wrong `until` in GitHub search (#376) From d8e16581ebf16c1d6f5eea72e3969428dc3eac4f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 19:16:30 +0000 Subject: [PATCH 53/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 38a784e..12fafce 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.22 -Release: 2%{?dist} +Release: 3%{?dist} Summary: What did you do last week, month, year? License: GPL-2.0-or-later @@ -60,6 +60,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 0.22-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Wed Jun 04 2025 Python Maint - 0.22-2 - Rebuilt for Python 3.14 From fff70b818ced439c0db2e58037328bf22668b9da Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 12:44:14 +0200 Subject: [PATCH 54/55] Rebuilt for Python 3.14.0rc2 bytecode --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 12fafce..810ef4d 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.22 -Release: 3%{?dist} +Release: 4%{?dist} Summary: What did you do last week, month, year? License: GPL-2.0-or-later @@ -60,6 +60,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Fri Aug 15 2025 Python Maint - 0.22-4 +- Rebuilt for Python 3.14.0rc2 bytecode + * Wed Jul 23 2025 Fedora Release Engineering - 0.22-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 605b3ec6977fe74735f4d2764e07633eb0414817 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 12:13:39 +0200 Subject: [PATCH 55/55] Rebuilt for Python 3.14.0rc3 bytecode --- did.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/did.spec b/did.spec index 810ef4d..7f7a8cd 100644 --- a/did.spec +++ b/did.spec @@ -1,6 +1,6 @@ Name: did Version: 0.22 -Release: 4%{?dist} +Release: 5%{?dist} Summary: What did you do last week, month, year? License: GPL-2.0-or-later @@ -60,6 +60,9 @@ export LANG=en_US.utf-8 %license LICENSE %changelog +* Fri Sep 19 2025 Python Maint - 0.22-5 +- Rebuilt for Python 3.14.0rc3 bytecode + * Fri Aug 15 2025 Python Maint - 0.22-4 - Rebuilt for Python 3.14.0rc2 bytecode