diff --git a/.gitignore b/.gitignore index 03e80db..56386dd 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,19 @@ /libreport-2.14.0.tar.gz /libreport-2.15.1.tar.gz /libreport-2.15.2.tar.gz +/libreport-2.16.0.tar.gz +/libreport-2.17.0.tar.gz +/libreport-2.17.1.tar.gz /libreport-2.17.2.tar.gz /libreport-2.17.3.tar.gz /libreport-2.17.4.tar.gz +/libreport-2.17.5.tar.gz +/libreport-2.17.6.tar.gz +/libreport-2.17.7.tar.gz +/libreport-2.17.8.tar.gz +/libreport-2.17.9.tar.gz +/libreport-2.17.10.tar.gz +/libreport-2.17.11.tar.gz +/libreport-2.17.13.tar.gz +/libreport-2.17.14.tar.gz +/libreport-2.17.15.tar.gz diff --git a/.packit.yml b/.packit.yml index b82be50..115dab4 100644 --- a/.packit.yml +++ b/.packit.yml @@ -1,10 +1,14 @@ specfile_path: libreport.spec synced_files: - - .packit.yml - - libreport.spec +- .packit.yml +- libreport.spec upstream_package_name: libreport upstream_project_url: https://github.com/abrt/libreport downstream_package_name: libreport + +# No extra dependencies are necessary to build the SRPM. +srpm_build_deps: [] + jobs: - job: propose_downstream trigger: release diff --git a/0001-reporter-bugzilla-Use-API-key-for-authentication.patch b/0001-reporter-bugzilla-Use-API-key-for-authentication.patch deleted file mode 100644 index 00aedad..0000000 --- a/0001-reporter-bugzilla-Use-API-key-for-authentication.patch +++ /dev/null @@ -1,401 +0,0 @@ -From 34fce86c0116ef2c888dfe7e474073b158bca8b3 Mon Sep 17 00:00:00 2001 -From: Michal Srb -Date: Mon, 21 Feb 2022 00:49:51 +0100 -Subject: [PATCH] [reporter-bugzilla] Use API key for authentication - -Following change will take effect on February 28 2022: - -""" -Applications making API calls to Bugzilla may no longer -authenticate using passwords or supplying API keys -in call parameters. Instead, API keys must be supplied -in the Authorization header. -""" - -See the announcement for more details: -https://listman.redhat.com/archives/bugzilla-announce-list/2022-February/msg00000.html - -Signed-off-by: Michal Srb ---- - doc/report_Bugzilla.conf.txt | 7 +-- - doc/reporter-bugzilla.txt | 14 ++--- - src/gtk-helpers/secrets.c | 2 +- - src/plugins/bugzilla.conf | 7 +-- - src/plugins/report_Bugzilla.conf | 3 +- - src/plugins/report_Bugzilla.xml.in.in | 13 ++-- - src/plugins/reporter-bugzilla.c | 87 ++++++++------------------- - src/plugins/rhbz.c | 15 +++++ - src/plugins/rhbz.h | 2 + - tests/bugzilla_plugin.at.in | 10 +-- - 10 files changed, 61 insertions(+), 99 deletions(-) - -diff --git a/doc/report_Bugzilla.conf.txt b/doc/report_Bugzilla.conf.txt -index ea500ae6..ce7df911 100644 ---- a/doc/report_Bugzilla.conf.txt -+++ b/doc/report_Bugzilla.conf.txt -@@ -12,11 +12,8 @@ This configuration file contains values for options defined in - - Configuration file lines should have 'PARAM = VALUE' format. The parameters are: - --'Bugzilla_Login':: -- Login to Bugzilla account. -- --'Bugzilla_Password':: -- Password to Bugzilla account. -+'Bugzilla_APIKey':: -+ API key for authentication to Bugzilla account. - - 'Bugzilla_BugzillaURL':: - Bugzilla HTTP(S) address. (default: https://bugzilla.redhat.com) -diff --git a/doc/reporter-bugzilla.txt b/doc/reporter-bugzilla.txt -index 2aee41e1..601d2a8f 100644 ---- a/doc/reporter-bugzilla.txt -+++ b/doc/reporter-bugzilla.txt -@@ -57,11 +57,8 @@ and to user's local ~/.config/libreport/bugzilla.conf. - Configuration file lines should have 'PARAM = VALUE' format. The parameters are: - User's local configuration overrides the system wide configuration. - --'Login':: -- Login to Bugzilla account. -- --'Password':: -- Password to Bugzilla account. -+'APIKey':: -+ API key for authentication to Bugzilla account. - - 'BugzillaURL':: - Bugzilla HTTP(S) address. (default: https://bugzilla.redhat.com) -@@ -175,11 +172,8 @@ ENVIRONMENT VARIABLES - Environment variables take precedence over values provided in - the configuration file. - --'Bugzilla_Login':: -- Login to Bugzilla account. -- --'Bugzilla_Password':: -- Password to Bugzilla account. -+'Bugzilla_APIKey':: -+ API key for authentication to Bugzilla account. - - 'Bugzilla_BugzillaURL':: - Bugzilla HTTP(S) address. (default: https://bugzilla.redhat.com) -diff --git a/src/gtk-helpers/secrets.c b/src/gtk-helpers/secrets.c -index 65decaad..55c6ee51 100644 ---- a/src/gtk-helpers/secrets.c -+++ b/src/gtk-helpers/secrets.c -@@ -66,7 +66,7 @@ - - For example, "report_Bugzilla" item will have the lookup attribute - like ("libreportEventConfig", "report_Bugzilla") and the secret value -- like ("Bugzilla_URL=https://bugzilla.redhat.com\0Bugzilla_Login=foo\0") -+ like ("Bugzilla_URL=https://bugzilla.redhat.com\0Bugzilla_APIKey=foo\0") - - - -diff --git a/src/plugins/bugzilla.conf b/src/plugins/bugzilla.conf -index a7727392..a81348f8 100644 ---- a/src/plugins/bugzilla.conf -+++ b/src/plugins/bugzilla.conf -@@ -7,10 +7,9 @@ - # yes means that ssl certificates will be checked - SSLVerify = yes - --# your login has to exist, if you don't have any, please create one --Login = --# your password --Password = -+# Bugzilla API key. -+# You can set up an API key by using the "API Key" tab in the Preferences pages. -+APIKey = - - # SELinux guys almost always move filed bugs from component - # selinux-policy to another component. -diff --git a/src/plugins/report_Bugzilla.conf b/src/plugins/report_Bugzilla.conf -index f1a77f50..c9bfdd11 100644 ---- a/src/plugins/report_Bugzilla.conf -+++ b/src/plugins/report_Bugzilla.conf -@@ -1,4 +1,3 @@ - Bugzilla_BugzillaURL = https://bugzilla.redhat.com --Bugzilla_Login = --Bugzilla_Password = -+Bugzilla_APIKey = - Bugzilla_SSLVerify = yes -diff --git a/src/plugins/report_Bugzilla.xml.in.in b/src/plugins/report_Bugzilla.xml.in.in -index d6078a18..966d97f6 100644 ---- a/src/plugins/report_Bugzilla.xml.in.in -+++ b/src/plugins/report_Bugzilla.xml.in.in -@@ -13,16 +13,11 @@ - yes - - -- -- -