forked from aiven/devportal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common_replacements.yml
71 lines (65 loc) · 2.71 KB
/
common_replacements.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
extends: substitution
message: "Use '%s' instead of '%s'."
ignorecase: true
level: error
swap:
# Because we have `ignorecase: true`, a rule such as
# clickhouse: ClickHouse
# will match any case variant of "clickhouse", and given an
# error if it is not "ClickHouse". Which is what we want.
clickhouse: ClickHouse # Case - and note the H in the middle
flick: Flink # it's easy to mistype
# The word 'influx' is in the default Vale dictionary, marked /MS, which
# means allowing `'s` and allowing a plural form. The default dictionary
# seems to allow `influxDB` as if it were `influx` (it doesn't recognise
# `influxdb`). However, since we don't expect to need the word `influx`
# in our texts, let's "correct" it here to InfluxDB.
influx: InfluxDB # not its name
kakfa: Kafka # it's easy to mistype
multicloud: multi-cloud # hyphenated, not one word
postgesql: PostgreSQL # it's easy to mistype
postgres: PostgreSQL # not its name
timeseries: time series # two words, not one
hashicorp: HashiCorp # case - note the C in the middle
"OpenSearch dashboards": "OpenSearch Dashboards"
"google cloud storage": "Google Cloud Storage"
datadog: Datadog # Case
DataDog: Datadog # Case, no extra D
# Enforcing the correct case usage
aiven: Aiven
cassandra: Cassandra
clickhouse: ClickHouse
flink: Flink
grafana: Grafana
influxdb: InfluxDB
kafka: Kafka
kubernetes: Kubernetes
m3: M3
mysql: MySQL
opensearch: OpenSearch
postgresql: PostgreSQL
redis: Redis
# QUESTION: How much do we want to expand this list?
# Apache Kafka MirrorMaker 2
# MirrorMaker should always be followed by one (white)space character and a 2
'MirrorMaker(?!\s+2)': "MirrorMaker 2"
'MirrorMaker2': "MirrorMaker 2"
# Do I want to try to catch "MirrorMaker 2®"? This appears at first attempt
# to be non-trivial
# Aiven for <thing>
"Aiven Cassandra": "Aiven for Cassandra"
"Aiven ClickHouse": "Aiven for ClickHouse"
"Aiven Elasticsearch": "Aiven for Elasticsearch"
"Aiven Flink": "Aiven for Apache Flink"
"Aiven Grafana": "Aiven for Grafana"
"Aiven InfluxDB": "Aiven for InfluxDB"
"Aiven Kafka": "Aiven for Apache Kafka"
"Aiven M3": "Aiven for M3"
"Aiven MySQL": "Aiven for MySQL"
"Aiven OpenSearch": "Aiven for OpenSearch"
"Aiven PostgreSQL": "Aiven for PostgreSQL"
"Aiven Redis": "Aiven for Redis"
#'Aiven Kafka MirrorMaker': 'Aiven for Apache Kafka MirrorMaker 2'
#'Aiven Apache Kafka MirrorMaker': 'Aiven for Apache Kafka MirrorMaker 2'
#'Aiven for Kafka MirrorMaker': 'Aiven for Apache Kafka MirrorMaker 2'
#'Aiven for Apache Kafka MirrorMaker2': 'Aiven for Apache Kafka MirrorMaker 2'