Paikkauksen tila

Kaikissa korjauksissa tulisi olla ylävirran bugilinkki tai kommentti

Kaikissa Fedoran erittelytiedostojen korjaustiedostoissa PITÄISI olla yllä kommentti niiden tilasta palvelimella. Aina kun luot korjaustiedoston, on parasta käytäntöä tallentaa se palvelimen virheenseurantaan ja sisällyttää linkki siihen korjaustiedoston yläpuolella olevaan kommenttiin. Esimerkiksi:

# https://bugzilla.gnome.org/show_bug.cgi?id=12345
Patch: gnome-panel-fix-frobnicator.patch

Yllä oleva on täysin hyväksyttävää, mutta jos haluat, lyhyt kommentti yllä olevan päivityksen toiminnasta voi olla hyödyllinen:

# Don't crash with frobnicator applet
# 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.

If upstream doesn’t have a bug tracker

You can indicate that you have sent the patch upstream and any known status:

# Sent upstream via email 20080407
Patch: foobar-fix-the-bar.patch
# Upstream has applied this in SVN trunk
Patch: foobar-fix-the-baz.patch

Fedora-specific (or rejected upstream) patches

It may be that some patches truly are Fedora-specific; in that case, say so:

# This patch is temporary until we land the long term System.loadLibrary fix in OpenJDK
Patch: jna-jni-path.patch