[PR #977] [MERGED] fix: Add interpolation and [[COMPOSE_COMMAND]] validation for compose_cmd_wrapper #23275

Closed
opened 2026-06-13 07:51:52 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/moghtech/komodo/pull/977
Author: @ChanningHe
Created: 11/12/2025
Status: Merged
Merged: 11/12/2025
Merged by: @mbecker20

Base: 2.0.0Head: stack-compose-cmd-wrapper-fix-interpolation


📝 Commits (1)

  • a9c3a4a validate compose_cmd_wrapper for required placeholder and add interpolation support

📊 Changes

2 files changed (+8 additions, -0 deletions)

View changed files

📝 bin/periphery/src/api/compose/mod.rs (+7 -0)
📝 lib/interpolate/src/lib.rs (+1 -0)

📄 Description

Changes

Interpolation (lib/interpolate/src/lib.rs):

  • Added compose_cmd_wrapper to interpolate_stack() to support variable/secret interpolation

Validation (bin/periphery/src/api/compose/mod.rs):

  • Added check to ensure [[COMPOSE_COMMAND]] placeholder exists before execution
  • Returns clear error message if placeholder is missing

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/moghtech/komodo/pull/977 **Author:** [@ChanningHe](https://github.com/ChanningHe) **Created:** 11/12/2025 **Status:** ✅ Merged **Merged:** 11/12/2025 **Merged by:** [@mbecker20](https://github.com/mbecker20) **Base:** `2.0.0` ← **Head:** `stack-compose-cmd-wrapper-fix-interpolation` --- ### 📝 Commits (1) - [`a9c3a4a`](https://github.com/moghtech/komodo/commit/a9c3a4aa0812905fc35f9c4c4c2ae9affd935f3f) validate compose_cmd_wrapper for required placeholder and add interpolation support ### 📊 Changes **2 files changed** (+8 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `bin/periphery/src/api/compose/mod.rs` (+7 -0) 📝 `lib/interpolate/src/lib.rs` (+1 -0) </details> ### 📄 Description ## Changes **Interpolation** (`lib/interpolate/src/lib.rs`): - Added `compose_cmd_wrapper` to `interpolate_stack()` to support variable/secret interpolation **Validation** (`bin/periphery/src/api/compose/mod.rs`): - Added check to ensure `[[COMPOSE_COMMAND]]` placeholder exists before execution - Returns clear error message if placeholder is missing --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-13 07:51:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#23275