Diff for "Soyuz/ReUploadPackage"

Not logged in - Log In / Register

Differences between revisions 9 and 10
Revision 9 as of 2019-09-09 09:02:31
Size: 1094
Editor: cjwatson
Comment: fix hostname
Revision 10 as of 2021-07-05 16:40:56
Size: 1314
Editor: twom
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Here's how to re-upload an existing package to Soyuz on dogfood. Here's how to re-upload an existing package to a Soyuz PPA on dogfood.
Line 8: Line 8:
fqdn = upload.dogfood.paddev.net
method = ftp
incoming = ubuntu/
login = anonymous
allow_unsigned_uploads = 0
fqdn                    = upload.dogfood.paddev.net
method                  = ftp
incoming                = %(dogfood)s
login                   = anonymous
Line 20: Line 19:
dch -r -D xenial # or an appropriate distroseries
Line 30: Line 30:
dput dogfood <package>.changes dput dogfood:~<username>/ubuntu/<ppa name>
Line 32: Line 32:

If you are uploading to a PPA, you are now done. If you are uploading to a main archive, you may need:

Re-Uploading a Package

Here's how to re-upload an existing package to a Soyuz PPA on dogfood.

First, make sure you have this in your ~/.dput.cf:

[dogfood]
fqdn                    = upload.dogfood.paddev.net
method                  = ftp
incoming                = %(dogfood)s
login                   = anonymous

On your local machine, run:

apt-get source <package>  # (Or obtain in some other way)
cd <package-dir>
dch -i "Reupload."
dch -r -D xenial # or an appropriate distroseries

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:~<username>/ubuntu/<ppa name>

If you are uploading to a PPA, you are now done. If you are uploading to a main archive, you may need:

Now, on dogfood:

sudo -u launchpad -i <<EOF
cd /srv/launchpad.net/codelines/current
.//scripts/process-upload.py -vv -C insecure ../../ubuntu-queue
EOF

Soyuz/ReUploadPackage (last edited 2021-07-05 16:40:56 by twom)