Skip to content

Commit a80d05f

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 a80d05f

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,10 +80,10 @@
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
86+
from invenio_rdm_records.services.vcs.release import RDMVCSRelease
8787
from invenio_records_resources.references.entity_resolvers import ServiceResultResolver
8888
from invenio_requests.notifications.builders import (
8989
CommentRequestEventCreateNotificationBuilder,
@@ -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)