Skip to content

feat: Support packages defining pogo plugins to provide additional schema management. - #7

Merged
EdgyEdgemond merged 1 commit into
mainfrom
feat/6
Sep 21, 2026
Merged

EdgyEdgemond merged 1 commit into
mainfrom
feat/6

Conversation

@EdgyEdgemond

@EdgyEdgemond EdgyEdgemond commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

my_package/pogo.py

from pathlib import Path

from pogo_core.util.plugins import Plugin


plugin = Plugin(
    migrations=Path(__file__).parent / "migrations",
    schema="my_package",
)

pyproject.toml

[project.entry-points.pogo]
my-package = "my_package.pogo"

closes #6

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.72%. Comparing base (2272b27) to head (dd446c9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
+ Coverage   97.60%   97.72%   +0.12%     
==========================================
  Files           8        9       +1     
  Lines         417      440      +23     
  Branches       52       56       +4     
==========================================
+ Hits          407      430      +23     
  Misses          6        6              
  Partials        4        4              
Flag Coverage Δ
unittests 97.72% <100.00%> (+0.12%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@EdgyEdgemond
EdgyEdgemond merged commit f5a33bd into main Sep 21, 2026
17 checks passed
@EdgyEdgemond
EdgyEdgemond deleted the feat/6 branch September 21, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: support migrations shipped by installed packages

2 participants