Skip to content

Conversation

palkerecsenyi
Copy link
Member

@palkerecsenyi palkerecsenyi commented Sep 25, 2025

Closes #188


  • Created a new VCSService class to act as the 'glue' between the new generic provider API methods and the view handlers, with mostly higher-level methods that combine multiple API calls and reads/writes to the DB.

  • Also included the modified VCSRelease class in the same file. This has been kept to maintain good compatibility with InvenioRDM and anyone else who might have overriden it. However, it has been updated to support the new generic structure. There have also been some small changes such as the variable naming (release_object and release_payload to db_release and generic_release to make more clear where the data comes from).

  • The OAuth handlers, tasks, and webhook receivers are also updated as part of this PR, again with small changes to make them compatible with the generic structure.

  • This commit on its own is UNRELEASABLE. We will merge multiple commits related to the VCS upgrade into the vcs-staging branch and then merge them all into master once we have a fully release-ready prototype. At that point, we will create a squash commit.

@palkerecsenyi palkerecsenyi changed the title WIP: feat(vcs): service layer feat(vcs): service layer Sep 25, 2025
* Created a new VCSService class to act as the 'glue' between the new
generic provider API methods and the view handlers, with mostly
higher-level methods that combine multiple API calls and reads/writes to
the DB.

* Also included the modified VCSRelease class in the same file. This has
been kept to maintain good compatibility with InvenioRDM and anyone else
who might have overriden it. However, it has been updated to support the
new generic structure. There have also been some small changes such as
the variable naming (`release_object` and `release_payload` to
`db_release` and `generic_release` to make more clear where the data
comes from).

* The OAuth handlers, tasks, and webhook receivers are also updated as
part of this PR, again with small changes to make them compatible with
the generic structure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make invenio-github support other VCS providers

1 participant