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

https://github.com/planetary-research/signatories
07 March 2026, 08:16:53 UTC
  • Code
  • Branches (2)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/main
    • refs/tags/v1.0
    No releases to show
  • e94d917
  • /
  • config.py
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

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
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:beda98ffb7afa446059290ec8c84af103d45e11e
origin badgedirectory badge
swh:1:dir:e94d91701888d2cae32c6332face19f00dd81b56
origin badgerevision badge
swh:1:rev:e0f89ed883ffc47241a4c62503ce6e4784463cea
origin badgesnapshot badge
swh:1:snp:9fad922ad80f6485c66f4c22a7580dda3f157802

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
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: e0f89ed883ffc47241a4c62503ce6e4784463cea authored by markwieczorek on 14 February 2026, 22:25:20 UTC
Merge pull request #41 from MarkWieczorek/main
Tip revision: e0f89ed
config.py
import os
from dotenv import load_dotenv

load_dotenv()

port = os.getenv('port')
sandbox = True

if (public_domain := os.getenv("public_domain")) is not None:
    sandbox = False
    code_callback_URI = f"{public_domain}/authorization-code-callback"
    orcid_url = "https://orcid.org/"
    signatories_url = os.path.join(public_domain, os.getenv("site_path"))

else:
    sandbox = True
    code_callback_URI = f"http://127.0.0.1:{port}/authorization-code-callback"
    orcid_url = "https://sandbox.orcid.org/"
    signatories_url = os.getenv("site_path")

# Load ORCID and admin parameters from .env file
cookie_secret = os.getenv("cookie_secret")
client_ID = os.getenv("client_ID")
client_secret = os.getenv("client_secret")
admin_orcid = os.getenv("admin_orcid")
orcid_member = os.getenv("orcid_member")
if orcid_member == 1:
    orcid_member = True
else:
    orcid_member = False
if os.getenv("everyone_is_editor").lower() == "true":
    everyone_is_editor = True
else:
    everyone_is_editor = False


# Database
basedir = os.path.abspath(os.path.dirname(__file__))
campaigndir = os.path.join(basedir, "campaigns")
dbdir = os.path.join(basedir, "db")
dbname = "signatories.db"
dbpath = os.path.abspath(os.path.join(dbdir, dbname))
db_URI = "sqlite:////" + dbpath
if os.getenv("show_examples").lower() == "true":
    show_examples = True
else:
    show_examples = False


# Default parameters for the home page
favicon = os.getenv("favicon")
site_title = os.getenv("site_title")
site_subtitle = os.getenv("site_subtitle")
site_path = os.getenv("site_path")
site_header = os.getenv("site_header")
if os.getenv("show_examples").lower() == "true":
    show_examples = True
else:
    show_examples = False


# Default parameters for the footer
footer_url_name = os.getenv("footer_url_name")
footer_url = os.getenv("footer_url")
if os.getenv("thank_prc").lower() == "true":
    thank_prc = True
else:
    thank_prc = False
contact_email = os.getenv("contact_email")

back to top

Software Heritage — Copyright (C) 2015–2026, 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