barryf / vibrancy

Headless CMS and Micropub endpoint for personal websites. Used for the back-end of https://barryfrost.com
MIT License
20 stars 2 forks source link

Support different backends #11

Closed jamietanna closed 3 years ago

jamietanna commented 3 years ago

As a GitLab user, I'd like to use GitLab as my repo source.

I'd say this could work by some environment-based configuration which specifies which Git host to use, defaulting to GitHub.

This would replace the write-github with write-to-git which then calls the relevant SDK for the write event

barryf commented 3 years ago

That shouldn't be a problem. I don't think I've changed the interface much so it's reasonably safe to have a GitLab alternative. I'll take a look at refactoring it.

barryf commented 3 years ago

Closed by #12