Opened 17 months ago

Closed 16 months ago

Last modified 16 months ago

#22194 closed New feature (fixed)

Add ability to introspect available tags

Reported by: russellm Owned by: Elvard
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 Elvard 17 months ago.
Add --list-tags option to 'check' management command.

Download all attachments as: .zip

Change History (4)

Changed 17 months ago by Elvard

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

comment:1 Changed 17 months ago by Elvard

  • Has patch set
  • Owner changed from nobody to Elvard
  • Status changed from new to assigned

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 Changed 16 months ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 395d75ea6bd1ee5259fd5a3b3ac1b028739a22d2:

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

Thanks Elvard for the patch.

comment:3 Changed 16 months ago by Tim Graham <timograham@…>

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