From e327d3307b5947e36c38f19cfdad01dac2e855d5 Mon Sep 17 00:00:00 2001 From: Sachin Sahu Date: Wed, 8 Nov 2023 17:55:33 +0000 Subject: [PATCH] sort repo names Signed-off-by: Sachin Sahu --- .../release_notes-2.10.0.md | 390 +++++++++--------- .../release_notes-2.11.0.md | 192 ++++----- .../release_notes-2.8.0.md | 250 +++++------ .../release_notes-2.9.0.md | 274 ++++++------ .../release_notes_component.py | 7 - src/run_releasenotes_check.py | 9 +- 6 files changed, 556 insertions(+), 566 deletions(-) diff --git a/src/release_notes_automation/release_notes-2.10.0.md b/src/release_notes_automation/release_notes-2.10.0.md index aec5256d4f..814aeb39f1 100644 --- a/src/release_notes_automation/release_notes-2.10.0.md +++ b/src/release_notes_automation/release_notes-2.10.0.md @@ -1,10 +1,19 @@

OpenSearch and OpenSearch Dashboards 2.10.0 Release Notes

FEATURES

-

Opensearch KNN

+

Opensearch Alerting

+ +

Opensearch Common Utils

+ +

Opensearch Custom Codecs

@@ -26,11 +35,10 @@
  • make control center index as system index. (#919)
  • -

    Opensearch Common Utils

    +

    Opensearch KNN

    Opensearch ML Common

    @@ -39,6 +47,12 @@
  • Conversations and Generative AI in OpenSearch (#1150)
  • +

    Opensearch Neural Search

    + + +

    Opensearch Security Analytics

    -

    Opensearch Neural Search

    - - +

    ENHANCEMENTS

    -

    Opensearch Alerting

    +

    Opensearch Anomaly Detection

    -

    ENHANCEMENTS

    -

    Opensearch KNN

    +

    Opensearch ML Common

    + + + +

    Opensearch Neural Search

    + + +

    Opensearch Performance Analyzer

    -

    Opensearch ML Common

    - - -

    Opensearch Security

    -

    Opensearch Neural Search

    - - +

    BUG FIXES

    -

    Opensearch Anomaly Detection

    +

    Opensearch Alerting

    -

    BUG FIXES

    - -

    Opensearch KNN

    +

    Opensearch Cross Cluster Replication

    Opensearch Geospatial

    @@ -150,18 +159,10 @@
  • fix intelliJ IDEA gradle sync error (#916)
  • -

    Opensearch SQL

    +

    Opensearch KNN

    Opensearch ML Common

    @@ -176,20 +177,25 @@
  • Fix core package name to address compilation errors (#1157)
  • -

    Opensearch Security Analytics

    +

    Opensearch Reporting

    -

    Opensearch Cross Cluster Replication

    +

    Opensearch SQL

    Opensearch Security

    @@ -205,34 +211,44 @@
  • Fix permissions issues while reading keys in PKCS#1 format (#3289)
  • -

    Opensearch Reporting

    +

    Opensearch Security Analytics

    +

    INFRASTRUCTURE

    +

    Opensearch Alerting

    -

    INFRASTRUCTURE

    +

    Opensearch Anomaly Detection

    -

    Opensearch Geospatial

    + + +

    Opensearch Asynchronous Search

    -

    Opensearch Performance Analyzer

    +

    Opensearch Geospatial

    Opensearch Index Management

    @@ -244,6 +260,13 @@
  • Updates demo certs used in integ tests. (#921)
  • +

    Opensearch ML Common

    + + +

    Opensearch Notifications

    -

    Opensearch SQL

    +

    Opensearch Observability

    -

    Opensearch ML Common

    +

    Opensearch Performance Analyzer

    -

    Opensearch Asynchronous Search

    +

    Opensearch SQL

    -

    Opensearch Observability

    +

    DOCUMENTATION

    + +

    Opensearch Alerting

    -

    Opensearch Anomaly Detection

    +

    Opensearch Asynchronous Search

    -

    Opensearch Alerting

    +

    Opensearch Common Utils

    -

    DOCUMENTATION

    -

    Opensearch Index Management

    -

    Opensearch Common Utils

    +

    Opensearch ML Common

    Opensearch Notifications

    @@ -328,41 +351,33 @@ https://github.com/opensearch-project/sql/pull/2036
  • [Backport 2.x] Fix doctest data by @opensearch-trigger-bot in https://github.com/opensearch-project/sql/pull/1998
  • -

    Opensearch ML Common

    - - -

    Opensearch Security Analytics

    -

    Opensearch Asynchronous Search

    +

    MAINTENANCE

    + +

    Opensearch Alerting

    -

    Opensearch Alerting

    +

    Opensearch Asynchronous Search

    -

    MAINTENANCE

    - -

    Opensearch KNN

    +

    Opensearch Common Utils

    Opensearch Geospatial

    @@ -373,32 +388,29 @@ https://github.com/opensearch-project/sql/pull/2036
  • Version bump for spotlss and apache commons(#400)
  • -

    Opensearch Performance Analyzer

    - - -

    Opensearch Index Management

    -

    Opensearch Common Utils

    +

    Opensearch Job Scheduler

    -

    Opensearch Notifications

    +

    Opensearch KNN

    Opensearch ML Common

    @@ -411,10 +423,26 @@ https://github.com/opensearch-project/sql/pull/2036
  • Bump aws-encryption-sdk-java to fix CVE-2023-33201 (#1309)
  • -

    Opensearch Security Analytics

    +

    Opensearch Notifications

    + +

    Opensearch Performance Analyzer

    + + + +

    Opensearch Reporting

    + +

    Opensearch Security

    @@ -469,46 +497,25 @@ https://github.com/opensearch-project/sql/pull/2036
  • Demo Configuration changes (#3330)
  • -

    Opensearch Reporting

    - - - -

    Opensearch Asynchronous Search

    +

    Opensearch Security Analytics

    -

    Opensearch Job Scheduler

    - - +

    REFACTORING

    Opensearch Alerting

    -

    REFACTORING

    - -

    Opensearch KNN

    +

    Opensearch Anomaly Detection

    Opensearch Geospatial

    @@ -528,23 +535,11 @@ https://github.com/opensearch-project/sql/pull/2036
  • Add primary first preference to all search requests. (#912)
  • -

    Opensearch SQL

    +

    Opensearch KNN

    -
    -

    Full Changelog: https://github.com/opensearch-project/sql/compare/2.3.0.0...v.2.10.0.0

    Opensearch ML Common

    @@ -554,16 +549,6 @@ https://github.com/opensearch-project/sql/pull/2036
  • Fixing some error message handeling (#1222)
  • -

    Opensearch Security Analytics

    - - -

    Opensearch Observability

    -

    Opensearch Anomaly Detection

    +

    Opensearch SQL

    +
    +

    Full Changelog: https://github.com/opensearch-project/sql/compare/2.3.0.0...v.2.10.0.0

    -

    Opensearch Alerting

    +

    Opensearch Security Analytics

    NON-COMPLIANT

    -

    FEATURES/ENHANCEMENTS

    -

    Opensearch Notifications

    -

    ADDED

    Opensearch Job Scheduler

    -

    Opensearch Security Analytics

    - - - -

    Opensearch Alerting

    - - - -

    Opensearch Index Management

    - - - -

    Opensearch KNN

    +

    Opensearch Neural Search

    Opensearch SQL

    @@ -91,12 +81,34 @@
  • Add early rejection from RestHandler for unauthorized requests (#3418)
  • +

    Opensearch Security Analytics

    + + +

    BUG FIXES

    -

    Opensearch Neural Search

    +

    Opensearch Alerting

    + +

    Opensearch Geospatial

    + + + +

    Opensearch Index Management

    + +

    Opensearch ML Common

    @@ -120,30 +132,10 @@
  • Fix prompt passing for Bedrock by passing a single string prompt for Bedrock models. (#1490)
  • -

    Opensearch Security Analytics

    - - - -

    Opensearch Alerting

    - - - -

    Opensearch Geospatial

    - - - -

    Opensearch Index Management

    +

    Opensearch Neural Search

    Opensearch Performance Analyzer

    @@ -175,30 +167,32 @@
  • For read-only tenants filter with allow list (c3e53e2)
  • -

    INFRASTRUCTURE

    -

    Opensearch Security Analytics

    +

    INFRASTRUCTURE

    +

    Opensearch Alerting

    -

    Opensearch Geospatial

    +

    Opensearch Anomaly Detection

    -

    Opensearch Anomaly Detection

    +

    Opensearch Geospatial

    Opensearch Index Management

    @@ -223,14 +217,14 @@
  • Run IT tests with security plugin (#335) #1986 by @MitchellGale in https://github.com/opensearch-project/sql/pull/2022
  • -

    DOCUMENTATION

    -

    Opensearch Security Analytics

    +

    DOCUMENTATION

    +

    Opensearch Alerting

    -

    MAINTENANCE

    - -

    Opensearch Neural Search

    +

    Opensearch Security Analytics

    -

    Opensearch ML Common

    - - +

    MAINTENANCE

    -

    Opensearch Security Analytics

    +

    Opensearch Alerting

    -

    Opensearch Alerting

    +

    Opensearch Asynchronous Search

    Opensearch Index Management

    @@ -305,23 +291,24 @@
  • bump VachaShah/backport from 1.1.4 to 2.2.0 (#515)(#516)
  • -

    Opensearch Reporting

    +

    Opensearch KNN

    -

    Opensearch Asynchronous Search

    +

    Opensearch ML Common

    -

    Opensearch Performance Analyzer

    +

    Opensearch Neural Search

    Opensearch Notifications

    @@ -330,10 +317,17 @@
  • Bump bwc version to 2.11(#763)
  • -

    Opensearch KNN

    +

    Opensearch Performance Analyzer

    + +

    Opensearch Reporting

    + +

    Opensearch Security

    @@ -363,22 +357,14 @@
  • Bump com.nulab-inc:zxcvbn from 1.8.0 to 1.8.2 (#3357)
  • -

    REFACTORING

    - -

    Opensearch ML Common

    - - -

    Opensearch Security Analytics

    +

    REFACTORING

    +

    Opensearch Alerting

    +

    Opensearch ML Common

    + + +

    Opensearch SQL

    +

    Opensearch Security Analytics

    + + +

    EXPERIMENTAL

    Opensearch ML Common

    diff --git a/src/release_notes_automation/release_notes-2.8.0.md b/src/release_notes_automation/release_notes-2.8.0.md index 1e0c71006b..7da54ed3d0 100644 --- a/src/release_notes_automation/release_notes-2.8.0.md +++ b/src/release_notes_automation/release_notes-2.8.0.md @@ -1,22 +1,6 @@

    OpenSearch and OpenSearch Dashboards 2.8.0 Release Notes

    FEATURES

    -

    Opensearch Security Analytics

    - - - -

    Opensearch Common Utils

    - - -

    Opensearch Alerting

    -

    Opensearch Security

    +

    Opensearch Common Utils

    Opensearch Index Management

    @@ -57,16 +37,32 @@
  • REST API for GET,PUT and DELETE (#1482)
  • +

    Opensearch Security

    + + + +

    Opensearch Security Analytics

    + + +

    ENHANCEMENTS

    -

    Opensearch Security

    +

    Opensearch Cross Cluster Replication

    Opensearch KNN

    @@ -96,22 +92,18 @@
  • Refactoring datasource changes to a new module. (#1504)
  • -

    Opensearch Cross Cluster Replication

    +

    Opensearch Security

    BUG FIXES

    -

    Opensearch Security Analytics

    - - -

    Opensearch Alerting

    -

    Opensearch Security

    +

    Opensearch Cross Cluster Replication

    -

    Opensearch Observability

    +

    Opensearch Index Management

    Opensearch ML Common

    @@ -142,18 +136,16 @@
  • Fix model access mode upper case bug (#937)
  • -

    Opensearch Index Management

    +

    Opensearch Notifications

    -

    Opensearch SQL

    +

    Opensearch Observability

    Opensearch Performance Analyzer

    @@ -162,13 +154,6 @@
  • Fix ShardStateCollector which was impacted by core refactoring 445
  • -

    Opensearch Cross Cluster Replication

    - - -

    Opensearch Reporting

    -

    Opensearch Notifications

    +

    Opensearch SQL

    + +

    Opensearch Security

    + + + +

    Opensearch Security Analytics

    + +

    INFRASTRUCTURE

    -

    Opensearch Common Utils

    +

    Opensearch Anomaly Detection

    -

    Opensearch Neural Search

    +

    Opensearch Common Utils

    Opensearch Geospatial

    @@ -211,39 +211,39 @@
  • Disable index refresh for system indices (#773)
  • -

    Opensearch Observability

    +

    Opensearch Neural Search

    -

    Opensearch Anomaly Detection

    +

    Opensearch Notifications

    -

    Opensearch Performance Analyzer

    +

    Opensearch Observability

    -

    Opensearch Notifications

    +

    Opensearch Performance Analyzer

    DOCUMENTATION

    -

    Opensearch Security Analytics

    +

    Opensearch Alerting

    Opensearch Common Utils

    @@ -252,16 +252,16 @@
  • Added 2.8 release notes. (#441)
  • -

    Opensearch Alerting

    +

    Opensearch Index Management

    -

    Opensearch Index Management

    +

    Opensearch Notifications

    Opensearch SQL

    @@ -272,31 +272,13 @@
  • Documentation and other papercuts for datasource api launch (#1530)
  • -

    Opensearch Notifications

    - - - -

    MAINTENANCE

    -

    Opensearch Security Analytics

    -

    Opensearch Common Utils

    - - +

    MAINTENANCE

    Opensearch Alerting

    @@ -308,29 +290,26 @@
  • Compile fix - Strings package change. (#924)
  • -

    Opensearch Security

    - - - -

    Opensearch Geospatial

    +

    Opensearch Asynchronous Search

    -

    Opensearch Observability

    +

    Opensearch Common Utils

    -

    Opensearch ML Common

    +

    Opensearch Geospatial

    Opensearch Index Management

    @@ -349,22 +328,22 @@
  • Bumping JS main BWC test version for sample extension plugin to 2.8 (#371)
  • -

    Opensearch SQL

    +

    Opensearch ML Common

    -

    Opensearch Asynchronous Search

    +

    Opensearch Notifications

    + +

    Opensearch Observability

    + +

    Opensearch Performance Analyzer

    @@ -386,10 +365,31 @@
  • Increment version to 2.8.0-SNAPSHOT (#688)
  • -

    Opensearch Notifications

    +

    Opensearch SQL

    + +

    Opensearch Security

    + + + +

    Opensearch Security Analytics

    + +

    REFACTORING

    diff --git a/src/release_notes_automation/release_notes-2.9.0.md b/src/release_notes_automation/release_notes-2.9.0.md index c75e010adf..bd51bc38b8 100644 --- a/src/release_notes_automation/release_notes-2.9.0.md +++ b/src/release_notes_automation/release_notes-2.9.0.md @@ -1,12 +1,16 @@

    OpenSearch and OpenSearch Dashboards 2.9.0 Release Notes

    FEATURES

    -

    Opensearch Security Analytics

    +

    Opensearch Alerting

    Opensearch Common Utils

    @@ -21,16 +25,11 @@
  • Implemented support for configuring a cluster metrics monitor to call cat/indices, and cat/shards. (#479)
  • -

    Opensearch Alerting

    +

    Opensearch KNN

    Opensearch ML Common

    @@ -53,35 +52,16 @@
  • Add spark connector (#1780)
  • -

    Opensearch KNN

    +

    Opensearch Security Analytics

    ENHANCEMENTS

    -

    Opensearch Performance Analyzer

    - - - -

    Opensearch Security

    - - -

    Opensearch Anomaly Detection

    +

    Opensearch Performance Analyzer

    + + +

    Opensearch SQL

    -

    BUG FIXES

    - -

    Opensearch Performance Analyzer

    - - - -

    Opensearch Security Analytics

    - - - -

    Opensearch Reporting

    +

    Opensearch Security

    -

    Opensearch Common Utils

    - - +

    BUG FIXES

    Opensearch Alerting

    @@ -151,6 +126,12 @@
  • Fix alert constructor with noop trigger to use execution id and workflow id. (#994)
  • +

    Opensearch Common Utils

    + + +

    Opensearch ML Common

    -

    Opensearch SQL

    +

    Opensearch Neural Search

    -

    Opensearch Neural Search

    +

    Opensearch Performance Analyzer

    -

    INFRASTRUCTURE

    +

    Opensearch Reporting

    -

    Opensearch Notifications

    + + +

    Opensearch SQL

    -

    Opensearch Performance Analyzer

    +

    Opensearch Security Analytics

    +

    INFRASTRUCTURE

    +

    Opensearch Anomaly Detection

    +

    Opensearch Notifications

    + + + +

    Opensearch Performance Analyzer

    + + +

    Opensearch SQL

    -

    Opensearch Anomaly Detection

    +

    Opensearch ML Common

    -

    Opensearch Alerting

    +

    Opensearch Notifications

    -

    Opensearch ML Common

    +

    Opensearch SQL

    -

    Opensearch SQL

    +

    Opensearch Security Analytics

    MAINTENANCE

    -

    Opensearch Notifications

    +

    Opensearch Alerting

    + +

    Opensearch Asynchronous Search

    + + + +

    Opensearch Common Utils

    + +

    Opensearch Geospatial

    @@ -288,6 +301,28 @@
  • Increment version to 2.9.0-SNAPSHOT (#329)
  • +

    Opensearch ML Common

    + + + +

    Opensearch Neural Search

    + + + +

    Opensearch Notifications

    + + +

    Opensearch Performance Analyzer

    +

    Opensearch Reporting

    + + +

    Opensearch Security

    -

    Opensearch Reporting

    - - - -

    Opensearch Common Utils

    - - +

    REFACTORING

    Opensearch Alerting

    - -

    Opensearch ML Common

    - - - -

    Opensearch Neural Search

    - - -

    Opensearch Asynchronous Search

    +

    Opensearch Common Utils

    -

    REFACTORING

    -

    Opensearch Geospatial

    -

    Opensearch Security Analytics

    - - - -

    Opensearch Common Utils

    - - - -

    Opensearch Alerting

    +

    Opensearch SQL

    -

    Opensearch SQL

    +

    Opensearch Security Analytics

    diff --git a/src/release_notes_workflow/release_notes_component.py b/src/release_notes_workflow/release_notes_component.py index bb3c87c990..5b748bbb74 100644 --- a/src/release_notes_workflow/release_notes_component.py +++ b/src/release_notes_workflow/release_notes_component.py @@ -26,7 +26,6 @@ def filename(self) -> str: @property def path(self) -> str: release_notes_path = os.path.join(self.root, "release-notes") - # print("ReleaseNotesComponent path:", release_notes_path) return release_notes_path # combine path with the file in files_in_path such that it ends with the filename @@ -41,12 +40,10 @@ def full_path(self) -> str: def path_exists(self) -> bool: path_exists = os.path.exists(self.path) - # print("ReleaseNotesComponent path_exists:", path_exists) return path_exists def exists(self) -> bool: files_in_path = os.listdir(self.path) - # print("ReleaseNotesComponent files_in_path:", files_in_path) return self.path_exists() and any(fname.endswith(self.filename) for fname in files_in_path) @@ -55,7 +52,6 @@ class ReleaseNotesOpenSearch(ReleaseNotesComponent): @property def filename(self) -> str: release_notes_filename = f'.release-notes-{self.build_version}.md' - # print("ReleaseNotesOpenSearch filename:", release_notes_filename) return release_notes_filename @@ -64,7 +60,6 @@ class ReleaseNotesOpenSearchPlugin(ReleaseNotesComponent): @property def filename(self) -> str: release_notes_filename = f'.release-notes-{self.build_version}.0.md' - # print("ReleaseNotesOpenSearchPlugin filename:", release_notes_filename) return release_notes_filename @@ -73,8 +68,6 @@ class ReleaseNotesComponents: @classmethod def from_component(self, component: InputComponentFromSource, build_version: str, root: str) -> ReleaseNotesComponent: if component.name == 'OpenSearch' or component.name == 'OpenSearch-Dashboards': - # print("ReleaseNotesComponents: Creating ReleaseNotesOpenSearch") return ReleaseNotesOpenSearch(component, build_version, root) else: - # print("ReleaseNotesComponents: Creating ReleaseNotesOpenSearchPlugin") return ReleaseNotesOpenSearchPlugin(component, build_version, root) diff --git a/src/run_releasenotes_check.py b/src/run_releasenotes_check.py index 0fd231c82d..45796490e5 100644 --- a/src/run_releasenotes_check.py +++ b/src/run_releasenotes_check.py @@ -43,7 +43,7 @@ def format_component_name_from_url(url) -> str: end_index = url.find(".release-notes", start_index) if end_index == -1: raise ValueError("'.release-notes' not found after 'release-notes/'") - component_name = url[start_index + len("release-notes/") : end_index] + component_name = url[start_index + len("release-notes/"): end_index] formatted_name = " ".join(word.capitalize() for word in re.split(r"[-.]", component_name)) return capitalize_acronyms(formatted_name) @@ -134,7 +134,7 @@ def create_urls_file_if_not_exists() -> None: if i == len(headings) - 1: content_to_end = content[content_start:] else: - content_to_end = content[content_start : content.find(headings[i + 1])] + content_to_end = content[content_start: content.find(headings[i + 1])] content_to_end = content_to_end.replace(f"### {heading}", "").lstrip() parts = content_to_end.split("*", 1) if len(parts) == 2: @@ -144,11 +144,8 @@ def create_urls_file_if_not_exists() -> None: if len(content_to_end) > 0: content_to_end = "* " + content_to_end plugin_data[plugin_name][heading].append(content_to_end) - # print(plugin_data[plugin_name][heading]) + plugin_data = dict(sorted(plugin_data.items())) print("Compilation complete.") - # print("Unique Headings:") - # for heading in sorted(unique_headings): - # print(heading) # Markdown renderer markdown = mistune.create_markdown()