#29026: Make makemigrations scriptable / script-friendly
-------------------------------------+-------------------------------------
Reporter: Chris Jerdonek | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Migrations | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
makemigrations,scripting,stderr,stdout| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Chris Jerdonek):
I don't consider parsing log output with regexes to be structured output
or a programmatic API. That seems brittle and unnecessarily complicated,
and also would be hard for Django to make backwards compatibility
guarantees about.
What I had in mind was something like log output going to stderr, and the
paths of the created files going to stdout -- one per line. If something
fancier was needed, json could be outputted. With something like that,
there wouldn't be any need for regex parsing and the API would be well-
defined.
--
Ticket URL: <https://code.djangoproject.com/ticket/29026#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.533b86c5df809183575516cd518126b0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.