{{ define "title" }}autodeb{{ end }} {{ define "content" }}

Introduction


Autodeb is a service that provides a way to test Debian source packages. It empowers Debian Developers by giving them easy access to more rigorous testing before they upload a package to the archive. It runs tests that Debian Developers don’t necessarily run because of lack of time and resources.

In the future, Autodeb will also attempt to automatically update Debian packages to newer upstream versions or to backport them. Resulting packages will be distributed in apt repositories.

For more information on the project, refer to the original announcement or to the salsa.debian.org project page.

Getting started with the service


1. Associating a PGP key to your account

To get started with using Autodeb, the first thing that you need to do is log into the service and associate a PGP key with your account. This is done from the profile page.

2. Adding autodeb to your dput configuration

This server has a REST API that can be very useful if you want to build automated tools to interact with it. However, it also accepts uploads via dput. You can add autodeb to your configured dput hosts by adding the following lines to ~/.dput.cf:


[autodeb]
fqdn = {{ .Data.ServerHostnamePort }}
incoming = /upload
method = {{ .Data.ServerScheme }}
allowed_distributions = .

3. Uploading a package

Before you upload a package, you should know that autodeb only accepts signed source uploads. Anything other than that will be rejected with an error message.

You may upload a package to autodeb with the following command:

    $ dput autodeb <package.changes>

Note that neither dput nor dput-ng display http error messages, they only display the error code. Autodeb always tries to return a 4XX error code when there is something wrong with the upload. If your uploads yields a 5XX code, it might be a good idea to get in touch with us so that we can fix the bug.

If your upload was rejected, you can obtain the error message by re-uploading the failed file with curl:

    $ FILE=<filename> ; curl -w "\n" -X PUT -T $FILE {{ .Data.ServerURL }}/upload/$FILE

4. Obtaining logs

Now that you have completed an upload, your it will be visible in the uploads page with a dget-compatible .dsc link. A build job will also be created and it will be visible in the jobs page. As soon as the job is completed by one of the autodeb workers, the logs will be available for download.

What's next

In the future, Autodeb will:

{{ end }}