Skip to content

Conversation

@amrc-benmorrow
Copy link
Contributor

This implements pulling schema definitions from an external Git repo. It does this by adding a branch hooks facility to the Git server, meaning the schema loading logic must be implemented inside that service.

The alternative would be to make this a separate service, tracking the repos using change-notify. Such a service would have to track its own state in the ConfigDB and seems a bit overkill for this use case.

This is pulled in by service-api and we don't want a version conflict.
I want to implement notify/v2 for the git server and that requires
synchronising with the API.
The path-matching syntax has changed. It's no longer possible to match
all the tail of the URL.
These are equivalent to the native git-hooks mechanism but configurable
through the ConfigDB. For now at least hooks must be implemented within
the git server.
This gives a force-rerun strategy: remove and recreate the hook.
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.

2 participants