Add management commands for working with evolutions and project signatures.

Review Request #13109 — Created June 16, 2023 and submitted — Latest diff uploaded

Information

Django Evolution
release-2.x

Reviewers

This introduces two new management commands:

  • evolution-project-sig: Lists, shows, or deletes project signatures
  • mark-evolution-applied: Marks one or more evolutions as applied to
    the database.

These are advanced commands that are only intended for use when
diagnosing and repairing database upgrades, under the guidance of a
developer/support representative. They can permanently damage database
upgrades if not careful.

Both commands prompt for confirmation before executing any destructive
operations, with a big scary warning.

I've had these around in my tree for a while, using them to work on
database repairs. They've been pretty thoroughly tested.

Diff Revision 3 (Latest)

orig
1
2
3

Commits

First Last Summary ID Author
Add management commands for working with evolutions and project signatures.
This introduces two new management commands: * `evolution-project-sig`: Lists, shows, or deletes project signatures * `mark-evolution-applied`: Marks one or more evolutions as applied to the database. These are advanced commands that are only intended for use when diagnosing and repairing database upgrades, under the guidance of a developer/support representative. They can permanently damage database upgrades if not careful. Both commands prompt for confirmation before executing any destructive operations, with a big scary warning.
877a5440ba28b3755dce3dd220939042f363ad09 Christian Hammond
django_evolution/management/commands/evolution-project-sig.py
django_evolution/management/commands/mark-evolution-applied.py
docs/commands/evolution-project-sig.rst
docs/commands/index.rst
docs/commands/mark-evolution-applied.rst
Loading...