Matridge 0.2.0a1__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. matridge-0.2.2/.copier-answers.yml +53 -0
  2. matridge-0.2.2/.gitignore +10 -0
  3. matridge-0.2.2/.pre-commit-config.yaml +48 -0
  4. matridge-0.2.2/.woodpecker/autoupdate-deps.yaml +14 -0
  5. matridge-0.2.2/.woodpecker/container.yaml +67 -0
  6. matridge-0.2.2/.woodpecker/docs.yaml +24 -0
  7. matridge-0.2.2/.woodpecker/package.yaml +62 -0
  8. matridge-0.2.2/.woodpecker/test.yaml +36 -0
  9. matridge-0.2.2/Dockerfile +96 -0
  10. matridge-0.2.2/PKG-INFO +82 -0
  11. matridge-0.2.2/README.md +58 -0
  12. matridge-0.2.2/commitlint.config.js +34 -0
  13. matridge-0.2.2/doap.xml +146 -0
  14. matridge-0.2.2/docker-compose.yml +23 -0
  15. matridge-0.2.2/docs/Makefile +20 -0
  16. matridge-0.2.2/docs/source/codeberg.svg +17 -0
  17. matridge-0.2.2/docs/source/conf.py +55 -0
  18. matridge-0.2.2/docs/source/config.rst +41 -0
  19. matridge-0.2.2/docs/source/features.rst +8 -0
  20. matridge-0.2.2/docs/source/index.rst +27 -0
  21. matridge-0.2.2/docs/source/readme.rst +1 -0
  22. matridge-0.2.2/docs/source/user.rst +25 -0
  23. matridge-0.2.2/matridge/__init__.py +35 -0
  24. matridge-0.2.2/matridge/__main__.py +6 -0
  25. {matridge-0.2.0a1 → matridge-0.2.2}/matridge/command.py +5 -2
  26. {matridge-0.2.0a1 → matridge-0.2.2}/matridge/config.py +5 -5
  27. {matridge-0.2.0a1 → matridge-0.2.2}/matridge/contact.py +23 -11
  28. {matridge-0.2.0a1 → matridge-0.2.2}/matridge/gateway.py +34 -17
  29. {matridge-0.2.0a1 → matridge-0.2.2}/matridge/group.py +31 -18
  30. {matridge-0.2.0a1 → matridge-0.2.2}/matridge/matrix.py +194 -14
  31. matridge-0.2.2/matridge/reactions.py +246 -0
  32. {matridge-0.2.0a1 → matridge-0.2.2}/matridge/session.py +49 -23
  33. {matridge-0.2.0a1 → matridge-0.2.2}/matridge/util.py +11 -1
  34. matridge-0.2.2/matridge.egg-info/PKG-INFO +82 -0
  35. matridge-0.2.2/matridge.egg-info/SOURCES.txt +44 -0
  36. matridge-0.2.2/matridge.egg-info/dependency_links.txt +1 -0
  37. matridge-0.2.2/matridge.egg-info/entry_points.txt +2 -0
  38. matridge-0.2.2/matridge.egg-info/requires.txt +5 -0
  39. matridge-0.2.2/matridge.egg-info/top_level.txt +1 -0
  40. matridge-0.2.2/pyproject.toml +159 -0
  41. matridge-0.2.2/setup.cfg +4 -0
  42. matridge-0.2.2/tests/test_base.py +10 -0
  43. matridge-0.2.2/tests/test_conversion.py +119 -0
  44. matridge-0.2.2/tests/test_reactions.py +128 -0
  45. matridge-0.2.2/uv.lock +1780 -0
  46. matridge-0.2.0a1/PKG-INFO +0 -74
  47. matridge-0.2.0a1/README.md +0 -56
  48. matridge-0.2.0a1/matridge/__init__.py +0 -8
  49. matridge-0.2.0a1/matridge/__main__.py +0 -4
  50. matridge-0.2.0a1/matridge/reactions.py +0 -128
  51. matridge-0.2.0a1/pyproject.toml +0 -67
  52. {matridge-0.2.0a1 → matridge-0.2.2}/LICENSE +0 -0
@@ -0,0 +1,53 @@
1
+ # Do not edit manually!
2
+ # Changes here will be overwritten by copier.
3
+ # https://copier.readthedocs.io/
4
+ _commit: 6fcd5f7
5
+ _src_path: git+https://codeberg.org/slidge/legacy-module-template
6
+ authors:
7
+ - email: nicoco@nicoco.fr
8
+ name: Nicolas Cedilnik
9
+ ci_id: 14069
10
+ container_build_files:
11
+ - uv.lock
12
+ - pyproject.toml
13
+ container_build_native: false
14
+ container_builder_deps:
15
+ - git
16
+ - make
17
+ - cargo
18
+ - cmake
19
+ - g++
20
+ container_builder_deps_backports: []
21
+ container_debian_version: bookworm
22
+ container_dev_custom_hot_reload: ''
23
+ container_dev_extra_lines: ''
24
+ container_python_version: '3.13'
25
+ container_requires_rustup: false
26
+ container_runtime_deps: []
27
+ custom_build_system: ''
28
+ custom_readme_head: ''
29
+ custom_readme_tail: ''
30
+ dependencies:
31
+ - matrix-nio[e2e]>=0.25,<0.26
32
+ - beautifulsoup4>=4.12.2,<5
33
+ - async-lru>=2.0.3,<3
34
+ - slidge-style-parser>=0.1.6
35
+ - slidge>=0.2.5,<0.3
36
+ dev_dependencies:
37
+ - types-beautifulsoup4>=4.12.0.20241020
38
+ intersphinx_mappings: []
39
+ lint_excludes: []
40
+ mypy_ignores:
41
+ - nio.*
42
+ native_builds: false
43
+ pre_commit_custom_hooks: ''
44
+ project_name: matridge
45
+ requires_lottie: false
46
+ silo:
47
+ lib:
48
+ name: nio
49
+ url: https://matrix-nio.readthedocs.io/
50
+ name: Matrix
51
+ url: https://matrix.org
52
+ uv_sources: []
53
+ wheels: false
@@ -0,0 +1,10 @@
1
+ __pycache__
2
+ .mypy_cache
3
+ .pytest_cache
4
+ .ruff_cache
5
+ .idea
6
+ dist
7
+ docs/build
8
+ persistent
9
+ .venv
10
+ *.egg-info
@@ -0,0 +1,48 @@
1
+ # DO NOT EDIT
2
+ # This file is automatically generated with copier using https://codeberg.org/slidge/legacy-module-template
3
+
4
+ default_stages: [pre-commit]
5
+ repos:
6
+ - repo: https://github.com/pre-commit/pre-commit-hooks
7
+ rev: v5.0.0
8
+ hooks:
9
+ - id: trailing-whitespace
10
+ - id: end-of-file-fixer
11
+ - id: check-yaml
12
+ - id: check-added-large-files
13
+ - id: check-merge-conflict
14
+ args: [--assume-in-merge]
15
+
16
+ - repo: https://github.com/astral-sh/uv-pre-commit
17
+ rev: 0.5.21
18
+ hooks:
19
+ - id: uv-lock
20
+
21
+ - repo: https://github.com/charliermarsh/ruff-pre-commit
22
+ rev: v0.9.2
23
+ hooks:
24
+ - id: ruff
25
+ args: [ --fix ]
26
+ - id: ruff-format
27
+
28
+ - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
29
+ rev: v9.20.0
30
+ hooks:
31
+ - id: commitlint
32
+ stages: [commit-msg]
33
+ additional_dependencies: ['@commitlint/config-conventional']
34
+
35
+ - repo: local
36
+ hooks:
37
+ - id: mypy
38
+ name: Static type check with mypy
39
+ entry: .venv/bin/mypy
40
+ language: system
41
+ pass_filenames: false
42
+ files: .*\.py
43
+ - id: pytest-check
44
+ name: pytest-check
45
+ entry: .venv/bin/pytest tests
46
+ language: system
47
+ pass_filenames: false
48
+ always_run: true
@@ -0,0 +1,14 @@
1
+ # DO NOT EDIT
2
+ # Generated from .copier-answers.yml
3
+
4
+ when:
5
+ event: [cron, manual]
6
+ cron: lockfile
7
+
8
+ steps:
9
+ refresh-deps:
10
+ image: codeberg.org/slidge/woodpecker-uv-update-lockfile:latest
11
+ pull: true
12
+ settings:
13
+ token:
14
+ from_secret: CODEBERG_TOKEN
@@ -0,0 +1,67 @@
1
+ # DO NOT EDIT
2
+ # Generated from .copier-answers.yml
3
+
4
+ when:
5
+ event: [push, tag]
6
+ path:
7
+ - "matridge/**"
8
+ - Dockerfile
9
+ - pyproject.toml
10
+ - uv.lock
11
+
12
+ labels:
13
+ platform: linux/amd64
14
+
15
+ clone:
16
+ - name: clone-deep
17
+ image: woodpeckerci/plugin-git
18
+ settings:
19
+ tags: true
20
+ partial: false
21
+
22
+ variables:
23
+ - &settings
24
+ repo: codeberg.org/${CI_REPO_OWNER}/matridge
25
+ username: ${CI_REPO_OWNER}
26
+ password:
27
+ from_secret: CODEBERG_TOKEN
28
+ registry: codeberg.org
29
+ target: matridge
30
+ # this only caches one of the two platforms unfortunately
31
+ # https://github.com/docker/buildx/discussions/1382
32
+ # https://github.com/docker/buildx/issues/1044
33
+ cache_images:
34
+ - codeberg.org/${CI_REPO_OWNER}/matridge:buildcache
35
+ platforms: linux/amd64,linux/arm64
36
+
37
+ steps:
38
+ build-tag:
39
+ image: woodpeckerci/plugin-docker-buildx
40
+ when:
41
+ event: [tag]
42
+ settings:
43
+ <<: *settings
44
+ tags:
45
+ - latest
46
+ - ${CI_COMMIT_TAG}
47
+
48
+ build-branch:
49
+ when:
50
+ event: [push]
51
+ image: woodpeckerci/plugin-docker-buildx
52
+ settings:
53
+ <<: *settings
54
+ tags:
55
+ - ${CI_COMMIT_BRANCH}
56
+
57
+ build-ci:
58
+ when:
59
+ event: [push]
60
+ branch: ${CI_REPO_DEFAULT_BRANCH}
61
+ image: woodpeckerci/plugin-docker-buildx
62
+ settings:
63
+ <<: *settings
64
+ target: ci
65
+ tag: ci
66
+ cache_images:
67
+ - codeberg.org/${CI_REPO_OWNER}/matridge:buildcache-ci
@@ -0,0 +1,24 @@
1
+ # DO NOT EDIT
2
+ # Generated from .copier-answers.yml
3
+
4
+ when:
5
+ event: [push, tag, pull_request]
6
+ path: ["matridge/**/*.py", "docs/**/*", "README.md"]
7
+
8
+ steps:
9
+ build:
10
+ image: codeberg.org/${CI_REPO_OWNER}/matridge:ci
11
+ pull: true
12
+ commands:
13
+ - cp -r /venv .venv
14
+ - uv sync --all-groups --all-extras
15
+ - cd docs && make html
16
+
17
+ publish:
18
+ image: codeberg.org/slidge/woodpecker-publish-pages
19
+ pull: true
20
+ when:
21
+ event: [push, tag]
22
+ settings:
23
+ token:
24
+ from_secret: CODEBERG_TOKEN
@@ -0,0 +1,62 @@
1
+ # DO NOT EDIT
2
+ # Generated from .copier-answers.yml
3
+
4
+ when:
5
+ event: [push, tag]
6
+ path: ["matridge/**/*", "pyproject.toml", "README.md"]
7
+ branch: main
8
+
9
+ variables:
10
+ - &ci-image codeberg.org/${CI_REPO_OWNER}/matridge:ci
11
+
12
+ clone:
13
+ - name: clone-deep
14
+ image: woodpeckerci/plugin-git
15
+ settings:
16
+ tags: true
17
+ partial: false
18
+
19
+ steps:
20
+ changelog:
21
+ image: codeberg.org/slidge/woodpecker-generate-changelog
22
+ pull: true
23
+
24
+ build:
25
+ image: *ci-image
26
+ pull: true
27
+ commands:
28
+ - uv build
29
+
30
+ codeberg-pypi:
31
+ when:
32
+ event: [push, tag]
33
+ image: *ci-image
34
+ depends_on: build
35
+ environment:
36
+ CODEBERG_TOKEN:
37
+ from_secret: CODEBERG_TOKEN
38
+ commands:
39
+ - uv publish --index codeberg --token $CODEBERG_TOKEN
40
+
41
+ pypi:
42
+ image: *ci-image
43
+ depends_on: build
44
+ when:
45
+ event: tag
46
+ environment:
47
+ PYPI_TOKEN:
48
+ from_secret: PYPI_TOKEN
49
+ commands:
50
+ - uv publish --token $PYPI_TOKEN
51
+
52
+ codeberg-release:
53
+ image: woodpeckerci/plugin-release
54
+ depends_on: [changelog, build]
55
+ when:
56
+ event: tag
57
+ settings:
58
+ files:
59
+ - dist/matridge*
60
+ api_key:
61
+ from_secret: CODEBERG_TOKEN
62
+ note: CHANGELOG
@@ -0,0 +1,36 @@
1
+ # DO NOT EDIT
2
+ # Generated from .copier-answers.yml
3
+
4
+ when:
5
+ event: [push, pull_request]
6
+ path: [pyproject.toml, uv.lock, "**/*.py"]
7
+
8
+ variables:
9
+ - &ci-image codeberg.org/${CI_REPO_OWNER}/matridge:ci
10
+
11
+ steps:
12
+ update-venv:
13
+ image: *ci-image
14
+ pull: true
15
+ commands:
16
+ - cp -r /venv .venv
17
+ - uv sync --all-groups --all-extras
18
+
19
+ ruff:
20
+ image: *ci-image
21
+ depends_on: update-venv
22
+ commands:
23
+ - ruff check
24
+ - ruff format --check
25
+
26
+ mypy:
27
+ image: *ci-image
28
+ depends_on: update-venv
29
+ commands:
30
+ - mypy
31
+
32
+ test:
33
+ image: *ci-image
34
+ depends_on: update-venv
35
+ commands:
36
+ - python -m pytest tests
@@ -0,0 +1,96 @@
1
+ # DO NOT EDIT
2
+ # This file is automatically generated with copier using https://codeberg.org/slidge/legacy-module-template
3
+
4
+ # Builder
5
+ # *******
6
+ FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim AS builder
7
+
8
+ # install git for setuptools scm
9
+ RUN apt-get update -y && \
10
+ apt-get install \
11
+ git \
12
+ make \
13
+ cargo \
14
+ cmake \
15
+ g++ \
16
+ -y --no-install-recommends && \
17
+ rm -rf /var/lib/apt/lists/*
18
+ WORKDIR /build
19
+ ENV UV_PROJECT_ENVIRONMENT=/venv
20
+ ENV PATH="/venv/bin:/root/.cargo/bin:$PATH"
21
+ # By making the venv relocatable, we can copy it to /workspace/.venv in CI, and only update
22
+ # dependencies that might be out-of-date. If uv.lock is not modified, then updating
23
+ # the .venv is a no-op.
24
+ # This allows us to not wait on the CI container build for the test workflows to run,
25
+ # and also to run workflows for pull requests that modify the lockfile. In this,
26
+ # situation, updating the CI container is not an option.
27
+ RUN uv venv $UV_PROJECT_ENVIRONMENT --relocatable
28
+ COPY uv.lock pyproject.toml README.md .
29
+ COPY matridge matridge
30
+ # install dependencies in /venv
31
+ # .git/ needs to be mounted for setuptools-scm to set the version
32
+ RUN --mount=source=.git,target=/build/.git,type=bind \
33
+ uv sync --no-dev
34
+
35
+ # CI container
36
+ # ************
37
+ FROM builder AS ci
38
+
39
+ # In CI we copy /venv to .venv, then update it for the whole workflow.
40
+ RUN --mount=source=.git,target=/build/.git,type=bind \
41
+ uv sync --all-groups --no-install-project
42
+ ENV UV_PROJECT_ENVIRONMENT=.venv
43
+ ENV UV_LINK_MODE=copy
44
+ ENV PATH="/woodpecker/src/codeberg.org/slidge/matridge/.venv/bin:$PATH"
45
+
46
+ # Dev container
47
+ # *************
48
+ FROM builder AS dev
49
+
50
+ # copy "localhost" certs from the prosody slidge dev container, so
51
+ COPY --from=codeberg.org/slidge/prosody-slidge-dev:latest \
52
+ /etc/prosody/certs/localhost.crt \
53
+ /usr/local/share/ca-certificates/
54
+ RUN update-ca-certificates
55
+ RUN apt-get update -y \
56
+ && apt-get install -y --no-install-recommends \
57
+ libmagic1 \
58
+ media-types \
59
+ shared-mime-info \
60
+ && rm -rf /var/lib/apt/lists/*
61
+ RUN uv pip install watchdog[watchmedo]
62
+ COPY --from=ci /venv /venv
63
+ ENTRYPOINT ["watchmedo", "auto-restart", \
64
+ "--pattern", "*.py", \
65
+ "--directory", "/build/matridge", \
66
+ "--recursive", \
67
+ "matridge", "--", \
68
+ "--jid", "slidge.localhost", \
69
+ "--secret", "secret", \
70
+ "--debug", \
71
+ "--upload-service", "upload.localhost", \
72
+ "--admins", "test@localhost", \
73
+ "--dev-mode"]
74
+
75
+ # Prod container
76
+ # **************
77
+ FROM docker.io/python:3.13-slim-bookworm AS matridge
78
+
79
+ ENV PYTHONUNBUFFERED=1
80
+ ENV PATH="/venv/bin:$PATH"
81
+ STOPSIGNAL SIGINT
82
+ WORKDIR /var/lib/slidge
83
+ # libmagic1: to guess mime type from files
84
+ # media-types: to determine file name suffix based on file type
85
+ RUN apt-get update -y \
86
+ && apt-get install -y --no-install-recommends \
87
+ libmagic1 \
88
+ media-types \
89
+ shared-mime-info \
90
+ && rm -rf /var/lib/apt/lists/*
91
+ RUN addgroup --system --gid 10000 slidge
92
+ RUN adduser --system --uid 10000 --ingroup slidge --home /var/lib/slidge slidge
93
+ USER slidge
94
+ COPY --from=builder /venv /venv
95
+ COPY --from=builder /build/matridge /venv/lib/python3.13/site-packages/matridge
96
+ ENTRYPOINT ["matridge"]
@@ -0,0 +1,82 @@
1
+ Metadata-Version: 2.4
2
+ Name: matridge
3
+ Version: 0.2.2
4
+ Summary: A Matrix/XMPP gateway
5
+ Author-email: Nicolas Cedilnik <nicoco@nicoco.fr>
6
+ License-Expression: AGPL-3.0-or-later
7
+ Project-URL: Homepage, https://codeberg.org/slidge/matridge
8
+ Project-URL: Issues, https://codeberg.org/slidge/matridge/issues
9
+ Project-URL: Repository, https://codeberg.org/slidge/matridge
10
+ Project-URL: Chat room, https://slidge.im/xmpp-web/#/guest?join=slidge@conference.nicoco.fr
11
+ Project-URL: Documentation, https://slidge.im/docs/matridge/main
12
+ Project-URL: changelog, https://codeberg.org/slidge/matridge/releases
13
+ Keywords: xmpp,gateway,bridge,instant messaging,chat,matrix
14
+ Classifier: Topic :: Internet :: XMPP
15
+ Requires-Python: >=3.11
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+ Requires-Dist: matrix-nio[e2e]<0.26,>=0.25
19
+ Requires-Dist: beautifulsoup4<5,>=4.12.2
20
+ Requires-Dist: async-lru<3,>=2.0.3
21
+ Requires-Dist: slidge-style-parser>=0.1.6
22
+ Requires-Dist: slidge<0.3,>=0.2.5
23
+ Dynamic: license-file
24
+
25
+ # matridge
26
+
27
+ A
28
+ [feature-rich](https://slidge.im/docs/matridge/main/features.html)
29
+ [Matrix](https://matrix.org) to
30
+ [XMPP](https://xmpp.org/) puppeteering
31
+ [gateway](https://xmpp.org/extensions/xep-0100.html), based on
32
+ [slidge](https://slidge.im) and
33
+ [nio](https://matrix-nio.readthedocs.io/).
34
+
35
+ [![PyPI package version](https://badge.fury.io/py/matridge.svg)](https://pypi.org/project/matridge/)
36
+ [![CI pipeline status](https://ci.codeberg.org/api/badges/14069/status.svg)](https://ci.codeberg.org/repos/14069)
37
+ [![Chat](https://conference.nicoco.fr:5281/muc_badge/slidge@conference.nicoco.fr)](https://slidge.im/xmpp-web/#/guest?join=slidge@conference.nicoco.fr)
38
+
39
+
40
+ ## Installation
41
+
42
+ Refer to the [slidge admin documentation](https://slidge.im/docs/slidge/main/admin/)
43
+ for general info on how to set up an XMPP server component.
44
+
45
+ ### Containers
46
+
47
+ From [the codeberg package registry](https://codeberg.org/slidge/-/packages/container/matridge/latest)
48
+
49
+ ```sh
50
+ docker run codeberg.org/slidge/matridge # works with podman too
51
+ ```
52
+
53
+ Use the `:latest` tag for the latest release, `:vX.X.X` for release X.X.X, and `:main`
54
+ for the bleeding edge.
55
+
56
+ ### Python package
57
+
58
+ With [pipx](https://pypa.github.io/pipx/):
59
+
60
+ ```sh
61
+
62
+ # for the latest stable release (if any)
63
+ pipx install matridge
64
+
65
+ # for the bleeding edge
66
+ pipx install matridge \
67
+ --pip-args='--extra-index-url https://codeberg.org/api/packages/slidge/pypi/simple/'
68
+
69
+ matridge --help
70
+ ```
71
+
72
+ ## Documentation
73
+
74
+ Hosted on [codeberg pages](https://slidge.im/docs/matridge/main/).
75
+
76
+ ## Dev
77
+
78
+ ```sh
79
+ git clone https://codeberg.org/slidge/matridge
80
+ cd matridge
81
+ docker-compose up # works with podman-compose too
82
+ ```
@@ -0,0 +1,58 @@
1
+ # matridge
2
+
3
+ A
4
+ [feature-rich](https://slidge.im/docs/matridge/main/features.html)
5
+ [Matrix](https://matrix.org) to
6
+ [XMPP](https://xmpp.org/) puppeteering
7
+ [gateway](https://xmpp.org/extensions/xep-0100.html), based on
8
+ [slidge](https://slidge.im) and
9
+ [nio](https://matrix-nio.readthedocs.io/).
10
+
11
+ [![PyPI package version](https://badge.fury.io/py/matridge.svg)](https://pypi.org/project/matridge/)
12
+ [![CI pipeline status](https://ci.codeberg.org/api/badges/14069/status.svg)](https://ci.codeberg.org/repos/14069)
13
+ [![Chat](https://conference.nicoco.fr:5281/muc_badge/slidge@conference.nicoco.fr)](https://slidge.im/xmpp-web/#/guest?join=slidge@conference.nicoco.fr)
14
+
15
+
16
+ ## Installation
17
+
18
+ Refer to the [slidge admin documentation](https://slidge.im/docs/slidge/main/admin/)
19
+ for general info on how to set up an XMPP server component.
20
+
21
+ ### Containers
22
+
23
+ From [the codeberg package registry](https://codeberg.org/slidge/-/packages/container/matridge/latest)
24
+
25
+ ```sh
26
+ docker run codeberg.org/slidge/matridge # works with podman too
27
+ ```
28
+
29
+ Use the `:latest` tag for the latest release, `:vX.X.X` for release X.X.X, and `:main`
30
+ for the bleeding edge.
31
+
32
+ ### Python package
33
+
34
+ With [pipx](https://pypa.github.io/pipx/):
35
+
36
+ ```sh
37
+
38
+ # for the latest stable release (if any)
39
+ pipx install matridge
40
+
41
+ # for the bleeding edge
42
+ pipx install matridge \
43
+ --pip-args='--extra-index-url https://codeberg.org/api/packages/slidge/pypi/simple/'
44
+
45
+ matridge --help
46
+ ```
47
+
48
+ ## Documentation
49
+
50
+ Hosted on [codeberg pages](https://slidge.im/docs/matridge/main/).
51
+
52
+ ## Dev
53
+
54
+ ```sh
55
+ git clone https://codeberg.org/slidge/matridge
56
+ cd matridge
57
+ docker-compose up # works with podman-compose too
58
+ ```
@@ -0,0 +1,34 @@
1
+ // DO NOT EDIT
2
+ // Generated from .copier-answers.yml
3
+ //
4
+ // This files defines the allowed "headers" for the commit messages.
5
+ // Following the rules makes the changelog generation easier.
6
+ // They come from angular conventions, unless commented.
7
+ const Configuration = {
8
+ extends: ['@commitlint/config-conventional'],
9
+ rules: {
10
+ 'type-enum':
11
+ [
12
+ 2,
13
+ 'always',
14
+ [
15
+ 'build',
16
+ 'chore',
17
+ 'ci',
18
+ 'docs',
19
+ 'feat',
20
+ 'fix',
21
+ 'perf',
22
+ 'refactor',
23
+ 'revert',
24
+ 'style',
25
+ 'test',
26
+ 'compat', // workaround to play nice with non-compliant clients or servers; ideally reverted once fixed upstream
27
+ 'cfix', // fixes an unreleased commit, should not appear in changelog
28
+ 'imprv', // improvement of an existing feature
29
+ ]
30
+ ],
31
+ },
32
+ }
33
+
34
+ module.exports = Configuration