autodeb tries to automatically update Debian packages to newer upstream versions or to backport them.
autodeb is the concretization Lucas Nussbaum's GSOC 2018 proposed project titled "Automatic Packages for Everything (backports, new upstream versions, etc.)". The project proposal can be found in the Debian Wiki. The project was officially accepted.
You may chat with us at #autodeb on irc.debian.org (or via webchat). If you've found something that is clearly a bug, feel free to report it in the issue tracker.
- Getting started: everything you need to know to build autodeb
- dependency graphs (helpful to understand the software architecture):
- cmd/autodeb-server: full dependency graph for autodeb-server
- cmd/autodeb-worker: full dependency graph for autodeb-worker
- internal/server: dependency graph for the server package (easier to read)
- internal/worker: dependency graph for the worker package (easier to read)
- godoc: code documentation
- Packaging (other repository): Debian packaging for autodeb
- Infrastructure (other repository): Contains the ansible scripts for auto.debian.net
- Wiki: everything else
-
list-packages-with-newer-upstream-versions
: lists source packages that have newer upstream versions available -
autodeb-server
: This is the server component of the system. It provides a web interface, a REST API and dput-compatible interface. -
autodeb-worker
: This is the worker component of the system. It retrieves jobs from the main server and executes them.
Note that you might want to get a recent version of the go compiler from a backports repository.
$ apt-get install golang-go git make
$ export GOPATH=~/go
$ go get -u golang.org/x/lint/golint
$ mkdir -p $GOPATH/src/salsa.debian.org/autodeb-team/
$ git clone https://salsa.debian.org/autodeb-team/autodeb.git $GOPATH/src/salsa.debian.org/autodeb-team/autodeb
$ cd $GOPATH/src/salsa.debian.org/autodeb-team/autodeb
$ make get-deps
$ make
Note that runtime dependencies of the scripts include:
- devscripts
- sbuild
$ ./list-packages-with-newer-upstream-versions
$ ./autodeb-server
$ ./autodeb-worker