Size: 875
Comment:
|
Size: 1094
Comment: fix hostname
|
Deletions are marked like this. | Additions are marked like this. |
Line 8: | Line 8: |
fqdn = dogfood.launchpad.net | fqdn = upload.dogfood.paddev.net |
Line 18: | Line 18: |
cd <package-dir> dch -i "Reupload." |
|
Line 20: | Line 22: |
You may have to satisfy the package's build-dependencies. You install any additional required packages with: {{{ sudo apt-get build-dep <package> }}} |
That last command will add an entry to the Debian changelog, which is what tells the system that the package has changed and needs re-processing. You can override the name/email that is used by setting the DEBEMAIL environment variable. |
Line 25: | Line 24: |
Now you're all set up to mess with the package. {{{ cd <package-dir> dch -i }}} That last command will prompt you to edit the debian changelog. It creates a new entry for you, which is what tells the system that the package has changed and needs re-processing. |
debsign (run by debuild below) will attempt to find your GPG key by using the email address in the changelog entry. Alternatively, you can set DEBSIGN_KEYID=yourid in ~/.devscripts. |
Line 37: | Line 30: |
dput <package>.changes | dput dogfood <package>.changes |
Line 39: | Line 32: |
Now, ''on dogfood'': {{{ sudo -u launchpad -i <<EOF cd /srv/launchpad.net/codelines/current .//scripts/process-upload.py -vv -C insecure ../../ubuntu-queue EOF }}} |
Re-Uploading a Package
Here's how to re-upload an existing package to Soyuz on dogfood.
First, make sure you have this in your ~/.dput.cf:
[dogfood] fqdn = upload.dogfood.paddev.net method = ftp incoming = ubuntu/ login = anonymous allow_unsigned_uploads = 0
On your local machine, run:
apt-get source <package> # (Or obtain in some other way) cd <package-dir> dch -i "Reupload."
That last command will add an entry to the Debian changelog, which is what tells the system that the package has changed and needs re-processing. You can override the name/email that is used by setting the DEBEMAIL environment variable.
debsign (run by debuild below) will attempt to find your GPG key by using the email address in the changelog entry. Alternatively, you can set DEBSIGN_KEYID=yourid in ~/.devscripts.
Then:
debuild -S cd .. dput dogfood <package>.changes
Now, on dogfood:
sudo -u launchpad -i <<EOF cd /srv/launchpad.net/codelines/current .//scripts/process-upload.py -vv -C insecure ../../ubuntu-queue EOF