Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • e7669fe
  • /
  • config-mysql
  • /
  • 0-setDatabases.sql
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge
swh:1:cnt:0cf8c266f2465f082bed7ce08a545bcca8bd1433
directory badge
swh:1:dir:faa7d1127ccea38d639b3be57989e0b93103b111

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
0-setDatabases.sql
CREATE DATABASE IF NOT EXISTS `priam-actor`;
CREATE DATABASE IF NOT EXISTS `priam-data`;
CREATE DATABASE IF NOT EXISTS `priam-right`;
CREATE DATABASE IF NOT EXISTS `priam-consent`;
CREATE DATABASE IF NOT EXISTS `teadb`;

-- GRANT ALL PRIVILEGES ON 'priam-actor'.* TO 'PRIAM'@'%';
-- GRANT ALL PRIVILEGES ON 'priam-data'.* TO 'PRIAM'@'%';
-- GRANT ALL PRIVILEGES ON 'priam-right'.* TO 'PRIAM'@'%';
-- GRANT ALL PRIVILEGES ON 'teadb'.* TO 'PRIAM'@'%';

-- CREATE USER 'PRIAM'@'%';
-- GRANT ALL PRIVILEGES ON *.* TO 'PRIAM'@'%';

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API