On Tue, Oct 20, 2015 at 1:48 PM, Jon Dufresne <jon.dufre...@gmail.com> wrote: > On Tue, Oct 20, 2015 at 1:18 PM, Shai Berger <s...@platonix.com> wrote: >> On second thought, I take that back. >> >> As is evident from the discussion Jon cited[1], the --exit flag was intended >> to >> be used as Marc's --check. Jon is basically correct in his analysis, and I >> think the root issue is that "--exit" is just a bad name for "--check". >> >> [1] >> https://groups.google.com/d/topic/django-developers/I3M6B-wYYd8/discussion > > How would you feel about putting "--exit" on a deprecation path and > replacing it with a "--check" flag? The "--check" flag would return 0 > if no migrations are missing and non-zero if they are missing.
To get a sense of what this would mean, I've created a POC with this idea at: https://github.com/django/django/pull/5453 If the idea and design is well received, I'll create a ticket and continue with it. Thanks, Jon -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CADhq2b47ioAcHa9wB0baV1KNGaO3uOdGhw68Pt5S4s1Y-GZhZQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.