You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2026/03/31 22:46:00 UTC
(pulsar-site) 10/11: Add pip handling to release notes script
This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
commit d6924f2c7c5a6602abb2426dd33e331b9df1b018
Author: Lari Hotari <lh...@users.noreply.github.com>
AuthorDate: Wed Apr 1 01:13:31 2026 +0300
Add pip handling to release notes script
---
scripts/release_notes_reorder_script.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/scripts/release_notes_reorder_script.py b/scripts/release_notes_reorder_script.py
index 08cc5d49dd3..27358c610d0 100755
--- a/scripts/release_notes_reorder_script.py
+++ b/scripts/release_notes_reorder_script.py
@@ -44,6 +44,7 @@ class ReleaseItem:
class PulsarReleaseReorderer:
def __init__(self):
self.sections = [
+ "Approved PIPs",
"Library updates",
"Broker",
"Client",
@@ -109,6 +110,9 @@ class PulsarReleaseReorderer:
if "upgrade" in item.full_line.lower():
return 'Library updates'
+ if "[pip]" in item.full_line.lower():
+ return 'Approved PIPs'
+
# Use component-based heuristics
if item.component:
component_to_section = {