Container publishing to registry.marvin8.zone + repo modernization #73

Closed
opened 2026-07-20 02:48:03 +00:00 by coding-agent-marvin8 · 1 comment
coding-agent-marvin8 commented 2026-07-20 02:48:03 +00:00 (Migrated from codeberg.org)

Add Forgejo Actions container publishing to registry.marvin8.zone for both fenliu and zhongli, triggered on release. Bring the repo up to date with patterns from feed2fedi, longwei, zaojun, and sub2pod.

Container publishing

  • CI jobs to build and push container images to registry.marvin8.zone/marvin8/fenliu and registry.marvin8.zone/marvin8/zhongli
  • Triggered on Forgejo Release (not tag push)
  • Uses buildah in CI; justfile recipes keep podman as manual backup

Modernization

  • AGENTS.md + CLAUDE.md symlink (root + both packages)
  • LICENSE.md, .editorconfig
  • ruff.toml alignment: TID252 ban-relative-imports, zhongli target-version py312, consistent ignores
  • Pre-commit hooks: add ruff-format, ruff-check, complexipy; align revs
  • CI: pr-review job in per-package workflows, checksum-verified gitleaks, release triggers for publish/deploy
  • Dependency bumps to latest --min-age=7
  • Delete ai-review.yml (merged into per-package CI)
  • Update weekly-checks: setup-uv action
Add Forgejo Actions container publishing to `registry.marvin8.zone` for both fenliu and zhongli, triggered on release. Bring the repo up to date with patterns from feed2fedi, longwei, zaojun, and sub2pod. ### Container publishing - CI jobs to build and push container images to `registry.marvin8.zone/marvin8/fenliu` and `registry.marvin8.zone/marvin8/zhongli` - Triggered on Forgejo Release (not tag push) - Uses buildah in CI; justfile recipes keep podman as manual backup ### Modernization - AGENTS.md + CLAUDE.md symlink (root + both packages) - LICENSE.md, .editorconfig - ruff.toml alignment: TID252 ban-relative-imports, zhongli target-version py312, consistent ignores - Pre-commit hooks: add ruff-format, ruff-check, complexipy; align revs - CI: pr-review job in per-package workflows, checksum-verified gitleaks, release triggers for publish/deploy - Dependency bumps to latest --min-age=7 - Delete ai-review.yml (merged into per-package CI) - Update weekly-checks: setup-uv action
coding-agent-marvin8 commented 2026-07-20 02:48:16 +00:00 (Migrated from codeberg.org)

Findings & Plan

The repo already has Containerfiles for both packages and per-package CI workflows. The work:

  1. CI: Add pr-review and publish-container jobs to fenliu-ci.yml and zhongli-ci.yml. Both publish (PyPI) and publish-container switch from tag-push to release-event triggers. Gitleaks install updated to checksum-verified pattern reading version from .pre-commit-config.yaml. Weekly-checks gets setup-uv@v5 replacing curl | sh. ai-review.yml deleted (merged into per-package CI).

  2. Containerfiles: OCI labels added (source, license, description, revision, version) matching wuming pattern.

  3. Justfiles: publish-container recipes updated from codeberg.org to registry.marvin8.zone, keep podman.

  4. Scaffolding: AGENTS.md + CLAUDE.md symlinks at all three levels. LICENSE.md (AGPL-3.0-or-later), .editorconfig added. ruff.toml aligned: TID252, zhongli target-version py312, consistent ignores. Pre-commit hooks updated. Dependencies bumped (ruff 0.15.22, ty 0.0.61, uv 0.11.29).

Branch: feat/container-publish-and-modernization

Commits:

  • 🎉 add AGENTS.md at all levels, LICENSE.md, .editorconfig; symlink CLAUDE.md
  • 🔧 align ruff.toml: TID252, py312 target, consistent ignores; enable zhongli format check
  • ♻️ apply ruff autofixes: py312 upgrades, format both packages
  • 🔧 add ruff-format, ruff-check, complexipy pre-commit hooks; align revs
  • ⬆️ bump deps: ruff 0.15.22, ty 0.0.61, uv 0.11.29
  • 👷 fenliu CI + zhongli CI + weekly-checks + remove ai-review.yml
  • 🏷️ add OCI labels to fenliu and zhongli Containerfiles
  • 🚚 publish-container: switch to registry.marvin8.zone; add OCI build-args
  • 📝 note container publishing in Release-Notes
**Findings & Plan** The repo already has Containerfiles for both packages and per-package CI workflows. The work: 1. **CI**: Add `pr-review` and `publish-container` jobs to fenliu-ci.yml and zhongli-ci.yml. Both `publish` (PyPI) and `publish-container` switch from tag-push to release-event triggers. Gitleaks install updated to checksum-verified pattern reading version from `.pre-commit-config.yaml`. Weekly-checks gets `setup-uv@v5` replacing `curl | sh`. `ai-review.yml` deleted (merged into per-package CI). 2. **Containerfiles**: OCI labels added (source, license, description, revision, version) matching wuming pattern. 3. **Justfiles**: `publish-container` recipes updated from codeberg.org to `registry.marvin8.zone`, keep podman. 4. **Scaffolding**: AGENTS.md + CLAUDE.md symlinks at all three levels. LICENSE.md (AGPL-3.0-or-later), .editorconfig added. ruff.toml aligned: TID252, zhongli target-version py312, consistent ignores. Pre-commit hooks updated. Dependencies bumped (ruff 0.15.22, ty 0.0.61, uv 0.11.29). **Branch**: `feat/container-publish-and-modernization` **Commits**: - :tada: add AGENTS.md at all levels, LICENSE.md, .editorconfig; symlink CLAUDE.md - :wrench: align ruff.toml: TID252, py312 target, consistent ignores; enable zhongli format check - :recycle: apply ruff autofixes: py312 upgrades, format both packages - :wrench: add ruff-format, ruff-check, complexipy pre-commit hooks; align revs - :arrow_up: bump deps: ruff 0.15.22, ty 0.0.61, uv 0.11.29 - :construction_worker: fenliu CI + zhongli CI + weekly-checks + remove ai-review.yml - :label: add OCI labels to fenliu and zhongli Containerfiles - :truck: publish-container: switch to registry.marvin8.zone; add OCI build-args - :memo: note container publishing in Release-Notes
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
marvin8/dujiangyan#73
No description provided.