Changeset View
Changeset View
Standalone View
Standalone View
swh/web/browse/views/release.py
# Copyright (C) 2017-2021 The Software Heritage developers | # Copyright (C) 2017-2021 The Software Heritage developers | ||||
# See the AUTHORS file at the top-level directory of this distribution | # See the AUTHORS file at the top-level directory of this distribution | ||||
# License: GNU Affero General Public License version 3, or any later version | # License: GNU Affero General Public License version 3, or any later version | ||||
# See top-level LICENSE file for more information | # See top-level LICENSE file for more information | ||||
import sentry_sdk | import sentry_sdk | ||||
from django.shortcuts import render | from django.shortcuts import render | ||||
from swh.model.identifiers import ObjectType | from swh.model.swhids import ObjectType | ||||
from swh.web.browse.browseurls import browse_route | from swh.web.browse.browseurls import browse_route | ||||
from swh.web.browse.snapshot_context import get_snapshot_context | from swh.web.browse.snapshot_context import get_snapshot_context | ||||
from swh.web.browse.utils import ( | from swh.web.browse.utils import ( | ||||
gen_content_link, | gen_content_link, | ||||
gen_directory_link, | gen_directory_link, | ||||
gen_link, | gen_link, | ||||
gen_person_mail_link, | gen_person_mail_link, | ||||
gen_release_link, | gen_release_link, | ||||
▲ Show 20 Lines • Show All 227 Lines • Show Last 20 Lines |