2
0

bugs-and-features.txt 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. ======================================
  2. Reporting bugs and requesting features
  3. ======================================
  4. .. Important::
  5. Please report security issues **only** to
  6. security@djangoproject.com. This is a private list only open to
  7. long-time, highly trusted Django developers, and its archives are
  8. not public. For further details, please see :doc:`our security
  9. policies </internals/security>`.
  10. Otherwise, before reporting a bug or requesting a new feature on the
  11. `ticket tracker <https://code.djangoproject.com/>`_, consider these points:
  12. * Check that someone hasn't already filed the bug or feature request by
  13. `searching`_ or running `custom queries`_ in the ticket tracker.
  14. * Don't use the ticket system to ask support questions. Use the
  15. |django-users| list or the `#django`_ IRC channel for that.
  16. * Don't reopen issues that have been marked "wontfix" without finding consensus
  17. to do so on the `Django Forum`_ or |django-developers| list.
  18. * Don't use the ticket tracker for lengthy discussions, because they're
  19. likely to get lost. If a particular ticket is controversial, please move the
  20. discussion to the `Django Forum`_ or |django-developers| list.
  21. .. _reporting-bugs:
  22. Reporting bugs
  23. ==============
  24. Well-written bug reports are *incredibly* helpful. However, there's a certain
  25. amount of overhead involved in working with any bug tracking system so your
  26. help in keeping our ticket tracker as useful as possible is appreciated. In
  27. particular:
  28. * **Do** read the :doc:`FAQ </faq/index>` to see if your issue might
  29. be a well-known question.
  30. * **Do** ask on |django-users| or `#django`_ *first* if you're not sure if
  31. what you're seeing is a bug.
  32. * **Do** write complete, reproducible, specific bug reports. You must
  33. include a clear, concise description of the problem, and a set of
  34. instructions for replicating it. Add as much debug information as you can:
  35. code snippets, test cases, exception backtraces, screenshots, etc. A nice
  36. small test case is the best way to report a bug, as it gives us a
  37. helpful way to confirm the bug quickly.
  38. * **Don't** post to |django-developers| only to announce that you have filed a
  39. bug report. All the tickets are mailed to another list, |django-updates|,
  40. which is tracked by developers and interested community members; we see them
  41. as they are filed.
  42. To understand the lifecycle of your ticket once you have created it, refer to
  43. :doc:`triaging-tickets`.
  44. Reporting user interface bugs and features
  45. ==========================================
  46. If your bug or feature request touches on anything visual in nature, there
  47. are a few additional guidelines to follow:
  48. * Include screenshots in your ticket which are the visual equivalent of a
  49. minimal test case. Show off the issue, not the crazy customizations
  50. you've made to your browser.
  51. * If the issue is difficult to show off using a still image, consider
  52. capturing a *brief* screencast. If your software permits it, capture only
  53. the relevant area of the screen.
  54. * If you're offering a patch that changes the look or behavior of Django's
  55. UI, you **must** attach before *and* after screenshots/screencasts.
  56. Tickets lacking these are difficult for triagers to assess quickly.
  57. * Screenshots don't absolve you of other good reporting practices. Make sure
  58. to include URLs, code snippets, and step-by-step instructions on how to
  59. reproduce the behavior visible in the screenshots.
  60. * Make sure to set the UI/UX flag on the ticket so interested parties can
  61. find your ticket.
  62. Requesting features
  63. ===================
  64. We're always trying to make Django better, and your feature requests are a key
  65. part of that. Here are some tips on how to make a request most effectively:
  66. * Make sure the feature actually requires changes in Django's core. If your
  67. idea can be developed as an independent application or module — for
  68. instance, you want to support another database engine — we'll probably
  69. suggest that you develop it independently. Then, if your project gathers
  70. sufficient community support, we may consider it for inclusion in Django.
  71. * First request the feature on the `Django Forum`_ or |django-developers| list,
  72. not in the ticket tracker. It'll get read more closely if it's on the mailing
  73. list. This is even more important for large-scale feature requests. We like
  74. to discuss any big changes to Django's core before actually working on them.
  75. * Describe clearly and concisely what the missing feature is and how you'd
  76. like to see it implemented. Include example code (non-functional is OK)
  77. if possible.
  78. * Explain *why* you'd like the feature. Explaining a minimal use case will help
  79. others understand where it fits in, and if there are already other ways of
  80. achieving the same thing.
  81. If there's a consensus agreement on the feature, then it's appropriate to
  82. create a ticket. Include a link to the discussion in the ticket description.
  83. See also: :ref:`documenting-new-features`.
  84. Requesting performance optimizations
  85. ====================================
  86. Reports of a performance regression, or suggested performance optimizations,
  87. should provide benchmarks and commands for the ticket triager to reproduce.
  88. See the :ref:`django-asv-benchmarks` for more details of Django's existing
  89. benchmarks.
  90. .. _how-we-make-decisions:
  91. How we make decisions
  92. =====================
  93. Whenever possible, we strive for a rough consensus. To that end, we'll often
  94. have informal votes on |django-developers| or the Django Forum about a feature.
  95. In these votes we follow the voting style invented by Apache and used on Python
  96. itself, where votes are given as +1, +0, -0, or -1.
  97. Roughly translated, these votes mean:
  98. * +1: "I love the idea and I'm strongly committed to it."
  99. * +0: "Sounds OK to me."
  100. * -0: "I'm not thrilled, but I won't stand in the way."
  101. * -1: "I strongly disagree and would be very unhappy to see the idea turn
  102. into reality."
  103. Although these votes are informal, they'll be taken very seriously. After a
  104. suitable voting period, if an obvious consensus arises we'll follow the votes.
  105. However, consensus is not always possible. If consensus cannot be reached, or
  106. if the discussion toward a consensus fizzles out without a concrete decision,
  107. the decision may be deferred to the :ref:`steering council <steering-council>`.
  108. Internally, the steering council will use the same voting mechanism. A
  109. proposition will be considered carried if:
  110. * There are at least three "+1" votes from members of the steering council.
  111. * There is no "-1" vote from any member of the steering council.
  112. Votes should be submitted within a week.
  113. Since this process allows any steering council member to veto a proposal, a
  114. "-1" vote should be accompanied by an explanation of what it would take to
  115. convert that "-1" into at least a "+0".
  116. Votes on technical matters should be announced and held in public on the
  117. |django-developers| mailing list or on the `Django Forum`_.
  118. .. _searching: https://code.djangoproject.com/search
  119. .. _custom queries: https://code.djangoproject.com/query
  120. .. _#django: https://web.libera.chat/#django
  121. .. _Django Forum: https://forum.djangoproject.com/