Skip to content

Commit e1c42e6

Browse files
authored
Merge pull request #3555 from OpenC3/coming_soon
Add Coming Soon and release support
2 parents 56a2a5f + b3ba05a commit e1c42e6

4 files changed

Lines changed: 35 additions & 6 deletions

File tree

docs.openc3.com/docs/guides/mcp-server.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,14 @@ Then start claude and run the following to authenticate:
4848
`/mcp`
4949

5050
## Disabling the MCP Server
51-
<span class="badge badge--secondary since-right">Since 7.3.0</span>
52-
To disable the MCP Server entirely, set the following environment variable in the `.env` file at the root of your COSMOS Enterprise project and restart COSMOS:
51+
52+
<span class="badge badge--secondary since-right">Since _Coming Soon_</span>
53+
To disable the MCP Server entirely, set the following environment variable in
54+
the `.env` file at the root of your COSMOS Enterprise project and restart
55+
COSMOS:
5356

5457
```
5558
OPENC3_MCP_DISABLED=true
5659
```
5760

5861
This prevents the MCP Server process from starting, so nothing listens at `/mcp`. Note that the Built-In AI Interface uses the MCP Server for all of its COSMOS interactions, so disabling the MCP Server also prevents the AI Interface from reading telemetry, sending commands, or running scripts. Remove the variable and restart COSMOS to re-enable.
59-

docs.openc3.com/docs/guides/scripting-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4947,7 +4947,7 @@ set_limits_set("DEFAULT")
49474947

49484948
### delete_limits_set
49494949

4950-
<span class="badge badge--secondary since-heading">Since 7.3.0</span>
4950+
<span class="badge badge--secondary since-heading">Since _Coming Soon_</span>
49514951

49524952
Deletes a limits set and removes it from all telemetry items. The DEFAULT limits set and the currently active limits set cannot be deleted. Use [set_limits_set](#set_limits_set) to change the active set before deleting it. Use [get_limits_sets](#get_limits_sets) to get the available limit set names.
49534953

@@ -5152,7 +5152,7 @@ set_limits('INST', 'HEALTH_STATUS', 'TEMP1', -10.0, 0.0, 50.0, 60.0, 30.0, 40.0,
51525152

51535153
### set_state_color
51545154

5155-
<span class="badge badge--secondary since-heading">Since 7.3.0</span>
5155+
<span class="badge badge--secondary since-heading">Since _Coming Soon_</span>
51565156

51575157
The set_state_color method changes the color associated with a telemetry item's state in realtime. Items with states (e.g. CONNECTED, UNAVAILABLE) use a state color (GREEN, YELLOW, or RED) to determine their limits state rather than numeric red/yellow/green limits. Note: In most cases it would be better to update your config files rather than changing state colors in realtime.
51585158

openc3/data/config/target.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ TARGET:
179179
LOG evaluates limits and logs state changes but does not trigger limits reactions
180180
or update the current limits state used by the API.
181181
DISABLE skips limits processing entirely for stored packets.
182-
since: 7.3.0
182+
since: _Coming Soon_
183183
parameters:
184184
- name: Mode
185185
required: true

scripts/release/openc3_set_versions.rb

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,3 +238,30 @@
238238
end
239239
puts "Updated: #{full_path}"
240240
end
241+
242+
# Replace "_Coming Soon_" markers with the actual release version. These mark
243+
# features that ship in this release (e.g. 'since: _Coming Soon_' in config
244+
# YAML and 'Since _Coming Soon_' badges in the docs). Only do this on a
245+
# production release so the "next version" (prerelease) update doesn't consume
246+
# the markers before the feature has actually shipped.
247+
if is_prod_release
248+
coming_soon_globs = [
249+
File.join(base_path, 'openc3', 'data', 'config', '*.yaml'),
250+
File.join(base_path, 'docs.openc3.com', '**', '*.md'),
251+
File.join(base_path, 'docs.openc3.com', '**', '*.mdx'),
252+
]
253+
254+
Dir.glob(coming_soon_globs).uniq.sort.each do |full_path|
255+
data = nil
256+
File.open(full_path, 'rb') do |file|
257+
data = file.read
258+
end
259+
next unless data.include?('_Coming Soon_')
260+
261+
data = data.gsub('_Coming Soon_', version)
262+
File.open(full_path, 'wb') do |file|
263+
file.write(data)
264+
end
265+
puts "Updated: #{full_path}"
266+
end
267+
end

0 commit comments

Comments
 (0)