public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/fedpkg] 1.48-1: Bacporting display_name added to bodhi.template
Date: Mon, 10 Aug 2026 21:45:47 GMT [thread overview]
Message-ID: <178639834725.1.5808548550108677383.rpms-fedpkg-77d79289e9ff@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/fedpkg
Branch : 1.48-1
Commit : 77d79289e9ff50613c6fb760d1f15866e2a98e6f
Author : Ondřej Nosek <onosek@redhat.com>
Date : 2019-08-21T08:49:32+00:00
Stats : +57/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/fedpkg/c/77d79289e9ff50613c6fb760d1f15866e2a98e6f?branch=1.48-1
Log:
Bacporting display_name added to bodhi.template
Signed-off-by: Ondřej Nosek <onosek@redhat.com>
---
diff --git a/0006-display_name-added-to-bodhi.template.patch b/0006-display_name-added-to-bodhi.template.patch
new file mode 100644
index 0000000..4262cad
--- /dev/null
+++ b/0006-display_name-added-to-bodhi.template.patch
@@ -0,0 +1,50 @@
+From 6797e34e97cd0636d4becd8e3d77e9b41b34685b Mon Sep 17 00:00:00 2001
+From: Ondrej Nosek <onosek@redhat.com>
+Date: Thu, 15 Aug 2019 14:42:31 +0200
+Subject: [PATCH] display_name added to bodhi.template
+
+User is able to set 'display_name' during bodhi update operation which
+allows the user to customize the name of the update.
+
+Signed-off-by: Ondrej Nosek <onosek@redhat.com>
+---
+ fedpkg/cli.py | 3 +++
+ test/test_cli.py | 1 +
+ 2 files changed, 4 insertions(+)
+
+diff --git a/fedpkg/cli.py b/fedpkg/cli.py
+index e584e51..b631c94 100644
+--- a/fedpkg/cli.py
++++ b/fedpkg/cli.py
+@@ -55,6 +55,8 @@ bugs=%(bugs)s
+ # This is required for security updates.
+ # severity=unspecified
+
++display_name=
++
+ %(changelog)s
+ # Here is where you give an explanation of your update.
+ # Content can span multiple lines, as long as they are indented deeper than
+@@ -630,6 +632,7 @@ targets to build the package for a particular stream.
+ bodhi_args = {
+ 'nvr': nvr,
+ 'bugs': six.u(''),
++ 'display_name': six.u(''),
+ 'descr': six.u(
+ 'Here is where you give an explanation of your update.'),
+ 'request': self.args.request,
+diff --git a/test/test_cli.py b/test/test_cli.py
+index 58dd0d9..3d6bade 100644
+--- a/test/test_cli.py
++++ b/test/test_cli.py
+@@ -180,6 +180,7 @@ class TestUpdate(CliTestCase):
+ expected_data = {
+ 'autokarma': 'True',
+ 'bugs': '1000,2000',
++ 'display_name': six.u(''),
+ 'builds': ' {0} '.format(self.mock_nvr.return_value),
+ 'close_bugs': True,
+ 'request': 'testing',
+--
+2.21.0
+
diff --git a/fedpkg.spec b/fedpkg.spec
index 7c3a13b..3602d6f 100644
--- a/fedpkg.spec
+++ b/fedpkg.spec
@@ -5,7 +5,7 @@
Name: fedpkg
Version: 1.37
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Fedora utility for working with dist-git
License: GPLv2+
@@ -18,6 +18,7 @@ Patch1: 0002-Support-for-epel-playground-branch-requests.patch
Patch2: 0003-Allow-epel-playground-requests-for-epel8-and-newer.patch
Patch3: 0004-Add-epel-playground-into-rpmdefines.patch
Patch4: 0005-Use-package.cfg-for-epel8-branches.patch
+Patch5: 0006-display_name-added-to-bodhi.template.patch
# fedpkg command switched to python3 on Fedora 29 and RHEL > 7:
%if 0%{?fedora} > 28 || 0%{?rhel} > 7
@@ -78,7 +79,8 @@ Requires: python2-distro
Requires: python2-fedora
Requires: python2-openidc-client >= 0.6.0
-%else # python3
+# python3
+%else
# This package redefines __python and can use the python_ macros
%global __python %{__python3}
@@ -168,6 +170,9 @@ nosetests
%changelog
+* Wed Aug 21 2019 Ondřej Nosek <onosek@redhat.com> - 1.37-9
+- Backport: display_name added to bodhi.template
+
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.37-8
- Rebuilt for Python 3.8
reply other threads:[~2026-08-10 21:45 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=178639834725.1.5808548550108677383.rpms-fedpkg-77d79289e9ff@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