SubmittingChanges

From AWN Wiki

Jump to: navigation, search

[edit] Submitting Changes to Awn/Awn Extras

Depending on the size of the changes, there are a couple of methods to submit them to Awn or Awn Extras. The first thing to do, regardless of size, is file a bug if one has not already been filed.

The next step, regardless of size, assumes that you know how to use Bazaar, particularly how to create your own copy of another branch.

[edit] Small Changes (Patches)

For small changes, it is acceptable to submit either a patch, or a branch ready to be merged. Merging branches is discussed in the next section.

To create a patch:

  1. Create a copy of the branch in question, usually either lp:awn or lp:awn-extras.
  2. Make your changes.
  3. Run the command:
    bzr diff --diff-options=-p > [name-of-patch].patch
    where [name-of-patch] is a short summary of the patch. What this does is encode the changes into a human/machine-readable format, including the context in which the changes are made.
  4. Attach the patch to the bug.

[edit] Small to Large Changes (Branches)

(TODO)