Provenance (all releases and revisions)

Precomputed tables of all revisions a content is in, and all origins a revision is in, indexed for reasonably efficient backward queries. Its current implementation is primarily a Parquet database, along with some external indexes for more efficient access. The swh-provenance Rust crate provides access to these indexes and a gRPC server to query the data remotely.

Dataset size
Unknown
Export date
Derived of
Full compressed graph [2024-12-06]
S3 URL
s3://softwareheritage/derived_datasets/2024-12-06/provenance/all/
Deprecated
False

Download the dataset

For Amazon S3 links, you'll need to install either awscli or swh.datasets.

aws s3 cp --recursive --no-sign-request s3://softwareheritage/derived_datasets/2024-12-06/provenance/all/ 2024-12-06-provenance_all

Referencing the dataset

If you use this dataset for research purposes, please acknowledge Software Heritage as recommended in the publications page, which means doing the next two things:

  1. Add a footnote on the title page of your paper, formatted as: “This work was made possible by Software Heritage, the universal source code archive: https://www.softwareheritage.org”
  2. Cite the following papers:
    • Jean-François Abramatic, Roberto Di Cosmo, and Stefano Zacchiroli. Building the universal archive of source code. Commun. ACM, 61(10):29–31, 2018. URL: https://doi.org/10.1145/3183558, doi:10.1145/3183558. (BibTeX)
    • Roberto Di Cosmo and Stefano Zacchiroli. Software heritage: why and how to preserve software source code. In Shoichiro Hara, Shigeo Sugimoto, and Makoto Goto, editors, Proceedings of the 14th International Conference on Digital Preservation, iPRES 2017, Kyoto, Japan, September 25-29, 2017. 2017. URL: https://hdl.handle.net/11353/10.931064. (BibTeX)

By accessing the datasets, you agree with the Software Heritage Ethical Charter for using the archive data, the terms of use for bulk access, and the Software Heritage principles for large language models.

To learn how to use the datasets read the documentation.