[Django] #23309: call_commands laks some code to act like as run_from_argv

13 views
Skip to first unread message

Django

unread,
Aug 17, 2014, 6:21:17 PM8/17/14
to django-...@googlegroups.com
#23309: call_commands laks some code to act like as run_from_argv
--------------------------------------------+--------------------
Reporter: rsalmaso | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (Management commands) | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------------+--------------------
https://code.djangoproject.com/changeset/2cc8ffe2580080 made call_command
accept option name parameter, but lacks the legagy optparse hack as found
in django/core/management/base.py:352-357

--
Ticket URL: <https://code.djangoproject.com/ticket/23309>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 17, 2014, 6:42:40 PM8/17/14
to django-...@googlegroups.com
#23309: call_commands laks some code to act like as run_from_argv
-------------------------------------+-------------------------------------

Reporter: rsalmaso | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (Management | Version: master
commands) | Resolution:
Severity: Normal | Triage Stage:
Keywords: | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by rsalmaso):

* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0


Comment:

I've made a PR https://github.com/django/django/pull/3081
Added missing code and some tests.

--
Ticket URL: <https://code.djangoproject.com/ticket/23309#comment:1>

Django

unread,
Aug 18, 2014, 2:48:04 AM8/18/14
to django-...@googlegroups.com
#23309: call_commands laks some code to act like as run_from_argv
-------------------------------------+-------------------------------------
Reporter: rsalmaso | Owner: nobody
Type: Bug | Status: new

Component: Core (Management | Version: master
commands) | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by claudep):

* has_patch: 0 => 1
* type: Uncategorized => Bug
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/23309#comment:2>

Django

unread,
Aug 18, 2014, 10:21:58 AM8/18/14
to django-...@googlegroups.com
#23309: call_commands laks some code to act like as run_from_argv
-------------------------------------+-------------------------------------
Reporter: rsalmaso | Owner: nobody

Type: Bug | Status: new
Component: Core (Management | Version: master
commands) | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------

Comment (by rsalmaso):

Update PR https://github.com/django/django/pull/3081

--
Ticket URL: <https://code.djangoproject.com/ticket/23309#comment:3>

Django

unread,
Aug 18, 2014, 11:06:34 AM8/18/14
to django-...@googlegroups.com
#23309: call_commands lacks some code to act like as run_from_argv
-------------------------------------+-------------------------------------
Reporter: rsalmaso | Owner: nobody

Type: Bug | Status: new
Component: Core (Management | Version: master
commands) | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------

--
Ticket URL: <https://code.djangoproject.com/ticket/23309#comment:4>

Django

unread,
Aug 18, 2014, 11:55:03 AM8/18/14
to django-...@googlegroups.com
#23309: call_commands lacks some code to act like as run_from_argv
-------------------------------------+-------------------------------------
Reporter: rsalmaso | Owner: nobody
Type: Bug | Status: closed

Component: Core (Management | Version: master
commands) | Resolution: fixed

Severity: Normal | Triage Stage: Accepted
Keywords: | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by Claude Paroz <claude@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"e0a98e2374b1d7660ef3841a5bb2626f1c69970a"]:
{{{
#!CommitTicketReference repository=""
revision="e0a98e2374b1d7660ef3841a5bb2626f1c69970a"
Fixed #23309 -- Fixed call_command to parse args correctly
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23309#comment:5>

Reply all
Reply to author
Forward
0 new messages