public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/rpkg] 1.70-1: Patch: ca cert was removed on koji-1.24.0
Date: Mon, 10 Aug 2026 21:44:17 GMT	[thread overview]
Message-ID: <178639825746.1.6912138277099691173.rpms-rpkg-f8c39b0a1f07@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rpkg
            Branch : 1.70-1
            Commit : f8c39b0a1f077fc0dc3d9f987159369210834a40
            Author : Ondřej Nosek <onosek@redhat.com>
            Date   : 2021-02-24T11:09:34+00:00
            Stats  : +56/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpkg/c/f8c39b0a1f077fc0dc3d9f987159369210834a40?branch=1.70-1

            Log:
            Patch: ca cert was removed on koji-1.24.0

Signed-off-by: Ondřej Nosek <onosek@redhat.com>

---
diff --git a/0002-ca-cert-was-removed-on-koji-1.24.0.patch b/0002-ca-cert-was-removed-on-koji-1.24.0.patch
new file mode 100644
index 0000000..cc93a16
--- /dev/null
+++ b/0002-ca-cert-was-removed-on-koji-1.24.0.patch
@@ -0,0 +1,51 @@
+From a7521f9ee9627c80282fa59fffd8a43d8af94fb3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= <sergio@serjux.com>
+Date: Tue, 23 Feb 2021 22:12:27 +0000
+Subject: [PATCH] ca cert was removed on koji-1.24.0
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Sérgio M. Basto <sergio@serjux.com>
+---
+ pyrpkg/__init__.py     | 2 +-
+ tests/test_commands.py | 3 +--
+ 2 files changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/pyrpkg/__init__.py b/pyrpkg/__init__.py
+index a3f5edd..126f0db 100644
+--- a/pyrpkg/__init__.py
++++ b/pyrpkg/__init__.py
+@@ -276,7 +276,7 @@ class Commands(object):
+         if authtype == 'ssl' or os.path.isfile(koji_config['cert']) and authtype is None:
+             try:
+                 session.ssl_login(koji_config['cert'],
+-                                  koji_config['ca'],
++                                  None,
+                                   koji_config['serverca'],
+                                   proxyuser=self.runas)
+             except Exception as e:
+diff --git a/tests/test_commands.py b/tests/test_commands.py
+index c0ac6b3..e82a5d2 100644
+--- a/tests/test_commands.py
++++ b/tests/test_commands.py
+@@ -625,7 +625,6 @@ class TestLoginKojiSession(CommandTestCase):
+             'authtype': 'ssl',
+             'server': 'http://localhost/kojihub',
+             'cert': '/path/to/cert',
+-            'ca': '/path/to/ca',
+             'serverca': '/path/to/serverca',
+         }
+         self.session = Mock()
+@@ -649,7 +648,7 @@ class TestLoginKojiSession(CommandTestCase):
+ 
+         self.session.ssl_login.assert_called_once_with(
+             self.koji_config['cert'],
+-            self.koji_config['ca'],
++            None,
+             self.koji_config['serverca'],
+             proxyuser=None,
+         )
+-- 
+2.29.2
+

diff --git a/rpkg.spec b/rpkg.spec
index 88fee04..5c2f049 100644
--- a/rpkg.spec
+++ b/rpkg.spec
@@ -1,6 +1,6 @@
 Name:           rpkg
 Version:        1.62
-Release:        2%{?dist}
+Release:        3%{?dist}
 
 Summary:        Python library for interacting with rpm+git
 License:        GPLv2+ and LGPLv2
@@ -18,6 +18,7 @@ Source0:        https://pagure.io/releases/rpkg/%{name}-%{version}.tar.gz
 # remove rpm-py-installer for now.
 Patch0:         remove-koji-and-rpm-py-installer-from-requires.patch
 Patch1:         0001-Do-not-use-pytest-related-dependencies-temporarily.patch
+Patch2:		0002-ca-cert-was-removed-on-koji-1.24.0.patch
 
 # RHEL7 is currently the only release that is built for Python 2.
 %if 0%{?fedora} || 0%{?rhel} > 7
@@ -236,6 +237,9 @@ example_cli_dir=$RPM_BUILD_ROOT%{_datadir}/%{name}/examples/cli
 
 
 %changelog
+* Wed Feb 24 2021 Ondřej Nosek <onosek@redhat.com> - 1.62-3
+- Patch: ca cert was removed on koji-1.24.0
+
 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.62-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
 

                 reply	other threads:[~2026-08-10 21:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178639825746.1.6912138277099691173.rpms-rpkg-f8c39b0a1f07@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox