Repository navigation
Whiteboard Plugin v0.1.1
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 onlymigrations/versions/ - 🔧
Boardmodel now declares__table_args__ = {"extend_existing": True}to avoid SQLAlchemyMetaDataconflicts on module reload (matches thecarbonplugin convention) - 🏗️
post_installhook runsnpm install && npm run buildfor from-source installs that don't already shipfrontend/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.tomlat archive root as Zou expects. Fixes extraction errors on Linux when the previous ZIP was produced with PowerShellCompress-Archive. - 📖 README clearly warns against running
zou install-plugin --path .from inside the plugin folder — Zou's defaultPLUGIN_FOLDERis./plugins/, so source and destination overlap andshutil.copytreerecurses 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, orDATABASE_URL). - ℹ️ Explicit
Zou >= 1.0.23requirement; 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.zipPackage 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 |