source-controller/pkg/git/libgit2
Paulo Gomes aa3288112e
Implement Managed Transport for libgit2
libgit2 network operations are blocking and do not provide timeout nor context capabilities,
leading for several reports by users of the controllers hanging indefinitely.

By using managed transport, golang primitives such as http.Transport and net.Dial can be used
to ensure timeouts are enforced.

Co-Authored-by: Sunny <darkowlzz@protonmail.com>
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-03-16 16:22:20 +05:30
..
managed Implement Managed Transport for libgit2 2022-03-16 16:22:20 +05:30
testdata/git/repo Add libgit2 checkout test with ED25519 key 2022-02-16 10:17:32 +00:00
checkout.go git/libgit2: set CheckoutForce on branch strategy 2022-02-22 16:31:56 +01:00
checkout_test.go git/libgit2: assert proper test of default branch 2022-02-22 16:31:56 +01:00
libgit2.go gogit: allow checkout of commit without branch 2021-10-27 00:43:31 +05:30
transport.go Implement Managed Transport for libgit2 2022-03-16 16:22:20 +05:30
transport_test.go Upgrade libgit2 to libgit2-1.3.0-2 2022-02-16 11:39:11 +00:00