ソースを参照

Change D4A Room State Backing Store variable name and fix SPDX Headers

pull/4166/head
Catalan Lover 1年前
コミット
64572f8388
4個のファイルの変更8行の追加4行の削除
  1. +2
    -1
      roles/custom/matrix-appservice-draupnir-for-all/defaults/main.yml
  2. +1
    -0
      roles/custom/matrix-appservice-draupnir-for-all/tasks/validate_config.yml
  3. +3
    -2
      roles/custom/matrix-appservice-draupnir-for-all/templates/production-appservice.yaml.j2
  4. +2
    -1
      roles/custom/matrix-appservice-draupnir-for-all/templates/production-bots.yaml.j2

+ 2
- 1
roles/custom/matrix-appservice-draupnir-for-all/defaults/main.yml ファイルの表示

@@ -1,3 +1,4 @@
# SPDX-FileCopyrightText: 2024 MDAD project contributors
# SPDX-FileCopyrightText: 2024 - 2025 Catalan Lover <catalanlover@protonmail.com>
# SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
@@ -61,7 +62,7 @@ matrix_appservice_draupnir_for_all_master_control_room_alias: ""
# Controls if the room state backing store is activated.
# Room state backing store makes restarts of the bot lightning fast as the bot does not suffer from amnesia.
# This config option has diminished improvements for bots on extremely fast homeservers or very very small bots on fast homeservers.
matrix_appservice_draupnir_for_all_enable_room_state_backing_store: "false"
matrix_appservice_draupnir_for_all_config_roomStateBackingStore_enabled: false # noqa var-naming

matrix_appservice_draupnir_for_all_database_username: matrix_appservice_draupnir_for_all
matrix_appservice_draupnir_for_all_database_password: 'some-passsword'


+ 1
- 0
roles/custom/matrix-appservice-draupnir-for-all/tasks/validate_config.yml ファイルの表示

@@ -22,3 +22,4 @@
when: "item.old in vars"
with_items:
- {'old': 'matrix_appservice_draupnir_for_all_docker_image_name_prefix', 'new': 'matrix_appservice_draupnir_for_all_docker_image_registry_prefix'}
- {'old': 'matrix_appservice_draupnir_for_all_enable_room_state_backing_store', 'new': 'matrix_appservice_draupnir_for_all_config_roomStateBackingStore_enabled'}

+ 3
- 2
roles/custom/matrix-appservice-draupnir-for-all/templates/production-appservice.yaml.j2 ファイルの表示

@@ -1,5 +1,6 @@
{#
SPDX-FileCopyrightText: 2024-2025 Catalan Lover <catalanlover@protonmail.com>
SPDX-FileCopyrightText: 2024 MDAD project contributors
SPDX-FileCopyrightText: 2024 - 2025 Catalan Lover <catalanlover@protonmail.com>
SPDX-FileCopyrightText: 2024 Suguru Hirahara

SPDX-License-Identifier: AGPL-3.0-or-later
@@ -28,4 +29,4 @@ webAPI:
dataPath: "/data"

roomStateBackingStore:
enabled: {{ matrix_appservice_draupnir_for_all_enable_room_state_backing_store }}
enabled: {{ matrix_appservice_draupnir_for_all_config_roomStateBackingStore_enabled | to_json }}

+ 2
- 1
roles/custom/matrix-appservice-draupnir-for-all/templates/production-bots.yaml.j2 ファイルの表示

@@ -1,5 +1,6 @@
{#
SPDX-FileCopyrightText: 2024-2025 Catalan Lover <catalanlover@protonmail.com>
SPDX-FileCopyrightText: 2024 MDAD project contributors
SPDX-FileCopyrightText: 2024 - 2025 Catalan Lover <catalanlover@protonmail.com>

SPDX-License-Identifier: AGPL-3.0-or-later
#}


読み込み中…
キャンセル
保存