diff --git a/.gitea/workflows/python-container.yml b/.gitea/workflows/python-container.yml new file mode 100644 index 0000000..a45a87a --- /dev/null +++ b/.gitea/workflows/python-container.yml @@ -0,0 +1,18 @@ +name: Build Python Container +on: + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' + paths-ignore: ['README.md', '.gitignore', 'LICENSE', 'CONVENTIONS.md', 'ruff.toml'] + +jobs: + Package-Container: + uses: jmaa/workflows/.gitea/workflows/container.yaml@v6.21 + with: + REGISTRY_DOMAIN: gitfub.space + REGISTRY_ORGANIZATION: jmaa + secrets: + DOCKER_USERNAME: ${{ secrets.PIPY_REPO_USER }} + DOCKER_PASSWORD: ${{ secrets.PIPY_REPO_PASS }} + PIPELINE_WORKER_SSH_KEY: ${{ secrets.PIPELINE_WORKER_SSH_KEY }} + PIPELINE_WORKER_KNOWN_HOSTS: ${{ secrets.PIPELINE_WORKER_KNOWN_HOSTS }} diff --git a/LICENSE b/LICENSE index 6ff6703..4b4bb1b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,21 @@ +MIT License + Copyright (c) 2025 Jon Michael Aanes -All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index c575d3d..067b3ee 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,12 @@ -# Aider Gitea +# ![Test program/library](https://gitfub.space/Jmaa/aider-gitea/actions/workflows/python-test.yml/badge.svg) +Aider Gitea. + A code automation tool that integrates Gitea with Aider to automatically solve issues. This program monitors your [Gitea](https://about.gitea.com/) repository for issues with the 'aider' label. @@ -113,7 +115,25 @@ pytest --cov=aider_gitea test ## License ``` +MIT License + Copyright (c) 2025 Jon Michael Aanes -All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. ``` diff --git a/setup.py b/setup.py index f565d42..440ba86 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ from setuptools import setup PACKAGE_NAME = 'aider_gitea' PACKAGE_DESCRIPTION = """ -# Aider Gitea. +Aider Gitea. A code automation tool that integrates Gitea with Aider to automatically solve issues. @@ -81,7 +81,7 @@ The tool uses environment variables for sensitive information: """.strip() PACKAGE_DESCRIPTION_SHORT = """ -A code automation tool that integrates Gitea with Aider to automatically solve issues.""".strip() +Aider Gitea.""".strip() def parse_version_file(text: str) -> str: