Uploading to Extras-devel

m (setting up SSH and PGP to upload to extras)
m (Minor formatting improvements)
Line 9: Line 9:
=== Setting up SSH and PGP to upload to extras ===
=== Setting up SSH and PGP to upload to extras ===
-
Put you SSH key[http://kimmo.suominen.com/docs/ssh/#ssh-keygen] and PGP key[http://fedoraproject.org/wiki/DocsProject/UsingGpg/CreatingKeys] into Garage
+
Put your SSH key[http://kimmo.suominen.com/docs/ssh/#ssh-keygen] and PGP key[http://fedoraproject.org/wiki/DocsProject/UsingGpg/CreatingKeys] into Garage.
-
If you need to create a ssh key this boils down to:
+
* If you need to create an SSH key:
 +
# <code>ssk-keygen -t dsa</code> (enter enter enter).
 +
# Copy the contents of <code>~/.ssh/id_dsa.pub</code> in the "Public SSH keys" section of your [https://garage.maemo.org/account/index2.php garage account maintenance] page.
-
<tt>ssk-keygen -t dsa</tt>(enter enter enter)
+
* If you need to create a PGP key:
-
and copy the content of <tt>.ssh/id_dsa.pub</tt> in the
+
# Create the key using: <code>gpg --gen-key</code>: enter your name, email address etc.
-
https://garage.maemo.org/my/contrib.php page
+
# Export the key using: <tt>gpg --export --armor jqdoe@example.com</tt>
 +
# Copy the text to the [https://garage.maemo.org/my/contrib.php extras sign-up page].
-
If you need to create a pgp key this boils down to:
+
=== Setting up Scratchbox to use the extras repository ===
 +
Add the extras repository to your Scratchbox install:
 +
# Login to Scratchbox
 +
# Create <code>/etc/apt/sources.list.d/extras-repo.list</code>
 +
# Update <code>apt</code>'s information.
-
<tt>gpg --gen-key</tt> enter names etc (enter enter enter) and export
+
'''Note:''' this should be done in both your ARMEL and x86 targets.
-
<tt>gpg --export --armor jqdoe@example.com</tt> to the
+
-
https://garage.maemo.org/my/contrib.php page
+
-
=== Setting up scratchbox to use the extras repository ===
+
/scratchbox/login
-
 
+
cat >/etc/apt/sources.list.d/extras-repo.list <<EOT
-
Add the extras repository to your scratch box install. Therefore you can edit /etc/apt/sources.list
+
#Maemo extras
-
'''inside''' sbox and add:
+
deb http://repository.maemo.org/extras/ diablo free non-free
-
 
+
deb-src http://repository.maemo.org/extras/ diablo free
-
<pre>#Maemo extras
+
EOT
-
deb http://repository.maemo.org/extras/ diablo free non-free
+
fakeroot apt-get update
-
deb-src http://repository.maemo.org/extras/ diablo free
+
-
</pre>
+
-
and run apt-get update
+
== Upload ==
== Upload ==

Revision as of 19:15, 30 June 2008

Contents

Pre-requisites

  • A Garage account: [signup]
  • An "invitation" to upload, email niels@maemo.org
  • Permission to promote, email niels@maemo.org
  • ssh-keygen
  • debsign

Setup

Setting up SSH and PGP to upload to extras

Put your SSH key[1] and PGP key[2] into Garage.

  • If you need to create an SSH key:
  1. ssk-keygen -t dsa (enter enter enter).
  2. Copy the contents of ~/.ssh/id_dsa.pub in the "Public SSH keys" section of your garage account maintenance page.
  • If you need to create a PGP key:
  1. Create the key using: gpg --gen-key: enter your name, email address etc.
  2. Export the key using: gpg --export --armor jqdoe@example.com
  3. Copy the text to the extras sign-up page.

Setting up Scratchbox to use the extras repository

Add the extras repository to your Scratchbox install:

  1. Login to Scratchbox
  2. Create /etc/apt/sources.list.d/extras-repo.list
  3. Update apt's information.

Note: this should be done in both your ARMEL and x86 targets.

/scratchbox/login
cat >/etc/apt/sources.list.d/extras-repo.list <<EOT
#Maemo extras
deb http://repository.maemo.org/extras/ diablo free non-free
deb-src http://repository.maemo.org/extras/ diablo free
EOT
fakeroot apt-get update

Upload

Describe: upload source package to diablo-extras-builder via dput[3], scp[4] or through the web interface[5].

Point to: existing documentation

Promotion

Describe: reason for promotion interface

Resources

Reference