aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2025-10-29 11:58:17 +0100
committerPatrick Spek <p.spek@tyil.nl>2025-10-29 11:58:17 +0100
commitc211e61700e8be9b5cb3d7f8ba53049007133a0f (patch)
tree835b36de9431b657cc58e4779609b22bd8988e1c
parent9f514712a7772dbbeb979833e4e24f7904611bad (diff)
downloadbragi-c211e61700e8be9b5cb3d7f8ba53049007133a0f.tar.gz
bragi-c211e61700e8be9b5cb3d7f8ba53049007133a0f.tar.bz2
Remove bloat
-rw-r--r--.dockerignore1
-rw-r--r--.drone.yml230
-rw-r--r--.github/FUNDING.yml1
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md38
-rw-r--r--.github/ISSUE_TEMPLATE/feature_request.md17
-rw-r--r--.gitmodules0
6 files changed, 0 insertions, 287 deletions
diff --git a/.dockerignore b/.dockerignore
deleted file mode 100644
index 2d2ecd6..0000000
--- a/.dockerignore
+++ /dev/null
@@ -1 +0,0 @@
-.git/
diff --git a/.drone.yml b/.drone.yml
deleted file mode 100644
index 1abcc78..0000000
--- a/.drone.yml
+++ /dev/null
@@ -1,230 +0,0 @@
-kind: pipeline
-type: docker
-name: deployement-local
-
-volumes:
- - name: repo
- host:
- path: /media/raid5/data/packages/repos/apt/botamusique/
-
-steps:
- - name: build-web
- image: node:16
- commands:
- - (cd web && npm install && npm run build)
- when:
- event:
- - push
- - tag
-
- - name: translate-html
- image: python:3
- commands:
- - pip3 install jinja2
- - ./scripts/translate_templates.py --lang-dir lang/ --template-dir web/templates/
- when:
- event:
- - push
- - tag
-
- - name: deploy-testing
- image: debian
- commands:
- - apt-get -qq update && apt-get -qq install git > /dev/null
- - sed -i 's/target_version = git/target_version = testing/' configuration.default.ini
- - git fetch --tags
- - version=$(git describe --tags)
- - echo "current git commit is $version"
- - echo $version > /mnt/botamusique/testing-version
- - sed -i "s/version = 'git'/version = '$version'/" mumbleBot.py
- - rm -rf .git*
- - rm -rf web
- - mkdir /tmp/botamusique
- - cp -r . /tmp/botamusique/
- - tar -czf /mnt/botamusique/sources-testing.tar.gz -C /tmp botamusique
- volumes:
- - name: repo
- path: /mnt/botamusique/
- when:
- branch:
- - master
- event:
- - push
-
- - name: deploy-stable
- image: debian
- commands:
- - apt-get -qq update && apt-get -qq install jq curl git pandoc python3-requests > /dev/null
- - sed -i 's/target_version = git/target_version = stable/' configuration.default.ini
- - git fetch --tags
- - version=$(git describe --abbrev=0 --tags)
- - echo "version is $version"
- - echo $version > /mnt/botamusique/version
- - sed -i "s/version = 'git'/version = '$version'/" mumbleBot.py
- - curl --silent "https://api.github.com/repos/azlux/botamusique/releases/latest" | jq -r '.body' | pandoc --from gfm --to html - --output - > /mnt/botamusique/changelog
- - rm -rf .git*
- - rm -rf web
- - mkdir /tmp/botamusique
- - cp -r . /tmp/botamusique/
- - tar -czf /mnt/botamusique/sources-stable.tar.gz -C /tmp botamusique
- volumes:
- - name: repo
- path: /mnt/botamusique/
- when:
- event:
- - tag
-
-node:
- location: local
-
-trigger:
- event:
- exclude:
- - cron
-
----
-kind: pipeline
-type: docker
-name: deployement-docker
-
-steps:
- - name: build-web
- image: node:16
- commands:
- - (cd web && npm install && npm run build)
- when:
- event:
- - push
- - tag
-
- - name: translate-html
- image: python:3
- commands:
- - pip3 install jinja2
- - ./scripts/translate_templates.py --lang-dir lang/ --template-dir web/templates/
- when:
- event:
- - push
- - tag
-
- - name: config-testing
- image: debian
- commands:
- - sed -i 's/target_version = git/target_version = testing/' configuration.default.ini
- when:
- branch:
- - master
- event:
- - push
-
- - name: docker-testing
- image: thegeeklab/drone-docker-buildx
- privileged: true
- settings:
- repo: azlux/botamusique
- platforms: linux/amd64,linux/arm64,linux/arm/v7
- username:
- from_secret: docker_username
- password:
- from_secret: docker_password
- tags: testing
- when:
- branch:
- - master
- event:
- - push
-
- - name: config-stable
- image: debian
- commands:
- - sed -i 's/target_version = git/target_version = stable/' configuration.default.ini
- when:
- event:
- - tag
-
- - name: docker-stable
- image: thegeeklab/drone-docker-buildx
- privileged: true
- settings:
- repo: azlux/botamusique
- platforms: linux/amd64,linux/arm64,linux/arm/v7
- username:
- from_secret: docker_username
- password:
- from_secret: docker_password
- tags: latest
- when:
- event:
- - tag
-
-node:
- location: external
-
-trigger:
- event:
- exclude:
- - cron
-
----
-kind: pipeline
-type: docker
-name: translation-traduora
-
-steps:
- - name: fetch-translation
- image: debian
- environment:
- TRADUORA_R_CLIENT:
- from_secret: TRADUORA_R_CLIENT
- TRADUORA_R_SECRET:
- from_secret: TRADUORA_R_SECRET
- GITHUB_API:
- from_secret: GITHUB_API
- commands:
- - apt update && apt install -y git python3-requests hub
- - PUSH=true SOURCE_DIR=$(pwd) ./scripts/commit_new_translation.sh
-
-node:
- location: external
-
-trigger:
- event:
- - cron
- cron:
- - auto-fetch-lang
-
----
-kind: pipeline
-type: docker
-name: translation-git
-
-steps:
- - name: push-translation
- image: debian
- environment:
- TRADUORA_R_CLIENT:
- from_secret: TRADUORA_R_CLIENT
- TRADUORA_R_SECRET:
- from_secret: TRADUORA_R_SECRET
- TRADUORA_W_CLIENT:
- from_secret: TRADUORA_W_CLIENT
- TRADUORA_W_SECRET:
- from_secret: TRADUORA_W_SECRET
- GITHUB_API:
- from_secret: GITHUB_API
- commands:
- - apt update && apt install -y git python3-requests hub
- - SOURCE_DIR=$(pwd) ./scripts/update_translation_to_server.sh
- when:
- branch:
- - master
- event:
- - push
-
-node:
- location: external
-
-trigger:
- event:
- exclude:
- - cron
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
deleted file mode 100644
index f3ab155..0000000
--- a/.github/FUNDING.yml
+++ /dev/null
@@ -1 +0,0 @@
-open_collective: botamusique
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index 80c49db..0000000
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,38 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-
----
-
-**Describe the bug**
-A clear and concise description of what the bug is.
-
-**Affected version**
-The exact version you're using (git commit id). You should **always** only report bugs which you can reproduce on the latest version (`uif` branch), however **always** state the current commit id here (in case there are new commits between your report and us looking at it)
-
-**To Reproduce**
-Steps to reproduce the behavior:
-1. Go to '...'
-2. Click on '....'
-3. Scroll down to '....'
-4. See error
-
-**Expected behavior**
-A clear and concise description of what you expected to happen.
-
-**Screenshots**
-If applicable, add screenshots to help explain your problem.
-
-**Desktop (please complete the following information):**
- - OS: [e.g. iOS]
- - Browser [e.g. chrome, safari]
- - Version [e.g. 22]
-
-**Smartphone (please complete the following information):**
- - Device: [e.g. iPhone6]
- - OS: [e.g. iOS8.1]
- - Browser [e.g. stock browser, safari]
- - Version [e.g. 22]
-
-**Additional context**
-Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
deleted file mode 100644
index 066b2d9..0000000
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ /dev/null
@@ -1,17 +0,0 @@
----
-name: Feature request
-about: Suggest an idea for this project
-
----
-
-**Is your feature request related to a problem? Please describe.**
-A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
-
-**Describe the solution you'd like**
-A clear and concise description of what you want to happen.
-
-**Describe alternatives you've considered**
-A clear and concise description of any alternative solutions or features you've considered.
-
-**Additional context**
-Add any other context or screenshots about the feature request here.
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index e69de29..0000000
--- a/.gitmodules
+++ /dev/null