Skip to content

Commit e55c6b8

Browse files
palkerecsenyizzacharo
authored andcommitted
feat: compat with new invenio-vcs module
1 parent 123461c commit e55c6b8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

invenio_app_rdm/config.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2019-2025 CERN.
3+
# Copyright (C) 2019-2026 CERN.
44
# Copyright (C) 2019-2020 Northwestern University.
55
# Copyright (C) 2021-2025 Graz University of Technology.
66
# Copyright (C) 2022-2025 KTH Royal Institute of Technology.
@@ -80,7 +80,6 @@
8080
InvalidAccessRestrictions,
8181
InvalidCommunityVisibility,
8282
)
83-
from invenio_rdm_records.services.github.release import RDMGithubRelease
8483
from invenio_rdm_records.services.permissions import RDMRequestsPermissionPolicy
8584
from invenio_rdm_records.services.stats import permissions_policy_lookup_factory
8685
from invenio_rdm_records.services.tasks import StatsRDMReindexTask
@@ -1480,13 +1479,6 @@ def github_link_render(record):
14801479
}
14811480

14821481

1483-
# Invenio-Github
1484-
# =================
1485-
#
1486-
GITHUB_RELEASE_CLASS = RDMGithubRelease
1487-
"""Default RDM release class."""
1488-
1489-
14901482
# Flask-Menu
14911483
# ==========
14921484
#
@@ -1564,3 +1556,11 @@ def github_link_render(record):
15641556
"is_open": {"facet": facets.is_open, "ui": {"field": "is_open"}},
15651557
}
15661558
"""Available facets defined for this module."""
1559+
1560+
# Invenio-VCS
1561+
# ===========
1562+
VCS_TEMPLATE_INDEX = "invenio_vcs/rdm-index.html"
1563+
VCS_TEMPLATE_INDEX_ITEM = "invenio_vcs/rdm-index-item.html"
1564+
VCS_TEMPLATE_VIEW = "invenio_vcs/rdm-view.html"
1565+
VCS_TEMPLATE_REPO_SWITCH = "invenio_vcs/rdm-repo-switch.html"
1566+
VCS_TEMPLATE_RELEASE_ITEM = "invenio_vcs/rdm-release-item.html"

0 commit comments

Comments
 (0)