Referencing (all) publicly available software source code... with Software Heritage !
Abstract
Software Heritage collects publicly available source code from numerous software projects and tracks their ongoing development. Workshop on Open Citations and Open Scholarly Metadata 2020
Full text
Referencing (all) publicly available software source code ... with Software Heritage ! Stefano Zacchiroli Université de Paris & Inria — [email protected], @zacchiro 9 September 2020 Workshop on Open Citations and Open Scholary Metadata 2020 THE GREAT LIBRARY OF SOURCE CODE Stefano Zacchiroli Referencing (all) publicly available software source code WOOC 2020 1 / 7
Software Heritage in a nutshell softwareheritage.org TH E GR EAT L IB RA RY OF S OU RCE COD E Collect, preserve and share all software source code Preserving our heritage, enabling better software and better science for all Reference catalog find and reference all software source code Universal archive preserve all software source code Research infrastructure enable analysis of all software source code Stefano Zacchiroli Referencing (all) publicly available software source code WOOC 2020 2 / 7
Software Heritage in a nutshell softwareheritage.org TH E GR EAT L IB RA RY OF S OU RCE COD E Collect, preserve and share all software source code Preserving our heritage, enabling better software and better science for all Reference catalog find and reference all software source code Universal archive preserve all software source code Research infrastructure enable analysis of all software source code Stefano Zacchiroli Referencing (all) publicly available software source code WOOC 2020 2 / 7
Software Heritage in a nutshell softwareheritage.org TH E GR EAT L IB RA RY OF S OU RCE COD E Collect, preserve and share all software source code Preserving our heritage, enabling better software and better science for all Reference catalog find and reference all software source code Universal archive preserve all software source code Research infrastructure enable analysis of all software source code Stefano Zacchiroli Referencing (all) publicly available software source code WOOC 2020 2 / 7
Software Heritage in a nutshell softwareheritage.org TH E GR EAT L IB RA RY OF S OU RCE COD E Collect, preserve and share all software source code Preserving our heritage, enabling better software and better science for all Reference catalog find and reference all software source code Universal archive preserve all software source code Research infrastructure enable analysis of all software source code Stefano Zacchiroli Referencing (all) publicly available software source code WOOC 2020 2 / 7
The Software Heritage Archive archive.softwareheritage.org ~400 TB (uncompressed) blobs, ~20 B nodes, ~300 B edges The richest public source code archive, ... and growing daily! Stefano Zacchiroli Referencing (all) publicly available software source code WOOC 2020 3 / 7
The Software Heritage Archive archive.softwareheritage.org ~400 TB (uncompressed) blobs, ~20 B nodes, ~300 B edges The richest public source code archive, ... and growing daily! Stefano Zacchiroli Referencing (all) publicly available software source code WOOC 2020 3 / 7
Saving and referencing research software 1Prepare your public repository README,AUTHORS, & LICENSE files + metadata (e.g., CodeMeta) 2Save your code https://save.softwareheritage.org 3Reference your work using SWHIDs ! (next slide) full repository, specific version, or code fragment Learn more Saving and referencing research software in Software Heritage on the Software Heritage blog, August 2019 How to use Software Heritage for archiving and referencing your source code: guidelines and walkthrough https://annex.softwareheritage.org/public/ guidelines/archive-research-software.pdf Stefano Zacchiroli Referencing (all) publicly available software source code WOOC 2020 4 / 7
Software Heritage Identifiers (SWHIDs) (link to full spec) Standardization Linux Foundation SPDX 2.2 IANA registered "swh:" URI prefix Wikidata property P6138 Examples Apollo 11 AGC excerpt, Quake III rsqrt Stefano Zacchiroli Referencing (all) publicly available software source code WOOC 2020 5 / 7