Quellcode durchsuchen

Add license information to files for matrix-synapse-auto-compressor

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4135/head
Suguru Hirahara vor 1 Jahr
Ursprung
Commit
a039174f96
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden GPG-Schlüssel-ID: E4F9743DAB4B7B75
10 geänderte Dateien mit 56 neuen und 0 gelöschten Zeilen
  1. +8
    -0
      docs/configuring-playbook-synapse-auto-compressor.md
  2. +7
    -0
      roles/custom/matrix-synapse-auto-compressor/defaults/main.yml
  3. +6
    -0
      roles/custom/matrix-synapse-auto-compressor/tasks/install.yml
  4. +5
    -0
      roles/custom/matrix-synapse-auto-compressor/tasks/main.yml
  5. +4
    -0
      roles/custom/matrix-synapse-auto-compressor/tasks/uninstall.yml
  6. +5
    -0
      roles/custom/matrix-synapse-auto-compressor/tasks/validate_config.yml
  7. +7
    -0
      roles/custom/matrix-synapse-auto-compressor/templates/env.j2
  8. +3
    -0
      roles/custom/matrix-synapse-auto-compressor/templates/matrix-synapse-auto-compressor-fix.sh.j2.license
  9. +4
    -0
      roles/custom/matrix-synapse-auto-compressor/templates/matrix-synapse-auto-compressor.service.j2.license
  10. +7
    -0
      roles/custom/matrix-synapse-auto-compressor/templates/matrix-synapse-auto-compressor.timer.j2

+ 8
- 0
docs/configuring-playbook-synapse-auto-compressor.md Datei anzeigen

@@ -1,3 +1,11 @@
<!--
SPDX-FileCopyrightText: 2023 Nikita Chernyi
SPDX-FileCopyrightText: 2023 Slavi Pantaleev
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara

SPDX-License-Identifier: AGPL-3.0-or-later
-->

# Setting up synapse-auto-compressor (optional)

The playbook can install and configure [synapse_auto_compressor](https://github.com/matrix-org/rust-synapse-compress-state/#automated-tool-synapse_auto_compressor) for you.


+ 7
- 0
roles/custom/matrix-synapse-auto-compressor/defaults/main.yml Datei anzeigen

@@ -1,3 +1,10 @@
# SPDX-FileCopyrightText: 2023 - 2024 Nikita Chernyi
# SPDX-FileCopyrightText: 2023 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2023 Samuel Meenzen
# SPDX-FileCopyrightText: 2025 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

# synapse_auto_compressor tool


+ 6
- 0
roles/custom/matrix-synapse-auto-compressor/tasks/install.yml Datei anzeigen

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2023 - 2024 Nikita Chernyi
# SPDX-FileCopyrightText: 2023 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2024 David Mehren
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Ensure synapse-auto-compressor paths exist


+ 5
- 0
roles/custom/matrix-synapse-auto-compressor/tasks/main.yml Datei anzeigen

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2023 Nikita Chernyi
# SPDX-FileCopyrightText: 2023 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- tags:


+ 4
- 0
roles/custom/matrix-synapse-auto-compressor/tasks/uninstall.yml Datei anzeigen

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Nikita Chernyi
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
- name: Check existence of matrix-synapse-auto-compressor service
ansible.builtin.stat:


+ 5
- 0
roles/custom/matrix-synapse-auto-compressor/tasks/validate_config.yml Datei anzeigen

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2023 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
- name: (Deprecation) Catch and report renamed matrix-synapse-auto-compressor settings
ansible.builtin.fail:


+ 7
- 0
roles/custom/matrix-synapse-auto-compressor/templates/env.j2 Datei anzeigen

@@ -1,3 +1,10 @@
{#
SPDX-FileCopyrightText: 2023 Slavi Pantaleev
SPDX-FileCopyrightText: 2024 Nikita Chernyi

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

POSTGRES_LOCATION={{ matrix_synapse_auto_compressor_environment_variable_postgres_location }}

# PG-prefixed variables below are for the matrix-synapse-auto-compressor-fix.sh script


+ 3
- 0
roles/custom/matrix-synapse-auto-compressor/templates/matrix-synapse-auto-compressor-fix.sh.j2.license Datei anzeigen

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Nikita Chernyi

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

+ 4
- 0
roles/custom/matrix-synapse-auto-compressor/templates/matrix-synapse-auto-compressor.service.j2.license Datei anzeigen

@@ -0,0 +1,4 @@
SPDX-FileCopyrightText: 2023 - 2025 Nikita Chernyi
SPDX-FileCopyrightText: 2023 Slavi Pantaleev

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

+ 7
- 0
roles/custom/matrix-synapse-auto-compressor/templates/matrix-synapse-auto-compressor.timer.j2 Datei anzeigen

@@ -1,3 +1,10 @@
{#
SPDX-FileCopyrightText: 2023 Nikita Chernyi
SPDX-FileCopyrightText: 2025 Suguru Hirahara

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

[Unit]
Description=Synapse State Auto Compressor Timer



Laden…
Abbrechen
Speichern