Replies: 1 comment
-
|
The purpose of the package generic was to factorize its logic so we could distinguish the git package used as a plugin like I was initially thinking to move the git "generic" under the path "core" and keeping everything else under plugins but it doesn't make sense anymore. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello @olblak , while working on #457 , I was wondering why is the git logic split between the
gitgeneric package and thegitpackage itself?Most of the implementation logic for the methods of
SCMHandlerin https://github.com/updatecli/updatecli/blob/main/pkg/plugins/git/scm.go are using git generic's logic.The reason is that with #465 incoming, we might want to simplify into a single package, with mocking capability. WDYT?
Beta Was this translation helpful? Give feedback.
All reactions