9
You will need to add a public SSH key to Launchpad to be able to push branches
10
up for merging. To do this:
12
#. Generate an SSH key (information on how to do this is in `Launchpad's help pages <https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair>`_)
13
#. Go to `your SSH keys page <https://launchpad.net/people/+me/+editsshkeys>`_
14
#. Paste your public key into the text box and click the *Import public key*
20
You will need to prepare a directory for working with Drizzle, the following
21
example will assume you want to do this in ~/repos/drizzle:
29
At this stage you now have an initialized a directory for bzr to use. Revision
30
data will be stored here to save it having to be downloaded/stored for every
36
bzr branch lp:drizzle trunk
38
This will take a little while, it is getting all the revisions since the
39
beginning of the repository. This should only ever need to be done once though.
43
bzr branch trunk drizzle-bug-NNNNNN
46
This creates a branch from trunk for you to work on.
51
All commits need to have a proper description of the changes made. This is so
52
that future developers can dig through the bzr log to find out why a certain
55
When committing a bug fix please use:
59
bzr commit --fixes lp:NNNNNN
61
This will automatically attach the branch to the bug report when the branch is
67
Our coding standards can be found inside the
68
`Drizzle wiki <http://wiki.drizzle.org/Coding_Standards>`_.
73
Where possible SQL test cases should be created for your code. Our test cases
74
for bug fixes should be in the ``tests/suite/regression`` directory. For more
75
information about creating test cases please see the :ref:`test run <test-run-label>`
76
section of our documentation.
81
When you want to push your branch to Launchpad for others to see or for merging
86
bzr push lp:~username/drizzle/trunk-bug-NNNNNN
88
This will create the branch on Launchpad which you will be able to see on the
89
`code page <https://code.launchpad.net/drizzle>`_. If you make some more commits you simply need to do just ``bzr push`` to get those revisions on Launchpad
95
Once your work is done and ready for review you can go to the
96
`code page <https://code.launchpad.net/drizzle>`_, click on your branch and you
97
will see a link saying *Propose for merging*.
99
In this screen simply fill in what this branch does and click the
100
*Propose Merge* button. Someone will review the branch, usually within a day or
101
two and if approved it will go though our rigourous testing process which can
102
take several hours. If it needs more work feedback will always be given to