git2dsc — Debian Git to DSC Checker

Checks if the source package built from the Vcs-Git repository matches the source package in the archive. This ensures that the Git repository used for packaging faithfully represents the source package available in Debian.

How It Works

For each Debian Source Control (.dsc) file, git2dsc:

  1. Clones the Git repository specified in the Vcs-Git field.
  2. Identifies the commit corresponding to the package version (using tags, debian/gbp.conf, or Git-Tag-Info).
  3. Downloads the source package specified by the .dsc URL.
  4. Builds the source package from the specific Git commit using dpkg-buildpackage -S.
  5. Compares the generated .dsc (and associated files) with the one from the archive.

Results

Statistics are also available.

Source Version Releases DSC SHA256 Diagnostic Timestamp