From ac8be5da6ff386cf5b63b2ff2948e425536061a2 Mon Sep 17 00:00:00 2001 From: Hope Hadfield Date: Mon, 28 Sep 2026 19:20:37 -0400 Subject: [PATCH 1/3] fix(dynamic-plugins): generate entries with enabled key Use enabled in CLI-generated plugin configuration and documentation examples instead of deprecated disabled. Refs: RHIDP-17293 Assisted-by: gpt-6-sol Signed-off-by: Hope Hadfield --- docs/Intent-Based-CLI.md | 6 +++--- src/commands/dev/command.ts | 2 +- src/commands/package-dynamic-plugins/command.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/Intent-Based-CLI.md b/docs/Intent-Based-CLI.md index b980c35..d783930 100644 --- a/docs/Intent-Based-CLI.md +++ b/docs/Intent-Based-CLI.md @@ -61,7 +61,7 @@ Install it as a dynamic plugin from `rhdh-plugin-export-overlays`: # dynamic-plugins.yaml plugins: - package: 'oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-plugin-auth:bs_1.54.6__0.1.11' - disabled: false + enabled: true pluginConfig: dynamicPlugins: frontend: @@ -93,7 +93,7 @@ To use TechDocs actions (`docs list`, `docs get`, `docs coverage`), install the # dynamic-plugins.yaml plugins: - package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-techdocs-mcp-extras:bs_1.54.6__0.2.6 - disabled: false + enabled: true ``` **Note:** Only `docs list`, `docs get`, and `docs coverage` require this plugin. The `docs build` command uses the standard TechDocs sync endpoint and does not require this plugin. @@ -106,7 +106,7 @@ To use TechDocs search functionality (`search --types techdocs` and `docs search # dynamic-plugins.yaml plugins: - package: 'oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-plugin-search-backend-module-techdocs:bs_1.54.6__0.4.17' - disabled: false + enabled: true ``` **Note:** This is a standard Backstage plugin for indexing TechDocs content in the search backend. diff --git a/src/commands/dev/command.ts b/src/commands/dev/command.ts index eb24973..c9e9051 100644 --- a/src/commands/dev/command.ts +++ b/src/commands/dev/command.ts @@ -799,7 +799,7 @@ export async function updateGeneratedConfig( plugins: [ { package: pluginPackage, - disabled: false, + enabled: true, pullPolicy: 'Always', }, ], diff --git a/src/commands/package-dynamic-plugins/command.ts b/src/commands/package-dynamic-plugins/command.ts index 40f590e..1e666d1 100644 --- a/src/commands/package-dynamic-plugins/command.ts +++ b/src/commands/package-dynamic-plugins/command.ts @@ -302,7 +302,7 @@ COPY . . : `oci://${tag}!${packageName}`; return { package: packageString, - disabled: false, + enabled: true, ...(pluginConfig ? { pluginConfig } : {}), }; }), From 0ea11f02593d17299f8bc170659d5b757dfa6448 Mon Sep 17 00:00:00 2001 From: Hope Hadfield Date: Tue, 29 Sep 2026 11:14:01 -0400 Subject: [PATCH 2/3] docs(changelog): note enabled key in generated plugin config Refs: RHIDP-17293 Signed-off-by: Hope Hadfield --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61b80bd..5b0f370 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [Unreleased] +### Changed + +- **`plugin dev` and `plugin package`:** Generated dynamic-plugin entries now use `enabled: true` instead of the deprecated `disabled: false`. Documentation examples use `enabled` as well ([RHIDP-17293](https://redhat.atlassian.net/browse/RHIDP-17293)). + ### Removed - **`plugin export`:** Backend plugins and modules no longer ship the legacy `dist/configSchema.json` copy. Exports write only `dist/.config-schema.json` and remove a stale legacy copy when re-exporting without `--clean`, matching the RHDH schema loader ([RHIDP-17026](https://redhat.atlassian.net/browse/RHIDP-17026)). From 3c9fb6de212d9cfd5879150a7152ffa2d28137d3 Mon Sep 17 00:00:00 2001 From: Hope Hadfield Date: Tue, 29 Sep 2026 12:06:33 -0400 Subject: [PATCH 3/3] docs(changelog): move CLI config change to Unreleased Refs: RHIDP-17293 Signed-off-by: Hope Hadfield --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23bd174..38f6e96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,14 @@ All notable changes to `@red-hat-developer-hub/cli` are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). The major and minor version are synchronized with the corresponding RHDH release (see [Versioning Strategy](README.md#versioning-strategy)). -## 2.2.0 - 2026-09-28 +## [Unreleased] ### Changed - **`plugin dev` and `plugin package`:** Generated dynamic-plugin entries now use `enabled: true` instead of the deprecated `disabled: false`. Documentation examples use `enabled` as well ([RHIDP-17293](https://redhat.atlassian.net/browse/RHIDP-17293)). +## 2.2.0 - 2026-09-28 + ### Removed - **`plugin export`:** Backend plugins and modules no longer ship the legacy `dist/configSchema.json` copy. Exports write only `dist/.config-schema.json` and remove a stale legacy copy when re-exporting without `--clean`, matching the RHDH schema loader ([RHIDP-17026](https://redhat.atlassian.net/browse/RHIDP-17026)).