rgst-io / stencil

📒 A modern living-template engine for evolving repositories
https://stencil.rgst.io
Apache License 2.0
4 stars 1 forks source link

refactor: use our own Github client library #73

Closed jaredallard closed 1 month ago

jaredallard commented 1 month ago

Starting to slowly move away from gobox, first stop is using our own Github client library. The folder structure is to allow us to support other VCS providers if needed at some point.

I also removed gitauth because it appeared to be dead code.

Added a cmdexec package for the purposes of mocking command output.

cloudflare-pages[bot] commented 1 month ago

Deploying stencil with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4bfb987
Status: âœ…  Deploy successful!
Preview URL: https://6c6a6f52.stencil-1wj.pages.dev
Branch Preview URL: https://jaredallard-refactor-github.stencil-1wj.pages.dev

View logs

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 75.86207% with 21 lines in your changes are missing coverage. Please review. Files Patch % Lines
internal/testing/cmdexec/mock.go 57.14% 7 Missing and 2 partials :warning:
internal/git/vcs/github/errors.go 0.00% 4 Missing :warning:
internal/cmd/stencil/stencil.go 0.00% 2 Missing :warning:
internal/git/vcs/github/github.go 91.30% 1 Missing and 1 partial :warning:
internal/git/vcs/github/provider_gh.go 77.77% 1 Missing and 1 partial :warning:
internal/testing/cmdexec/executor.go 0.00% 2 Missing :warning:

:loudspeaker: Thoughts on this report? Let us know!