Zgłaszanie błędów i prośby o funkcjonalności
Ważne
Prosimy o zgłaszanie problemów z bezpieczeństwem tylko do security@djangoproject.com. Jest to prywatna lista otwarta tylko dla deweloperów Django o długim stażu i wysokim zaufaniu a jej archiwa nie są publiczne. Po dalsze szczegóły, prosimy zobaczyć nasze polityki bezpieczeństwa.
W przeciwnym razie, zanim powiadomisz o błędzie lub poprosisz o nową funkcjonalność w systemie zgłoszeń <https://code.djangoproject.com/>, rozważ następujące punkty:
- Sprawdź, czy ktoś nie złożył już zgłoszenia buga lub przyszłej funkcjonalności szukając lub uruchamiając custom queries w systemie zgłoszeń.
- Nie używaj systemu zgłoszeń, aby zadawać pytania o wsparcie. Do tego używaj listy django-users lub kanału IRC #django.
- Nie otwieraj ponownie zgłoszeń, które zostały oznaczone jako „wontfix”, bez osiągnięcia konsensusu, aby tak zrobić, na django-developers.
- Nie używaj systemu zgłoszeń do długich dyskusji, ponieważ łatwiej je przeoczyć. Jeśli szczególne zgłoszenie jest kontrowersyjne, przenieś proszę dyskusję na django-developers.
Powiadamianie o błędach
Dobrze napisane raporty błędów są niesamowicie pomocne. Jednakże w pracy z jakimkolwiek systemem zgłaszania błędów zawsze jest pewien koszt, więc doceniona zostanie twoja pomoc w utrzymaniu systemu tak użytecznym jak to możliwe. W szczególności:
- Przeczytaj FAQ, aby zobaczyć czy twoje zgłoszenie nie jest dobrze znanym pytaniem.
- Zapytaj najpierw na django-users lub #django, jeśli nie jesteś pewien, czy to co widzisz, to błąd.
- Pisz kompletne, odtwarzalne, konkretne zgłoszenia błędów. Musisz zawrzeć czytelny, zwarty opis problemu i zestaw instrukcji, jak go odtworzyć. Dodaj tak dużo informacji debugowania jak możesz: skrawki kodu, testy, ślad powrotny wyjątku, zrzut ekranu i tym podobne. Ładny mały test jest najlepszym sposobem na zgłoszenie błędu, jako że szybko i w prosty sposób pozwala potwierdzić błąd.
- Nie pisz na django-developers tylko po to, by ogłosić, że umieściłeś raport błędu. Wszystkie zgłoszenia są wysyłane na inną listę, django-updates, która jest śledzona przez deweloperów i zainteresowanych członków społeczności; widzimy je kiedy spływają.
Aby zrozumieć cykl życia zgłoszenia po jego stworzeniu, przejdź do Triaging tickets.
Zgłaszanie błędów i funkcjonalności interfejsu użytkownika
If your bug or feature request touches on anything visual in nature, there
are a few additional guidelines to follow:
- Include screenshots in your ticket which are the visual equivalent of a
minimal testcase. Show off the issue, not the crazy customizations
you’ve made to your browser.
- If the issue is difficult to show off using a still image, consider
capturing a brief screencast. If your software permits it, capture only
the relevant area of the screen.
- If you’re offering a patch which changes the look or behavior of Django’s
UI, you must attach before and after screenshots/screencasts.
Tickets lacking these are difficult for triagers to assess quickly.
- Screenshots don’t absolve you of other good reporting practices. Make sure
to include URLs, code snippets, and step-by-step instructions on how to
reproduce the behavior visible in the screenshots.
- Make sure to set the UI/UX flag on the ticket so interested parties can
find your ticket.
Requesting features
We’re always trying to make Django better, and your feature requests are a key
part of that. Here are some tips on how to make a request most effectively:
- Make sure the feature actually requires changes in Django’s core. If your
idea can be developed as an independent application or module — for
instance, you want to support another database engine — we’ll probably
suggest that you to develop it independently. Then, if your project
gathers sufficient community support, we may consider it for inclusion in
Django.
- First request the feature on the django-developers list, not in the
ticket tracker. It’ll get read more closely if it’s on the mailing list.
This is even more important for large-scale feature requests. We like to
discuss any big changes to Django’s core on the mailing list before
actually working on them.
- Describe clearly and concisely what the missing feature is and how you’d
like to see it implemented. Include example code (non-functional is OK)
if possible.
- Explain why you’d like the feature. In some cases this is obvious, but
since Django is designed to help real developers get real work done,
you’ll need to explain it, if it isn’t obvious why the feature would be
useful.
If there’s a consensus agreement on the feature, then it’s appropriate to
create a ticket. Include a link the discussion on django-developers in the
ticket description.
As with most open-source projects, code talks. If you are willing to write the
code for the feature yourself or, even better, if you’ve already written it,
it’s much more likely to be accepted. Just fork Django on GitHub, create a
feature branch, and show us your work!
See also: Documenting new features.
How we make decisions
Whenever possible, we strive for a rough consensus. To that end, we’ll often
have informal votes on django-developers about a feature. In these votes we
follow the voting style invented by Apache and used on Python itself, where
votes are given as +1, +0, -0, or -1. Roughly translated, these votes mean:
- +1: „I love the idea and I’m strongly committed to it.”
- +0: „Sounds OK to me.”
- -0: „I’m not thrilled, but I won’t stand in the way.”
- -1: „I strongly disagree and would be very unhappy to see the idea turn
into reality.”
Although these votes on django-developers are informal, they’ll be taken very
seriously. After a suitable voting period, if an obvious consensus arises we’ll
follow the votes.
However, consensus is not always possible. If consensus cannot be reached, or
if the discussion towards a consensus fizzles out without a concrete decision,
the decision may be deferred to the technical board.
Internally, the technical board will use the same voting mechanism. A
proposition will be considered carried if:
- There are at least three „+1” votes from members of the technical board.
- There is no „-1” vote from any member of the technical board.
Votes should be submitted within a week.
Since this process allows any technical board member to veto a proposal, a
„-1” vote should be accompanied by an explanation of what it would take to
convert that „-1” into at least a „+0”.
Votes on technical matters should be announced and held in public on the
django-developers mailing list.