This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

This page is just a brain dump, for now...

This project is not active anymore. All information on this page is likely very outdated and invalid.

Getting Started

The goal for members of the GNOME PatchSquad is to find potential problems in submitted patches. This page aims to show you how to begin doing this. This Getting Started section covers some things to keep in mind, the necessary background knowledge you'll need, and how to get your system setup so that you can begin doing reviews. The next section, Reviewing Patches, goes over the steps of patch review -- from finding a patch, to ways of testing the patch, to things to check for when reading it.

Things to keep in mind

There are various rules you should keep in mind throughout the patch review process:

Necessary preliminary steps

FIXME: We need to write or link to the relevant pages for these

Reviewing Patches

(Maybe I should mention something about expected time requirements? This isn't anything like the Bugsquad; it will require far more time to review patches than to triage bugs)

Step by Step

  1. Get a bugzilla account

  2. Find a patch to review

  3. Read it thoroughly

    • Read up on all the functions used in the patch to understand what they do (devhelp or google for developer.gnome.org documentation).
  4. Read the surrounding code

    • Do the same, check for problems such as those in the list(s) below.
  5. Test the patch

    • Maybe run it under some special tools (lint, valgrind, others?).

      You can test patches quickly and easily with conary and the Gnome Developer Kit as documented on the Building Packages page.

  6. Add yourself to the CC list

    • It's important to keep track of further changes (comments, new patches, status) so that you can react accordingly.
  7. Report anything wrong with the patch

    • Set the preliminary-review patch status
  8. Watch the module in your bugzilla userprefs

FIXME: What else is missing?

Examples of Problems to check for

Finding problems can cover a huge range of checks, depending on the reviewers expertise, covering things like


2024-10-23 11:35