mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-08 15:53:18 +08:00
I'm taking on #235. This is all stuff that came up while doing a cursory package review myself. - The source files all state that they are MIT, but the specfile and repo claimed to be GPL. I switched everything to MIT (even though I favor GPL.. the source was MIT first before it was incorrectly labelled GPL). - There are various bugs and lint issues in the specfile fixed here. - Notably, the systemd service file is missing from the 1.0.0 tarball on PyPI, so I'll need to do a new release after this.
23 lines
412 B
Mako
23 lines
412 B
Mako
"""${message}
|
|
|
|
Revision ID: ${up_revision}
|
|
Revises: ${down_revision}
|
|
Create Date: ${create_date}
|
|
|
|
"""
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = ${repr(up_revision)}
|
|
down_revision = ${repr(down_revision)}
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
${imports if imports else ""}
|
|
|
|
def upgrade():
|
|
${upgrades if upgrades else "pass"}
|
|
|
|
|
|
def downgrade():
|
|
${downgrades if downgrades else "pass"}
|
|
|