Skip to content

Conversation

palkerecsenyi
Copy link
Member

@palkerecsenyi palkerecsenyi commented Oct 8, 2025

Closes #188


  • Rewrote unit tests for compatibility with new invenio-vcs package by making the tests provider-agnostic. This involved creating patches to emulate the low-level behaviour of provider SDKs (for GitHub and GitLab) based on an abstract interface. Future provider implementations will also need corresponding test mock implementations.

  • Generally renamed many references in the tests from invenio-github to invenio-vcs.

  • The tests should all currently be passing, but it's only possible to fully test them if you have all the PRs for the new module assembled. This is already done on the master branch of https://github.com/palkerecsenyi/invenio-vcs for convenience.

  • 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.

* Rewrote unit tests for compatibility with new invenio-vcs package by
making the tests provider-agnostic. This involved creating patches to
emulate the low-level behaviour of provider SDKs (for GitHub and GitLab)
based on an abstract interface. Future provider implementations will
also need corresponding test mock implementations.

* Generally renamed many references in the tests from invenio-github to
invenio-vcs. They should all currently be passing, but it's only
possible to fully test them if you have all the PRs for the new module
assembled. This is already done on the `master` branch of
https://github.com/palkerecsenyi/invenio-vcs for convenience.

* 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 tests: compatibility for invenio-vcs tests(vcs): compatibility for invenio-vcs Oct 8, 2025
* Removed references to Invenio-GitHub and replaced with "VCS" where
applicable
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