#24820: Add functionality to handle keyboard prompts during migrations for
automated deployments
-------------------------------------+-------------------------------------
     Reporter:  Protosac             |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  Migrations           |                  Version:  1.7
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  migration,           |             Triage Stage:
  automatic deployment               |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Protosac):

 Replying to [comment:2 timgraham]:
 > I don't think the problem of running management commands with a
 particular set of keyboard inputs is a problem we should try to solve.
 That seems brittle and not something we should encourage.
 >
 > The ability to programmatically delete stale content types seems like a
 reasonable request. Feel free to open a separate ticket. I'm not entirely
 happy with your patch since the proposed `force_remove` kwarg causes the
 `interactive` kwarg to be ignored which seems a bit confusing, but maybe
 it's acceptable. I don't have an alternate proposal at the moment.

 Before I open a new ticket I'd like some clarification.

 My solution doesn't ignore `interactive`; it actually gives the developer
 the option *to* interact by responding 'yes' to the change automatically.
 It does this only when the function is invoked in the specific migration
 file.

 What would you like a new ticket say? If this is a problem the team is
 interested in addressing, I can just as easily modify this ticket to be
 clearer, but the problem itself won't be any different in a new ticket. Am
 I misunderstanding what you're proposing? Thanks.

--
Ticket URL: <https://code.djangoproject.com/ticket/24820#comment:3>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.636819d73ba0acc17bef82facc3951ea%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to