I know it is two more chars but I feel like most tools also allow "y"
together with "yes". Today I automatically typed "y" and pressed enter
several times and spent around 2-3 minutes to find where I went wrong.
Also it would be a good first contribution opportunity.
--
Ticket URL: <https://code.djangoproject.com/ticket/29914>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => invalid
Comment:
Hey there,
Most of Django commands have a `--noinput` flag for this purpose,
[https://docs.djangoproject.com/en/2.1/ref/contrib/staticfiles/#cmdoption-
collectstatic-noinput collectstatic is no different].
This is a question that would have been easily resolved through
[https://docs.djangoproject.com/en/2.1/internals/contributing/bugs-and-
features/#reporting-bugs support channels so please avoid filling bugs
before filling out a bug report].
--
Ticket URL: <https://code.djangoproject.com/ticket/29914#comment:1>
* component: Uncategorized => contrib.staticfiles
* type: Uncategorized => Cleanup/optimization
* resolution: invalid => wontfix
Comment:
Simon, I think you missed the point of the suggestion, allowing 'y'
instead of 'yes' as confirmation for the interactive prompt. Anyway, I
don't see a huge advantage to the proposed change. Considering the
confirmation involves deleting files, ensuring that users read it
carefully and follow instructions seems okay to me.
--
Ticket URL: <https://code.djangoproject.com/ticket/29914#comment:2>
Comment (by Simon Charette):
You are right Tim, sorry for the rough answer Jahongir. I misread your
report as a request to add a `-y` flag to the `collectstatic` command.
--
Ticket URL: <https://code.djangoproject.com/ticket/29914#comment:3>
Comment (by Jahongir):
Simon, that's okay. Probably I didn't do a good job of explaining my
suggestion. After Tim's response, I agree that it is not a good idea.
Thank you.
--
Ticket URL: <https://code.djangoproject.com/ticket/29914#comment:4>