Debsources provides Web access to the source code of the Debian operating system and DebCopyright provides Web access to the package licenses.
You can browse through the list of available source packages, or search for a particular one based on its name. Multiple versions of each source package are available — currently both versions coming from all official suites available via the Debian mirror network, and historical releases from archive.debian.org are available.
You can search within the actual source code using regular expressions via Debian Code Search; search results will link you back here. Note that Debian Code Search only index the unstable suite and is updated less often than Debsources, so there might be update lags between the two services.
You can also use Debsources programmatically via its API, or simply as a stable base to point to particular lines in a source file.
Once chosen a specific package version, you view the license of a package. If the license is machine-readable, then the license will be rendered: providing links to the full text of standard licenses, links to Debsources for the files mentioned in the license; otherwise the raw file will be returned. Using specific URL schemes you can search for a license of a path or a checksum or even search at once for the license of a list of checksums.
You can also use DebCopyright programmatically via its API.
Once chosen a specific package version, you view the summary of a package.
If the patch format is 3.0, then the page will provide the list of patches with the following information:
- links to view and download each patch
- the file-deltas
- the description and bug number if they exist
When a specific patch is chosen, the service is syntax highlighting the patch with a diff format.
You can consult the URL schemes to get the relevant information on how to navigate in the package summary or the patch view.
You can also use Debpatches programmatically via its API.