From 8bd39594b17353be057b85b24730958dec0a2e71 Mon Sep 17 00:00:00 2001
From: Tomas Kopecek <tkopecek@redhat.com>
Date: Jan 12 2023 10:09:49 +0000
Subject: Koji 1.31.1 release notes


Related: https://pagure.io/koji/issue/3652

---

diff --git a/docs/source/release_notes/release_notes.rst b/docs/source/release_notes/release_notes.rst
index 0eb45d2..974474a 100644
--- a/docs/source/release_notes/release_notes.rst
+++ b/docs/source/release_notes/release_notes.rst
@@ -5,6 +5,7 @@ Release Notes
 .. toctree::
     :maxdepth: 1
 
+    release_notes_1.31.1
     release_notes_1.31
     release_notes_1.30.1
     release_notes_1.30
diff --git a/docs/source/release_notes/release_notes_1.31.1.rst b/docs/source/release_notes/release_notes_1.31.1.rst
new file mode 100644
index 0000000..a6c94d6
--- /dev/null
+++ b/docs/source/release_notes/release_notes_1.31.1.rst
@@ -0,0 +1,103 @@
+
+Koji 1.31.1 Release notes
+=========================
+
+All changes can be found in `the roadmap <https://pagure.io/koji/roadmap/1.31.1/>`_.
+Most important changes are listed here.
+
+
+Migrating from Koji 1.31
+------------------------
+
+No special actions are needed.
+
+Security Fixes
+--------------
+
+None
+
+
+Client Changes
+--------------
+**Support deleted build tag in taskinfo**
+
+| PR: https://pagure.io/koji/pull-request/3604
+
+As sidetag plugin with garbage-collection is now widely used,
+people are often querying tasks which refers to already deleted
+tags. This is one of the places which were not behaving correctly.
+
+Builder Changes
+---------------
+**Use old-style checkout for shortened refs**
+
+| PR: https://pagure.io/koji/pull-request/3630
+
+In 1.31 we've introduced patch for checking out GIT content from
+any ref. Nevertheless, it broke dealing with short refs. Fixed
+now.
+
+System Changes
+--------------
+**Create DeleteProcessor class and use it**
+
+| PR: https://pagure.io/koji/pull-request/3601
+
+Continuing work on moving from raw SQL.
+
+- PR#3611: Replace deprecated inspect methods
+
+Python 3.11 is dropping some older inspect API we were using.
+
+**Fix different PG capabilities in schema**
+
+| PR: https://pagure.io/koji/pull-request/3615
+
+1.31 introduced new index which is supported only in postgres 12.
+This resulted in problems with installation on older systems.
+We've fixed update script to behave accordingly to installed
+postgres. Also updated :doc:`../../supported_platforms` to encourage PG 12
+usage.
+
+Web
+---
+**Fix target link in taskinfo page**
+
+| PR: https://pagure.io/koji/pull-request/3644
+
+Simple typo breaking link to target.
+
+**Change canceled icon color from red to orange**
+
+| PR: https://pagure.io/koji/pull-request/3607
+
+Unify default CSS.
+
+Plugins
+-------
+**Kiwi: fix typo preventing building docker images**
+
+| PR: https://pagure.io/koji/pull-request/3620
+
+1.30 introduced bug preventing correct architecture parsing.
+
+**Kiwi: upload log for failed tasks**
+
+| PR: https://pagure.io/koji/pull-request/3598
+
+Image root log is now uploaded incrementally and uploaded also for
+failing tasks.
+
+Documentation
+-------------
+**Better wording in listTagged docstring**
+
+| PR: https://pagure.io/koji/pull-request/3639
+
+**Typo in CLI add-tag-inheritance error msg**
+
+| PR: https://pagure.io/koji/pull-request/3641
+
+**Increase unit tests**
+
+| PR: https://pagure.io/koji/pull-request/3650
diff --git a/koji.spec b/koji.spec
index 7dcd749..e68edc6 100644
--- a/koji.spec
+++ b/koji.spec
@@ -83,7 +83,7 @@
 %define release %{baserelease}
 %endif
 Name: koji
-Version: 1.31.0
+Version: 1.31.1
 Release: %{release}%{?dist}
 License: LGPL-2.1-only and GPL-2.0-or-later
 # the included arch lib from yum's rpmUtils is GPLv2+
@@ -648,6 +648,20 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Mon Jan  9 2023  Tomas Kopecek <tkopecek at redhat.com> - 1.31.1-1
+- PR#3644: www: fix target link in taskinfo page
+- PR#3650: Add test cases for help
+- PR#3639: doc: better wording in listTagged
+- PR#3598: kiwi: upload log for failed tasks
+- PR#3641: Fix typo in CLI add-tag-inheritance error msg
+- PR#3630: Use old-style checkout for shortened refs
+- PR#3620: fix typo preventing building docker images
+- PR#3607: Change canceled icon color from red to orange
+- PR#3611: Replace deprecated inspect methods
+- PR#3601: Create DeleteProcessor class and use it
+- PR#3604: Support deleted build tag in taskinfo.
+- PR#3615: fix different PG capabilities in schema
+
 * Mon Nov  7 2022  Tomas Kopecek <tkopecek at redhat.com> - 1.31.0-1
 - PR#3407: build policy
 - PR#3417: save source for wrapperRPM
diff --git a/koji/_version.py b/koji/_version.py
index a7b6aaa..0e999e8 100644
--- a/koji/_version.py
+++ b/koji/_version.py
@@ -1,2 +1,2 @@
-__version_info__ = (1, 31, 0)
+__version_info__ = (1, 31, 1)
 __version__ = '.'.join([str(x) for x in __version_info__])

