Skip to content

Commit 970f79c

Browse files
committed
config: compat with new VCS integration
* We are updating `invenio-github` to be a generic package supporting many VCS providers, not just GitHub. As such, it will be renamed (currently to `invenio-vcs`). * The `RDMGitHubRelease` class has been renamed and restructured, so this must be reflected in `config.py` for continued functionality. No other changes are needed to this repository at the moment. * See inveniosoftware/invenio-rdm-records#2128
1 parent 2186821 commit 970f79c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

invenio_app_rdm/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
InvalidAccessRestrictions,
8181
InvalidCommunityVisibility,
8282
)
83-
from invenio_rdm_records.services.github.release import RDMGithubRelease
83+
from invenio_rdm_records.services.github.release import RDMVCSRelease
8484
from invenio_rdm_records.services.permissions import RDMRequestsPermissionPolicy
8585
from invenio_rdm_records.services.stats import permissions_policy_lookup_factory
8686
from invenio_rdm_records.services.tasks import StatsRDMReindexTask
@@ -1478,10 +1478,10 @@ def github_link_render(record):
14781478
}
14791479

14801480

1481-
# Invenio-Github
1481+
# Invenio-VCS
14821482
# =================
14831483
#
1484-
GITHUB_RELEASE_CLASS = RDMGithubRelease
1484+
VCS_RELEASE_CLASS = RDMVCSRelease
14851485
"""Default RDM release class."""
14861486

14871487

0 commit comments

Comments
 (0)