Skip to content

LaunchpadSourcePackages

uboot edited this page Apr 14, 2013 · 23 revisions

To create a package from local source code on Launchpad a Debian source package has to be created and submitted to Launchpad.

Create an OpenPGP key and submit it

  • Open the application "Passwords and Keys".
  • Choose File -> New and create a new "PGP Key". Note that the e-mail address for the key must be the same one as in the changelog of the package, i.e. it will publicly visible.
  • Choose Remote -> Sync and Publish Keys... to sync the new key with the Ubuntu server (hkp://keyserver.ubuntu.com).

Submit the key to Launchpad

  • Wait a couple of minutes to make sure your key is available at the Ubuntu server.
  • Login into Launchpad.
  • Go to your personal page using the Link "Your Name" in the top right corner of the page.
  • In User information -> OpenPGP keys click on the small "Modify" icon.
  • Enter your login data on the next page and login.
  • Paste the fingerprint of the new OpenPGP key into the field and push "Import key". You can get the fingerprint from the details of your key "My Personal Keys" in "Passwords and Keys".

Prepare the source code

  • Clone the Github repository:

    git clone git://github.com/uboot/stromx.git

  • Check out the tag or branch you want to publish (e.g. tag "0.1.0" or the branch "0.1.x"):

    git checkout --track origin/0.1.x

Create and upload the source package

  • Open a shell.

  • Change to the project source directory.

  • Create the source package:

    debuild -S

  • Move one directory up:

    cd ..

  • Upload the source package to Launchpad:

    dput ppa:stromx-developers/stromx-stable stromx_VERSION_source.changes