Patch status
Все патчи должны иметь ссылку на ошибку в вышестоящем проекте или комментарий
All patches in Fedora spec files SHOULD have a comment above them about their upstream status. Any time you create a patch, it is best practice to file it in an upstream bug tracker, and include a link to that in the comment above the patch. For example:
# https://bugzilla.gnome.org/show_bug.cgi?id=12345 Patch: gnome-panel-fix-frobnicator.patch
Приведённое выше вполне приемлемо; но если вы предпочитаете, краткий комментарий о том, что делает патч, выше может быть полезен:
# Не падать с апплетом frobnicator # https://bugzilla.gnome.org/show_bug.cgi?id=12345 Patch: gnome-panel-fix-frobnicator.patch
Sending patches upstream and adding this comment will help ensure that Fedora is acting as a good FLOSS citizen (see Staying Close to Upstream Projects). It will help others (and even you) down the line in package maintenance by knowing what patches are likely to appear in a new upstream release.
Если у вышестоящего проекта нет трекера ошибок
Вы можете указать, что вы отправили патч в вышестоящий проект, и любой известный статус:
# Отправлено в вышестоящий проект по электронной почте 20080407 Patch: foobar-fix-the-bar.patch
# Вышестоящий проект применил это в транке SVN Patch: foobar-fix-the-baz.patch
Want to help? Learn how to contribute to Fedora Docs ›