Members-Serverguide
This page contains some tips for people who are granted permissions to upload directly to the system documentation branches (by becoming members of the ubuntu-doc-commits team).
Applying a patch
To apply a patch submitted by a contributor:
Save the patch file in a suitable location, like ubuntu-doc/patches/ for example.
Change to the relevant branch on your computer:
cd ubuntu-doc/ubuntu-hardy
Apply the patch file
patch -p0 < patches/patch.diff
That's it! However, depending on how the patch was created, you made need to cd into the directory where the actual file to be patched resides. Simply cd into that directory, (e.g. ubuntu-hardy/ubuntu/internet/C) before applying the patch.
Bzr bundles are even easier to apply using the command
$ bzr merge address/to/bundle
Publishing changes
Members of the ubuntu-core-doc team can publish their changes directly to the branches. To do this, run
bzr push bzr+ssh://username@bazaar.launchpad.net/~ubuntu-core-doc/ubuntu-doc/name_of_branch
We recommend that members use the concept of Bound Branches so that the bzr commit command sends your changes directly to the appropriate branch on Launchpad. You can bind a branch by running
bzr bind bzr+ssh://me@bazaar.launchpad.net/~ubuntu-core-doc/ubuntu-doc/name_of_branch
(replace me with your Launchpad username)
For more information about using bound branches, see the bzr website.