source-controller/pkg/git/libgit2
Paulo Gomes cea9ea9142
libgit2: improve subtransport logging
Debugging connection issues can be extremely difficult, even more so at scale or when
concurrent connections are required to trigger specific issues.

Changes:
- Add a correlation identifier for each reconciliation, which allows for greater traceability when
going through all the reconciliation operations - including at transport level.
- Add transportType to segregate HTTP and SSH transport logging.
- SSH operations are now enriched with addr containing server address, and HTTP url.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-06-13 07:35:12 +01:00
..
managed libgit2: improve subtransport logging 2022-06-13 07:35:12 +01:00
checkout.go libgit2: return CheckoutTag with LastRevision 2022-06-03 14:00:23 +05:30
checkout_test.go assert state of managed transport acc for each test 2022-06-09 22:21:10 +05:30
libgit2.go gogit: allow checkout of commit without branch 2021-10-27 00:43:31 +05:30
managed_checkout_test.go libgit2: refactor tests to use managed and unmanaged transport cleanly 2022-06-09 21:01:17 +05:30
managed_test.go libgit2: improve subtransport logging 2022-06-13 07:35:12 +01:00
transport.go fix panics on unmanaged http and proxy on managed http 2022-05-27 14:01:23 +05:30
transport_test.go fix panics on unmanaged http and proxy on managed http 2022-05-27 14:01:23 +05:30