Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions invenio_app_rdm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
GuestAccessRequestTokenCreateNotificationBuilder,
RecordDeletionAcceptNotificationBuilder,
RecordDeletionDeclineNotificationBuilder,
RepositoryReleaseFailureNotificationBuilder,
RepositoryReleaseSuccessNotificationBuilder,
UserAccessRequestAcceptNotificationBuilder,
UserAccessRequestCancelNotificationBuilder,
UserAccessRequestDeclineNotificationBuilder,
Expand All @@ -80,10 +82,10 @@
InvalidAccessRestrictions,
InvalidCommunityVisibility,
)
from invenio_rdm_records.services.github.release import RDMGithubRelease
from invenio_rdm_records.services.permissions import RDMRequestsPermissionPolicy
from invenio_rdm_records.services.stats import permissions_policy_lookup_factory
from invenio_rdm_records.services.tasks import StatsRDMReindexTask
from invenio_rdm_records.services.vcs.release import RDMVCSRelease
from invenio_records_resources.references.entity_resolvers import ServiceResultResolver
from invenio_requests.notifications.builders import (
CommentRequestEventCreateNotificationBuilder,
Expand Down Expand Up @@ -1430,6 +1432,9 @@ def github_link_render(record):
# Record deletion
RecordDeletionAcceptNotificationBuilder.type: RecordDeletionAcceptNotificationBuilder,
RecordDeletionDeclineNotificationBuilder.type: RecordDeletionDeclineNotificationBuilder,
# VCS repository releases
RepositoryReleaseSuccessNotificationBuilder.type: RepositoryReleaseSuccessNotificationBuilder,
RepositoryReleaseFailureNotificationBuilder.type: RepositoryReleaseFailureNotificationBuilder,
}
"""Notification builders."""

Expand Down Expand Up @@ -1478,10 +1483,10 @@ def github_link_render(record):
}


# Invenio-Github
# Invenio-VCS
# =================
#
GITHUB_RELEASE_CLASS = RDMGithubRelease
VCS_RELEASE_CLASS = RDMVCSRelease
"""Default RDM release class."""


Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ install_requires =
invenio-access>=4.0.0,<5.0.0
invenio-accounts>=6.0.0,<7.0.0
invenio-oauth2server>=3.0.0,<4.0.0
invenio-oauthclient>=5.0.0,<6.0.0
invenio-oauthclient>=6.0.0,<7.0.0
invenio-userprofiles>=4.0.0,<5.0.0
# Invenio metadata bundle
invenio-indexer>=3.0.0,<4.0.0
Expand Down
Loading