Resources can now be marked as templates, and they will be suggested as a the starting point when creating a new resource. You can control the inclusion of templates in the tables, and you can control the template inclusion behavior in the ListResources apis. The behavior is similar to the Gitea repo templates feature. This allows you to configure multiple "defaults" to use as starting points when creating more Resources like Stacks, satisfying requests such as #579.
Container port display / link
If a container defines port mappings, the host ports used will now be displayed in the container tables, as well as the container headers, Stack service tables / headers, and Deployment headers.
Hovering over the port will reveal additional information about the port binding, such as which network interfaces / protocols are involved. Clicking on the port will link to $server_address:$port, using the server address which Core uses to connect to the server.
Resource
Stack / Build: When using a Linked Repo, will now correctly write the environment configured on Repo, and also run Repo On Clone / On Pull commands. Interpolation is now correctly applied.
Misc
Includes pretty extensive refactors standardizing interpolation and log sanitization, keeping the code simpler and avoiding errors.
Refactor internal git library and usage, separating out library level handling of environment / on clone / on pull execution out to just be part of Periphery binary.
Fix /GetUser endpoint spam on token expiry in #618 by @huzky-v
🔄 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/604
**Author:** [@mbecker20](https://github.com/mbecker20)
**Created:** 6/16/2025
**Status:** ✅ Merged
**Merged:** 6/24/2025
**Merged by:** [@mbecker20](https://github.com/mbecker20)
**Base:** `main` ← **Head:** `1.18.4`
---
### 📝 Commits (10+)
- [`35017ce`](https://github.com/moghtech/komodo/commit/35017ce215bdf67585646c4435b7d290c4f461cb) update easy deps
- [`382fe00`](https://github.com/moghtech/komodo/commit/382fe0061dcdbfe51ce032fb944a1c4b9595df99) update otel deps
- [`12623d5`](https://github.com/moghtech/komodo/commit/12623d59ed514c659bd96e8b00af05fd63a075c3) implement template in types + update resource meta
- [`22b1a73`](https://github.com/moghtech/komodo/commit/22b1a736ce792172ac5ae8b96b7f720fd465d37f) ts types
- [`82f4e53`](https://github.com/moghtech/komodo/commit/82f4e5370718ad2f2f6174edaec3b90484e04b46) dev-2
- [`193e6a8`](https://github.com/moghtech/komodo/commit/193e6a8404ba2f2ba811a3c8b6b51047dc18c90e) dev-3 default template query is include
- [`61ce1fe`](https://github.com/moghtech/komodo/commit/61ce1fe72f10d2083929628e1036144a9596f15b) Toggle resource is template in resource header
- [`862774d`](https://github.com/moghtech/komodo/commit/862774def942b1833d91d035f7872985045c9ae1) dev-4 support CopyServer
- [`b16def5`](https://github.com/moghtech/komodo/commit/b16def5aa2b330236119b35b5ed5ff5ce34471ba) gen ts
- [`07a66fc`](https://github.com/moghtech/komodo/commit/07a66fc9067345de810370b8a8dfc56c1be063db) style template selector in New Resource menu
### 📊 Changes
**141 files changed** (+5864 additions, -4421 deletions)
<details>
<summary>View changed files</summary>
📝 `Cargo.lock` (+110 -113)
📝 `Cargo.toml` (+15 -13)
📝 `bin/core/Cargo.toml` (+1 -0)
📝 `bin/core/src/alert/discord.rs` (+10 -12)
📝 `bin/core/src/alert/mod.rs` (+12 -15)
📝 `bin/core/src/alert/slack.rs` (+10 -12)
📝 `bin/core/src/api/execute/action.rs` (+14 -23)
📝 `bin/core/src/api/execute/build.rs` (+27 -56)
📝 `bin/core/src/api/execute/deployment.rs` (+14 -54)
📝 `bin/core/src/api/execute/repo.rs` (+26 -47)
📝 `bin/core/src/api/execute/stack.rs` (+32 -85)
📝 `bin/core/src/api/read/schedule.rs` (+7 -2)
📝 `bin/core/src/api/write/build.rs` (+10 -19)
➖ `bin/core/src/api/write/description.rs` (+0 -114)
📝 `bin/core/src/api/write/mod.rs` (+4 -4)
📝 `bin/core/src/api/write/repo.rs` (+5 -13)
➕ `bin/core/src/api/write/resource.rs` (+68 -0)
📝 `bin/core/src/api/write/server.rs` (+19 -0)
📝 `bin/core/src/api/write/sync.rs` (+8 -17)
📝 `bin/core/src/api/write/tag.rs` (+5 -118)
_...and 80 more files_
</details>
### 📄 Description
# Changelog
## Template support
Resources can now be **marked as templates**, and they will be suggested as a the starting point when creating a new resource. You can control the inclusion of templates in the tables, and you can control the template inclusion behavior in the ListResources apis. The behavior is similar to the Gitea repo templates feature. This allows you to configure multiple "defaults" to use as starting points when creating more Resources like Stacks, satisfying requests such as #579.
## Container port display / link
If a container defines port mappings, the host ports used will now be displayed in the container tables, as well as the container headers, Stack service tables / headers, and Deployment headers.
Hovering over the port will reveal additional information about the port binding, such as which network interfaces / protocols are involved. Clicking on the port will link to `$server_address:$port`, using the server address which Core uses to connect to the server.
### Resource
- **Stack / Build**: When using a Linked Repo, will now correctly write the environment configured on Repo, and also run Repo On Clone / On Pull commands. Interpolation is now correctly applied.
### Misc
- Includes pretty extensive refactors standardizing interpolation and log sanitization, keeping the code simpler and avoiding errors.
- Refactor internal git library and usage, separating out library level handling of environment / on clone / on pull execution out to just be part of Periphery binary.
- Fix `/GetUser` endpoint spam on token expiry in #618 by @huzky-v
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/moghtech/komodo/pull/604
Author: @mbecker20
Created: 6/16/2025
Status: ✅ Merged
Merged: 6/24/2025
Merged by: @mbecker20
Base:
main← Head:1.18.4📝 Commits (10+)
35017ceupdate easy deps382fe00update otel deps12623d5implement template in types + update resource meta22b1a73ts types82f4e53dev-2193e6a8dev-3 default template query is include61ce1feToggle resource is template in resource header862774ddev-4 support CopyServerb16def5gen ts07a66fcstyle template selector in New Resource menu📊 Changes
141 files changed (+5864 additions, -4421 deletions)
View changed files
📝
Cargo.lock(+110 -113)📝
Cargo.toml(+15 -13)📝
bin/core/Cargo.toml(+1 -0)📝
bin/core/src/alert/discord.rs(+10 -12)📝
bin/core/src/alert/mod.rs(+12 -15)📝
bin/core/src/alert/slack.rs(+10 -12)📝
bin/core/src/api/execute/action.rs(+14 -23)📝
bin/core/src/api/execute/build.rs(+27 -56)📝
bin/core/src/api/execute/deployment.rs(+14 -54)📝
bin/core/src/api/execute/repo.rs(+26 -47)📝
bin/core/src/api/execute/stack.rs(+32 -85)📝
bin/core/src/api/read/schedule.rs(+7 -2)📝
bin/core/src/api/write/build.rs(+10 -19)➖
bin/core/src/api/write/description.rs(+0 -114)📝
bin/core/src/api/write/mod.rs(+4 -4)📝
bin/core/src/api/write/repo.rs(+5 -13)➕
bin/core/src/api/write/resource.rs(+68 -0)📝
bin/core/src/api/write/server.rs(+19 -0)📝
bin/core/src/api/write/sync.rs(+8 -17)📝
bin/core/src/api/write/tag.rs(+5 -118)...and 80 more files
📄 Description
Changelog
Template support
Resources can now be marked as templates, and they will be suggested as a the starting point when creating a new resource. You can control the inclusion of templates in the tables, and you can control the template inclusion behavior in the ListResources apis. The behavior is similar to the Gitea repo templates feature. This allows you to configure multiple "defaults" to use as starting points when creating more Resources like Stacks, satisfying requests such as #579.
Container port display / link
If a container defines port mappings, the host ports used will now be displayed in the container tables, as well as the container headers, Stack service tables / headers, and Deployment headers.
Hovering over the port will reveal additional information about the port binding, such as which network interfaces / protocols are involved. Clicking on the port will link to
$server_address:$port, using the server address which Core uses to connect to the server.Resource
Misc
/GetUserendpoint spam on token expiry in #618 by @huzky-v🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.