[Django] #25526: Document how to output color from custom management commands

11 views
Skip to first unread message

Django

unread,
Oct 7, 2015, 5:36:21 PM10/7/15
to django-...@googlegroups.com
#25526: Document how to output color from custom management commands
------------------------------------------------+------------------------
Reporter: bmispelon | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
------------------------------------------------+------------------------
I think https://docs.djangoproject.com/en/dev/howto/custom-management-
commands/ should explain how you can output color from your command.

It basically boils down to documenting `BaseCommand.style` which should
not be too complicated.

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

Django

unread,
Oct 7, 2015, 5:44:37 PM10/7/15
to django-...@googlegroups.com
#25526: Document how to output color from custom management commands
--------------------------------------+------------------------------------

Reporter: bmispelon | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by charettes):

* version: 1.8 => master
* stage: Unreviewed => Accepted


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

Django

unread,
Oct 12, 2015, 1:12:09 AM10/12/15
to django-...@googlegroups.com
#25526: Document how to output color from custom management commands
--------------------------------------+------------------------------------
Reporter: bmispelon | Owner: Anagha22
Type: Cleanup/optimization | Status: assigned

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

* status: new => assigned
* owner: nobody => Anagha22


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

Django

unread,
Nov 8, 2015, 4:27:24 AM11/8/15
to django-...@googlegroups.com
#25526: Document how to output color from custom management commands
--------------------------------------+------------------------------------
Reporter: bmispelon | Owner: elenaoat

Type: Cleanup/optimization | Status: assigned
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by elenaoat):

* owner: Anagha22 => elenaoat


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

Django

unread,
Nov 9, 2015, 10:01:47 AM11/9/15
to django-...@googlegroups.com
#25526: Document how to output color from custom management commands
--------------------------------------+------------------------------------
Reporter: bmispelon | Owner: elenaoat
Type: Cleanup/optimization | Status: assigned
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

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

* needs_better_patch: 0 => 1
* has_patch: 0 => 1


Comment:

I left some comments for improvement on the
[https://github.com/django/django/pull/5611 pull request].

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

Django

unread,
Nov 11, 2015, 12:57:12 AM11/11/15
to django-...@googlegroups.com
#25526: Document how to output color from custom management commands
--------------------------------------+------------------------------------
Reporter: bmispelon | Owner: elenaoat
Type: Cleanup/optimization | Status: assigned
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by elenaoat):

* needs_better_patch: 1 => 0


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

Django

unread,
Nov 11, 2015, 4:45:58 PM11/11/15
to django-...@googlegroups.com
#25526: Document how to output color from custom management commands
--------------------------------------+------------------------------------
Reporter: bmispelon | Owner: elenaoat
Type: Cleanup/optimization | Status: assigned
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

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

* needs_better_patch: 0 => 1


Comment:

Left some more comments.

--
Ticket URL: <https://code.djangoproject.com/ticket/25526#comment:6>

Django

unread,
Nov 17, 2015, 6:24:08 PM11/17/15
to django-...@googlegroups.com
#25526: Document how to output color from custom management commands
--------------------------------------+------------------------------------
Reporter: bmispelon | Owner: elenaoat
Type: Cleanup/optimization | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Tim Graham <timograham@…>):

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


Comment:

In [changeset:"d26207d56cab21e3767121d53ebaddbbfc78a4ce" d26207d]:
{{{
#!CommitTicketReference repository=""
revision="d26207d56cab21e3767121d53ebaddbbfc78a4ce"
Fixed #25526 -- Documented how to output colored text in custom management
commands.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25526#comment:7>

Django

unread,
Nov 17, 2015, 6:25:31 PM11/17/15
to django-...@googlegroups.com
#25526: Document how to output color from custom management commands
--------------------------------------+------------------------------------
Reporter: bmispelon | Owner: elenaoat
Type: Cleanup/optimization | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"43da3179a46c9000532a46674424923d98f5434b" 43da3179]:
{{{
#!CommitTicketReference repository=""
revision="43da3179a46c9000532a46674424923d98f5434b"
[1.9.x] Fixed #25526 -- Documented how to output colored text in custom
management commands.

Backport of d26207d56cab21e3767121d53ebaddbbfc78a4ce from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25526#comment:8>

Django

unread,
Nov 17, 2015, 6:25:34 PM11/17/15
to django-...@googlegroups.com
#25526: Document how to output color from custom management commands
--------------------------------------+------------------------------------
Reporter: bmispelon | Owner: elenaoat
Type: Cleanup/optimization | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"a9f1ea32750be33385d7ba014f9ed63d6ee695d6" a9f1ea32]:
{{{
#!CommitTicketReference repository=""
revision="a9f1ea32750be33385d7ba014f9ed63d6ee695d6"
[1.8.x] Fixed #25526 -- Documented how to output colored text in custom
management commands.

Backport of d26207d56cab21e3767121d53ebaddbbfc78a4ce from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25526#comment:9>

Django

unread,
Nov 18, 2015, 10:43:30 AM11/18/15
to django-...@googlegroups.com
#25526: Document how to output color from custom management commands
--------------------------------------+------------------------------------
Reporter: bmispelon | Owner: elenaoat
Type: Cleanup/optimization | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"5f7f3b46853c958789361a7defda8ca3c3c2be53" 5f7f3b46]:
{{{
#!CommitTicketReference repository=""
revision="5f7f3b46853c958789361a7defda8ca3c3c2be53"
Refs #25526 -- Documented some missing termcolors.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25526#comment:10>

Django

unread,
Nov 18, 2015, 10:43:43 AM11/18/15
to django-...@googlegroups.com
#25526: Document how to output color from custom management commands
--------------------------------------+------------------------------------
Reporter: bmispelon | Owner: elenaoat
Type: Cleanup/optimization | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"e7c86871052b4bfb62a2fcc67ccd4fe441057463" e7c86871]:
{{{
#!CommitTicketReference repository=""
revision="e7c86871052b4bfb62a2fcc67ccd4fe441057463"
[1.9.x] Refs #25526 -- Documented some missing termcolors.

Backport of 5f7f3b46853c958789361a7defda8ca3c3c2be53 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25526#comment:11>

Django

unread,
Nov 18, 2015, 10:44:50 AM11/18/15
to django-...@googlegroups.com
#25526: Document how to output color from custom management commands
--------------------------------------+------------------------------------
Reporter: bmispelon | Owner: elenaoat
Type: Cleanup/optimization | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"e7da99abd41b483c8991581628d442296698b2bf" e7da99a]:
{{{
#!CommitTicketReference repository=""
revision="e7da99abd41b483c8991581628d442296698b2bf"
[1.8.x] Refs #25526 -- Documented some missing termcolors.

Backport of 5f7f3b46853c958789361a7defda8ca3c3c2be53 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25526#comment:12>

Reply all
Reply to author
Forward
0 new messages