Anyone with a Launchpad account can publish their own branches. It's by far the best way to contribute code to Upstart.

Grab a copy of the libnih and Upstart source onto your machine, and link them together. Note the use of bzr branch here:

 $ bzr branch http://bazaar.launchpad.net/~scott/libnih/trunk libnih
 $ bzr branch http://bazaar.launchpad.net/~scott/upstart/trunk upstart
 $ cd upstart
 $ ../libnih/nihify

(see also CompilingUpstart for a more detailed procedure)

To publish your changes, make sure you have a Launchpad account and have registered your SSH key with it. Start here if you don't: https://launchpad.net/+login

You can then push to a special sftp URL that identifies the branch:

  sftp://USERNAME@bazaar.launchpad.net/~USERNAME/PRODUCT/BRANCH

USERNAME is your Launchpad username; PRODUCT is either "upstart" or "libnih" and BRANCH is a name for the branch. I use "main" for the main development line, and things such as the name of the specification for other development branches.

e.g.

 $ bzr push sftp://joe.bloggs@bazaar.launchpad.net/~joe.bloggs/upstart/complex-event-config

Your branch will automatically appear at both the code.launchpad.net and codebrowse.launchpad.net locations.

-- CategoryDoc

ContributingCode (last edited 2008-05-22 10:35:13 by ScottJamesRemnant)