Skip to content

Commit 5a34ffe

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 a67644a commit 5a34ffe

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
@@ -78,7 +78,7 @@
7878
InvalidAccessRestrictions,
7979
InvalidCommunityVisibility,
8080
)
81-
from invenio_rdm_records.services.github.release import RDMGithubRelease
81+
from invenio_rdm_records.services.github.release import RDMVCSRelease
8282
from invenio_rdm_records.services.permissions import RDMRequestsPermissionPolicy
8383
from invenio_rdm_records.services.stats import permissions_policy_lookup_factory
8484
from invenio_rdm_records.services.tasks import StatsRDMReindexTask
@@ -1472,10 +1472,10 @@ def github_link_render(record):
14721472
}
14731473

14741474

1475-
# Invenio-Github
1475+
# Invenio-VCS
14761476
# =================
14771477
#
1478-
GITHUB_RELEASE_CLASS = RDMGithubRelease
1478+
VCS_RELEASE_CLASS = RDMVCSRelease
14791479
"""Default RDM release class."""
14801480

14811481

0 commit comments

Comments
 (0)