Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#22194 closed New feature (fixed)

Add ability to introspect available tags

Reported by: Russell Keith-Magee Owned by: Tomáš Ehrlich
Component: Core (System checks) Version: 1.7-alpha-1
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Via discussion on django-developers

The system check framework can be invoked with a --tags option to reduce the range of checks that are executed; however, there isn't an easy way to find out what tags are available.

We should add a --listtags option to list all registered tags.

Attachments (1)

listtags.diff (2.9 KB ) - added by Tomáš Ehrlich 11 years ago.
Add --list-tags option to 'check' management command.

Download all attachments as: .zip

Change History (4)

by Tomáš Ehrlich, 11 years ago

Attachment: listtags.diff added

Add --list-tags option to 'check' management command.

comment:1 by Tomáš Ehrlich, 11 years ago

Has patch: set
Owner: changed from nobody to Tomáš Ehrlich
Status: newassigned

Added --list-tags option. Personaly I prefear it over --listtags variant, but looking at few management commands, there's no rule whether to convert spaces to - or not.

comment:2 by Tim Graham <timograham@…>, 11 years ago

Resolution: fixed
Status: assignedclosed

In 395d75ea6bd1ee5259fd5a3b3ac1b028739a22d2:

Fixed #22194 -- Added --list-tags option to check command.

Thanks Elvard for the patch.

comment:3 by Tim Graham <timograham@…>, 11 years ago

In ddd25b280f69ffcb5eb7ab2695c6094256090947:

[1.7.x] Fixed #22194 -- Added --list-tags option to check command.

Thanks Elvard for the patch.

Backport of 395d75ea6b from master

Note: See TracTickets for help on using tickets.
Back to Top