How-to guides¶
Instructions to take you through common processes for Launchpad developers, from creating a local setup and contributing changes, to operating and debugging the platform.
Get started¶
To get started with Launchpad development, you’ll need to get the source code and run a local Launchpad instance. You can also set up Buildd and Soyuz to enable local builds.
Operate Launchpad¶
Managing a running Launchpad instance involves monitoring the build farm, checking frontend availability, triaging bugs, administering users, and shipping changes to production.
Common development tasks¶
The Launchpad development cycle involves fixing bugs, contributing and reviewing changes, updating dependencies, and keeping the database schema current.
Launchpad development tips¶
This section covers a range of helpful techniques for Launchpad development: writing and configuring tests, handling exceptions and security policies, running codehosting locally, generating API docs, and working with the database.
Debug¶
Launchpad’s layered architecture means bugs can surface far from their origin.
Visual Studio Code has features that can be useful when debugging. Using pdb
breakpoints to debug pagetests can make your development experience easier.
However, you can also run into some issues when using breakpoints to
troubleshoot across multiple test layers.