Skip to content

Whiteboard Plugin v0.1.1

Choose a tag to compare

@bucz-co bucz-co released this 15 Apr 10:42
· 9 commits to master since this release

v0.1.1 — conformance + install fixes

Thanks to Frank Rousseau (CGWire), Pete Draper, and Mielnicki for the feedback that drove this release.

Plugin conformance (cgwire/zou plugin template)

  • 🧹 Removed migrations/env.py, migrations/alembic.ini, migrations/script.py.mako — Zou manages Alembic centrally; plugins ship only migrations/versions/
  • 🔧 Board model now declares __table_args__ = {"extend_existing": True} to avoid SQLAlchemy MetaData conflicts on module reload (matches the carbon plugin convention)
  • 🏗️ post_install hook runs npm install && npm run build for from-source installs that don't already ship frontend/dist/

Install reliability

  • 📦 Release ZIP is now built with a cross-platform Python packer (scripts/pack_release.py) — forward-slash paths, Unix (0644) permissions, manifest.toml at archive root as Zou expects. Fixes extraction errors on Linux when the previous ZIP was produced with PowerShell Compress-Archive.
  • 📖 README clearly warns against running zou install-plugin --path . from inside the plugin folder — Zou's default PLUGIN_FOLDER is ./plugins/, so source and destination overlap and shutil.copytree recurses into itself. Fix: run from the parent directory or use the ZIP.
  • 🗄️ README now documents the PostgreSQL environment variables required when the DB is on an external machine (DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, DB_PASSWORD, or DATABASE_URL).
  • ℹ️ Explicit Zou >= 1.0.23 requirement; Node.js listed as optional (not needed for ZIP install or git clone).

Upgrade

# Download the ZIP from this release, then:
zou install-plugin --path ~/kitsu-whiteboard-plugin.zip

Package contents

Path Purpose
manifest.toml Plugin metadata
__init__.py Route registration + lifecycle hooks
models.py Board SQLAlchemy model
resources.py Flask-RESTful endpoints
services.py Business logic
migrations/versions/001_create_board_table.py DB migration
frontend/dist/ Prebuilt Vue 3 app