Hidde Beydals
2ca0b47fea
Use same SemVer logic in both Git implementations
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-07-30 19:36:58 +02:00
Hidde Beydals
c4d7e46b90
Drop deprecated `io/ioutil`
...
The package has been deprecated since Go 1.16, see:
https://golang.org/doc/go1.16#ioutil
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-07-29 09:58:00 +02:00
Stefan Prodan
79b180376d
Update go-git to v5.4.1
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-05-26 14:06:41 +03:00
Somtochi Onyekwere
ee43942afb
Test for Method fails with some private keys
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-04-19 15:58:18 +01:00
Somtochi Onyekwere
d3d1917e5e
Add tests for libgit2
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-04-12 16:31:42 +01:00
Somtochi Onyekwere
e82c8e8b70
Use password in git method for secret
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-04-12 15:52:51 +01:00
Stefan Prodan
664a568822
Add support for Git submodules with go-git
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-30 13:00:13 +03:00
Stefan Prodan
97d0326432
Enable git submodules cloning when using go-git
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-29 15:25:33 +03:00
Stefan Prodan
f0016cfad1
Enable self-signed certs for go-git
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-29 13:23:32 +03:00
Michael Bridgen
f7e08c4738
Tidy git clone errors
...
In some circumstances (that are rather hard to reproduce), cloning
from a GitLab repo gets a multiline response as described in
https://github.com/fluxcd/image-automation-controller/pull/115 .
This uses the same remedy as in that PR, by calling the funcs provided
by fluxcd/pkg/gitutil on any error returned by libgit2 or gogit clone
operations.
Signed-off-by: Michael Bridgen <mikeb@squaremobius.net>
2021-03-03 13:41:53 +00:00
Hidde Beydals
fac1afa2a8
Move `git/common` to `git`
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-08 14:05:05 +01:00
Hidde Beydals
7e63ef841c
Rename Git packages to implementations
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-08 13:55:23 +01:00