19 Commits

Author SHA1 Message Date
e9aaec5e27 chore(deps): update lockfile
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 15s
Auto Changelog & Release / changelog-only (push) Successful in 28s
Build and Publish nightly package / build-and-publish (push) Successful in 1m36s
Auto Changelog & Release / release (push) Has been skipped
2025-09-28 12:00:03 +02:00
7c8b1f4dbf chore(deps): update Python version requirement to >=3.11
Some checks failed
Auto Changelog & Release / detect-version-change (push) Successful in 10s
Auto Changelog & Release / release (push) Has been skipped
Build and Publish nightly package / build-and-publish (push) Failing after 1m31s
Auto Changelog & Release / changelog-only (push) Successful in 2m7s
2025-09-28 11:57:37 +02:00
74f5691e27 chore(changelog): update unreleased changelog 2025-06-14 15:43:12 +00:00
aa25ceb957 chore(workflows): improve git-cliff installation and tagging
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 14s
Build and Publish nightly package / build-and-publish (push) Successful in 31s
- Add `--locked` flag to ensure reproducible git-cliff builds
- Set author and committer dates for consistent tag timestamps
- Fix minor formatting inconsistencies in the workflow file
2025-06-14 17:42:51 +02:00
cda07a61f7 chore(changelog): update unreleased changelog 2025-05-26 15:28:09 +00:00
8d5f168a10 feat(workflows): add release sync to GitHub and clean up
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 6s
Build and Publish nightly package / build-and-publish (push) Successful in 17s
- Integrates Releases Sync Action into the build-and-deploy workflow
- Removes the redundant sync-github workflow for simplification
- Fixes minor formatting issues for consistency
2025-05-26 17:27:56 +02:00
910f1d6eed chore(changelog): update unreleased changelog 2025-05-26 15:15:03 +00:00
de05716b07 fix(workflows): correct token syntax in releases sync action
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 7s
Build and Publish nightly package / build-and-publish (push) Successful in 17s
- Replace `${{ ACTIONS_RUNTIME_TOKEN }}` with `$ACTIONS_RUNTIME_TOKEN`
  to fix incorrect token reference in the workflow configuration.
- Ensures proper authentication for the releases sync action.
2025-05-26 17:14:48 +02:00
1986083586 chore(changelog): update unreleased changelog 2025-05-26 14:47:01 +00:00
e875e781a7 chore(workflows): enable release event handling in sync-github
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 2s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 6s
Build and Publish nightly package / build-and-publish (push) Successful in 16s
2025-05-26 16:46:48 +02:00
c06d22e124 chore(changelog): update unreleased changelog 2025-05-26 14:43:16 +00:00
81b2339ea6 feat(workflows): add Gitea integration to sync action
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Build and Publish nightly package / build-and-publish (push) Successful in 16s
Auto Changelog & Release / changelog-only (push) Successful in 6s
- Introduces Gitea-specific inputs to the releases sync action
  for token, URL, owner, and repository configuration.
- Enhances compatibility with Gitea platforms.
2025-05-26 16:43:00 +02:00
9f3f60fbf2 chore(changelog): update unreleased changelog 2025-05-26 14:38:59 +00:00
45a61134d6 chore(workflows): remove unnecessary checkout step
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 7s
Build and Publish nightly package / build-and-publish (push) Successful in 17s
- Eliminates the redundant checkout step in the sync workflow
- Simplifies the workflow by focusing on the releases sync action
2025-05-26 16:38:46 +02:00
7720343173 chore(changelog): update unreleased changelog 2025-05-26 14:34:58 +00:00
e4785769ea feat(workflows): add GitHub release sync workflow
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 6s
Build and Publish nightly package / build-and-publish (push) Successful in 58s
- Introduces a workflow to synchronize releases with GitHub
- Supports manual triggers with optional tag input
- Utilizes a custom releases sync action for automation
2025-05-26 16:34:43 +02:00
9494fa3619 chore(changelog): update unreleased changelog 2025-05-26 14:33:13 +00:00
8b3117fdca feat(workflows): add GitHub release sync workflow
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 6s
Build and Publish nightly package / build-and-publish (push) Successful in 58s
- Introduces a workflow to synchronize releases with GitHub
- Supports manual triggers with optional tag input
- Utilizes a custom releases sync action for automation
2025-05-26 16:32:58 +02:00
8ff8a04437 chore(changelog): update changelog for v0.1.0
All checks were successful
Build and Publish nightly package / build-and-publish (release) Successful in 57s
2025-05-24 11:05:31 +00:00
5 changed files with 115 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ name: Build and Publish nightly package
on:
release:
types: [published]
types: [published]
jobs:
build-and-publish:
@@ -59,6 +59,18 @@ jobs:
run: .gitea/scripts/get-release-id.sh "${{ github.event.release.tag_name }}"
- name: Upload assets
run: |
run: |
.gitea/scripts/upload-asset.sh ./dist/${{ steps.get_whl.outputs.whl_file }}
.gitea/scripts/upload-asset.sh ./dist/${{ steps.get_whl.outputs.sdist_file }}
.gitea/scripts/upload-asset.sh ./dist/${{ steps.get_whl.outputs.sdist_file }}
- name: Run Releases Sync Action
uses: https://git.0xmax42.io/actions/releases-sync@main
with:
gitea_token: $ACTIONS_RUNTIME_TOKEN
gitea_url: https://git.0xmax42.io
gitea_owner: maxp
gitea_repo: ait
tag_name: ${{ inputs.tag || github.event.release.tag_name }}
github_token: ${{ secrets.SYNC_GITHUB_TOKEN }}
github_owner: 0xMax42
github_repo: ait

View File

@@ -4,7 +4,7 @@ on:
push:
branches:
- main
- '**'
- "**"
jobs:
detect-version-change:
@@ -69,7 +69,7 @@ jobs:
- name: Install git-cliff
if: steps.restore-cliff.outputs.cache-hit != 'true'
run: |
cargo install git-cliff --version "${{ steps.cliff_version.outputs.version }}" --features gitea
cargo install git-cliff --locked --version "${{ steps.cliff_version.outputs.version }}" --features gitea
- name: Generate unreleased changelog (if file exists or on main)
run: |
@@ -124,8 +124,8 @@ jobs:
- name: Install git-cliff
if: steps.restore-cliff.outputs.cache-hit != 'true'
run: |
cargo install git-cliff --version "${{ steps.cliff_version.outputs.version }}" --features gitea
cargo install git-cliff --locked --version "${{ steps.cliff_version.outputs.version }}" --features gitea
- name: Generate changelog for release and tag
id: generate-changelog
run: |
@@ -152,7 +152,6 @@ jobs:
echo "changelog_body_path=$BODY" >> $GITHUB_OUTPUT
- name: Commit updated CHANGELOG
run: |
git add CHANGELOG.md
@@ -169,12 +168,14 @@ jobs:
if git rev-parse "v$VERSION" >/dev/null 2>&1; then
echo "Tag v$VERSION already exists, skipping tag creation."
else
export GIT_AUTHOR_DATE="$(date --iso-8601=seconds)"
export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"
git tag -a "v$VERSION" -F "${{ steps.generate-changelog.outputs.changelog_body_path }}" --cleanup=verbatim
git push origin "v$VERSION"
fi
- name: Create Gitea release
env:
env:
RELEASE_PUBLISH_TOKEN: ${{ secrets.RELEASE_PUBLISH_TOKEN }}
run: |
VERSION=${{ steps.version.outputs.value }}

View File

@@ -6,7 +6,30 @@ All notable changes to this project will be documented in this file.
### 🚀 Features
- *(workflows)* Add release sync to GitHub and clean up - ([8d5f168](https://git.0xmax42.io/maxp/ait/commit/8d5f168a10e674effe27aab69d348c52f3f8a58f))
- *(workflows)* Add Gitea integration to sync action - ([81b2339](https://git.0xmax42.io/maxp/ait/commit/81b2339ea6d67a73dd62fb67b41db60388750610))
- *(workflows)* Add GitHub release sync workflow - ([e478576](https://git.0xmax42.io/maxp/ait/commit/e4785769eac1dae3945a388dd745fa43555ea4da))
- *(workflows)* Add GitHub release sync workflow - ([8b3117f](https://git.0xmax42.io/maxp/ait/commit/8b3117fdca5c9cd20cfb9ac3cfe0b0f1ee5f9656))
### 🐛 Bug Fixes
- *(workflows)* Correct token syntax in releases sync action - ([de05716](https://git.0xmax42.io/maxp/ait/commit/de05716b072f81351c603d82dafa17ee751b3dad))
### ⚙️ Miscellaneous Tasks
- *(workflows)* Improve git-cliff installation and tagging - ([aa25ceb](https://git.0xmax42.io/maxp/ait/commit/aa25ceb957a07a5267bfd53dea8c58827c9c6840))
- *(workflows)* Enable release event handling in sync-github - ([e875e78](https://git.0xmax42.io/maxp/ait/commit/e875e781a73349e6ac7092e3c599bdfb2526e08e))
- *(workflows)* Remove unnecessary checkout step - ([45a6113](https://git.0xmax42.io/maxp/ait/commit/45a61134d6f8112c710fa1acdfb8c6205da287b4))
## [0.1.0] - 2025-05-24
### 🚀 Features
- Add project structure and dependency management - ([a9ed247](https://git.0xmax42.io/maxp/ait/commit/a9ed247cb486cfc22779da9d6ab2db15f25dc1e6))
- *(ci)* Add automated workflows for releases and nightly builds - ([579c70b](https://git.0xmax42.io/maxp/ait/commit/579c70b784d551426e841253a6d1de4cc53d65bd))
### ⚙️ Miscellaneous Tasks
- *(vscode)* Customize activity bar and peacock colors - ([db8fda1](https://git.0xmax42.io/maxp/ait/commit/db8fda15df7b6a08dbd8eb4167e9b4862712392e))

71
poetry.lock generated
View File

@@ -34,6 +34,23 @@ doc = ["Sphinx (>=8.2,<9.0)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)",
test = ["anyio[trio]", "blockbuster (>=1.5.23)", "coverage[toml] (>=7)", "exceptiongroup (>=1.2.0)", "hypothesis (>=4.0)", "psutil (>=5.9)", "pytest (>=7.0)", "trustme", "truststore (>=0.9.1) ; python_version >= \"3.10\"", "uvloop (>=0.21) ; platform_python_implementation == \"CPython\" and platform_system != \"Windows\" and python_version < \"3.14\""]
trio = ["trio (>=0.26.1)"]
[[package]]
name = "backports-tarfile"
version = "1.2.0"
description = "Backport of CPython tarfile module"
optional = false
python-versions = ">=3.8"
groups = ["dev"]
markers = "platform_machine != \"ppc64le\" and platform_machine != \"s390x\" and python_version == \"3.11\""
files = [
{file = "backports.tarfile-1.2.0-py3-none-any.whl", hash = "sha256:77e284d754527b01fb1e6fa8a1afe577858ebe4e9dad8919e34c862cb399bc34"},
{file = "backports_tarfile-1.2.0.tar.gz", hash = "sha256:d75e02c268746e1b8144c278978b6e98e85de6ad16f8e4b0844a154557eca991"},
]
[package.extras]
docs = ["furo", "jaraco.packaging (>=9.3)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"]
testing = ["jaraco.test", "pytest (!=8.0.*)", "pytest (>=6,!=8.1.*)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)"]
[[package]]
name = "certifi"
version = "2025.4.26"
@@ -421,6 +438,31 @@ files = [
[package.extras]
all = ["flake8 (>=7.1.1)", "mypy (>=1.11.2)", "pytest (>=8.3.2)", "ruff (>=0.6.2)"]
[[package]]
name = "importlib-metadata"
version = "8.7.0"
description = "Read metadata from Python packages"
optional = false
python-versions = ">=3.9"
groups = ["dev"]
markers = "platform_machine != \"ppc64le\" and platform_machine != \"s390x\" and python_version == \"3.11\""
files = [
{file = "importlib_metadata-8.7.0-py3-none-any.whl", hash = "sha256:e5dd1551894c77868a30651cef00984d50e1002d06942a7101d34870c5f02afd"},
{file = "importlib_metadata-8.7.0.tar.gz", hash = "sha256:d13b81ad223b890aa16c5471f2ac3056cf76c5f10f82d6f9292f0b415f389000"},
]
[package.dependencies]
zipp = ">=3.20"
[package.extras]
check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1) ; sys_platform != \"cygwin\""]
cover = ["pytest-cov"]
doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"]
enabler = ["pytest-enabler (>=2.2)"]
perf = ["ipython"]
test = ["flufl.flake8", "importlib_resources (>=1.3) ; python_version < \"3.9\"", "jaraco.test (>=5.4)", "packaging", "pyfakefs", "pytest (>=6,!=8.1.*)", "pytest-perf (>=0.9.2)"]
type = ["pytest-mypy"]
[[package]]
name = "jaraco-classes"
version = "3.4.0"
@@ -454,6 +496,9 @@ files = [
{file = "jaraco_context-6.0.1.tar.gz", hash = "sha256:9bae4ea555cf0b14938dc0aee7c9f32ed303aa20a3b73e7dc80111628792d1b3"},
]
[package.dependencies]
"backports.tarfile" = {version = "*", markers = "python_version < \"3.12\""}
[package.extras]
doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"]
test = ["portend", "pytest (>=6,!=8.1.*)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy", "pytest-ruff (>=0.2.1) ; sys_platform != \"cygwin\""]
@@ -600,6 +645,7 @@ files = [
]
[package.dependencies]
importlib_metadata = {version = ">=4.11.4", markers = "python_version < \"3.12\""}
"jaraco.classes" = "*"
"jaraco.context" = "*"
"jaraco.functools" = "*"
@@ -1127,7 +1173,28 @@ h2 = ["h2 (>=4,<5)"]
socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"]
zstd = ["zstandard (>=0.18.0)"]
[[package]]
name = "zipp"
version = "3.23.0"
description = "Backport of pathlib-compatible object wrapper for zip files"
optional = false
python-versions = ">=3.9"
groups = ["dev"]
markers = "platform_machine != \"ppc64le\" and platform_machine != \"s390x\" and python_version == \"3.11\""
files = [
{file = "zipp-3.23.0-py3-none-any.whl", hash = "sha256:071652d6115ed432f5ce1d34c336c0adfd6a884660d1e9712a256d3d3bd4b14e"},
{file = "zipp-3.23.0.tar.gz", hash = "sha256:a07157588a12518c9d4034df3fbbee09c814741a33ff63c05fa29d26a2404166"},
]
[package.extras]
check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1) ; sys_platform != \"cygwin\""]
cover = ["pytest-cov"]
doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"]
enabler = ["pytest-enabler (>=2.2)"]
test = ["big-O", "jaraco.functools", "jaraco.itertools", "jaraco.test", "more_itertools", "pytest (>=6,!=8.1.*)", "pytest-ignore-flaky"]
type = ["pytest-mypy"]
[metadata]
lock-version = "2.1"
python-versions = ">=3.12"
content-hash = "292baf26b3a18c541314ef35c83fa7f45b89ac767e2804bd390cf5e336be6c56"
python-versions = ">=3.11"
content-hash = "d39f735cb4fce86922a79e76b93c6efc27a3126b540bde2d431b42d8bb70057e"

View File

@@ -7,7 +7,7 @@ readme = "README.md"
packages = [{ include = "ait", from = "src" }]
[tool.poetry.dependencies]
python = ">=3.12"
python = ">=3.11"
openai = "^1.82.0"
[tool.poetry.scripts]