Browse Source

Tribute to deprecated components: add license information to files for matrix-bot-chatgpt

This commit adds copyright attirbutions in SPDX format to files for matrix-bot-chatgpt, following the REUSE's specification.

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4101/head
Suguru Hirahara 1 year ago
parent
commit
cd4b1ca72f
No known key found for this signature in database GPG Key ID: E4F9743DAB4B7B75
8 changed files with 51 additions and 0 deletions
  1. +8
    -0
      docs/configuring-playbook-bot-chatgpt.md
  2. +9
    -0
      roles/custom/matrix-bot-chatgpt/defaults/main.yml
  3. +5
    -0
      roles/custom/matrix-bot-chatgpt/tasks/install.yml
  4. +5
    -0
      roles/custom/matrix-bot-chatgpt/tasks/main.yml
  5. +5
    -0
      roles/custom/matrix-bot-chatgpt/tasks/uninstall.yml
  6. +5
    -0
      roles/custom/matrix-bot-chatgpt/tasks/validate_config.yml
  7. +9
    -0
      roles/custom/matrix-bot-chatgpt/templates/env.j2
  8. +5
    -0
      roles/custom/matrix-bot-chatgpt/templates/systemd/matrix-bot-chatgpt.service.j2.license

+ 8
- 0
docs/configuring-playbook-bot-chatgpt.md View File

@@ -1,3 +1,11 @@
<!--
SPDX-FileCopyrightText: 2023 MDAD project contributors
SPDX-FileCopyrightText: 2023 - 2024 Slavi Pantaleev
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara

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

# Setting up matrix-bot-chatgpt (optional, unmaintained) # Setting up matrix-bot-chatgpt (optional, unmaintained)


**Note**: [matrix-chatgpt-bot](https://github.com/matrixgpt/matrix-chatgpt-bot) is now an archived (**unmaintained**) project. Talking to ChatGPT (and many other LLM providers) can happen via the much more featureful [baibot](https://github.com/etkecc/baibot), which can be installed using [this playbook](configuring-playbook-bot-baibot.md). Consider using that bot instead of this one. **Note**: [matrix-chatgpt-bot](https://github.com/matrixgpt/matrix-chatgpt-bot) is now an archived (**unmaintained**) project. Talking to ChatGPT (and many other LLM providers) can happen via the much more featureful [baibot](https://github.com/etkecc/baibot), which can be installed using [this playbook](configuring-playbook-bot-baibot.md). Consider using that bot instead of this one.


+ 9
- 0
roles/custom/matrix-bot-chatgpt/defaults/main.yml View File

@@ -1,3 +1,12 @@
# SPDX-FileCopyrightText: 2023 MDAD project contributors
# SPDX-FileCopyrightText: 2023 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2023 Joe Kappus
# SPDX-FileCopyrightText: 2023 Nikita Chernyi
# SPDX-FileCopyrightText: 2023 Samuel Meenzen
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

--- ---
# chatgpt is a bot for chatting to openAI chatgpt Matrix bot # chatgpt is a bot for chatting to openAI chatgpt Matrix bot
# Project source code URL: https://github.com/matrixgpt/matrix-chatgpt-bot # Project source code URL: https://github.com/matrixgpt/matrix-chatgpt-bot


+ 5
- 0
roles/custom/matrix-bot-chatgpt/tasks/install.yml View File

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

--- ---


- name: Ensure chatgpt paths exist - name: Ensure chatgpt paths exist


+ 5
- 0
roles/custom/matrix-bot-chatgpt/tasks/main.yml View File

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

--- ---


- -


+ 5
- 0
roles/custom/matrix-bot-chatgpt/tasks/uninstall.yml View File

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

--- ---


- name: Check existence of matrix-chatgpt service - name: Check existence of matrix-chatgpt service


+ 5
- 0
roles/custom/matrix-bot-chatgpt/tasks/validate_config.yml View File

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

--- ---


- name: Fail if required Chatgpt settings not defined - name: Fail if required Chatgpt settings not defined


+ 9
- 0
roles/custom/matrix-bot-chatgpt/templates/env.j2 View File

@@ -1,3 +1,12 @@
{#
SPDX-FileCopyrightText: 2023 MDAD project contributors
SPDX-FileCopyrightText: 2023 Slavi Pantaleev
SPDX-FileCopyrightText: 2023 Joe Kappus
SPDX-FileCopyrightText: 2024 Suguru Hirahara

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

MATRIX_HOMESERVER_URL={{ matrix_bot_chatgpt_matrix_homeserver_url }} MATRIX_HOMESERVER_URL={{ matrix_bot_chatgpt_matrix_homeserver_url }}
MATRIX_ACCESS_TOKEN={{ matrix_bot_chatgpt_matrix_access_token }} MATRIX_ACCESS_TOKEN={{ matrix_bot_chatgpt_matrix_access_token }}




+ 5
- 0
roles/custom/matrix-bot-chatgpt/templates/systemd/matrix-bot-chatgpt.service.j2.license View File

@@ -0,0 +1,5 @@
SPDX-FileCopyrightText: 2023 MDAD project contributors
SPDX-FileCopyrightText: 2023 Vladimir Panteleev
SPDX-FileCopyrightText: 2023 - 2025 Slavi Pantaleev

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

Loading…
Cancel
Save