Patches

From Synergy Wiki
Jump to: navigation, search

Where are they?

In the issue tracker (patches).

Applying Patches

Applying patches to Synergy can be somewhat tricky, beware of the following caveats:

  • Many of the patches in the issue tracker are very old, so you'll be lucky if they match the current source code.
  • Users who write the patch may not have cross-platform compatability in mind;
    • Patches may not only break the build, but it may discreetly break functionality on other operating systems.
  • Look for any potential security flaws.

Proceedure

  1. Choose the version to patch
    • Always apply to the lowest version you wish to support (then merge upward)
    • High number of votes, choose a stable release (e.g. 1.3, as of Jan 2011).
    • Low number of votes, choose a beta release (e.g. 1.4, as of Jan 2011).
  2. Check out the latest version of the source code
  3. Attempt to reproduce the bug
    • Never patch bugs you can't reproduce
  4. Apply the patch
  5. Test to see if the fix has worked
  6. Commit the fix to the repository
  7. Merge the fix to later versions
  8. Update the issue (e.g. "Fixed in r123")
  9. Set the issue status to Fixed
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox