Note removal of Flux MQTT package support OSS 2.7+ (#5634)

* WIP added prepend to mqtt package frontmatter

* WIP excluded mqtt package from oss 2.7+

* WIP add nightly version exclude

* add nightly exclude to flux function support modal, closes influxdata/DAR#437

* updated mqtt warn message and version exclude pattern

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>

* exclude mqtt package from all oss versions

* exclude mqtt package from everything but cloud

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
pull/5637/head
Scott Anderson 2024-10-04 14:02:30 -06:00 committed by GitHub
parent 5aa74f2058
commit 44ce6e9d69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 40 additions and 1 deletions

View File

@ -920,11 +920,49 @@
aliases:
- /influxdb/v2/reference/flux/stdlib/experimental/mqtt/
- /influxdb/cloud/reference/flux/stdlib/experimental/mqtt/
prepend:
block: warn
content: |
#### Only supported in InfluxDB Cloud (TSM)
The `experimental/mqtt` package only supported in InfluxDB Cloud (TSM).
It is still available to import in InfluxDB OSS and Enterprise, but
functions will not successfully publish to an MQTT broker.
exclude_from:
nightly: true
oss: ^*
enterprise: ^*
/flux/v0/stdlib/experimental/mqtt/to.md: |
aliases:
- /influxdb/v2/reference/flux/stdlib/experimental/mqtt/to/
- /influxdb/cloud/reference/flux/stdlib/experimental/mqtt/to/
prepend:
block: warn
content: |
#### Only supported in InfluxDB Cloud (TSM)
The `experimental/mqtt` package only supported in InfluxDB Cloud (TSM).
It is still available to import in InfluxDB OSS and Enterprise, but
functions will not successfully publish to an MQTT broker.
exclude_from:
nightly: true
oss: ^*
enterprise: ^*
/flux/v0/stdlib/experimental/mqtt/publish.md: |
prepend:
block: warn
content: |
#### Only supported in InfluxDB Cloud (TSM)
The `experimental/mqtt` package only supported in InfluxDB Cloud (TSM).
It is still available to import in InfluxDB OSS and Enterprise, but
functions will not successfully publish to an MQTT broker.
exclude_from:
nightly: true
oss: ^*
enterprise: ^*
/flux/v0/stdlib/experimental/oee/_index.md: |
aliases:

View File

@ -45,7 +45,8 @@
{{ $versionSemVer := split $value "." }}
{{ $supported := cond (ge (index $versionSemVer 0) (index $introducedSemVer 0)) (cond (ge (index $versionSemVer 1) (index $introducedSemVer 1)) (cond (ge (index $versionSemVer 2) (index $introducedSemVer 2)) true false) false) false }}
{{ $deprecated := and (isset $.Page.Params "deprecated") (cond (ge (index $versionSemVer 0) (index $deprecatedSemVer 0)) (cond (ge (index $versionSemVer 1) (index $deprecatedSemVer 1)) (cond (ge (index $versionSemVer 2) (index $deprecatedSemVer 2)) true false) false) false) }}
{{ $excluded := gt (len (findRE (string $excludePatternOSS) $key)) 0 }}
{{ $nightlyExcluded := and (eq $key "nightly") $.Page.Params.exclude_from.nightly }}
{{ $excluded := or (gt (len (findRE (string $excludePatternOSS) $key)) 0) $nightlyExcluded }}
<div class="version-row">
<div class="version-col"><p>InfluxDB {{ $key }}</p></div>
<div class="version-col"><p>