source-controller/pkg/git/libgit2/managed
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
..
const.go libgit2: refactor max length values into constants 2022-04-07 19:10:50 +01:00
http.go libgit2: improve subtransport logging 2022-06-13 07:35:12 +01:00
http_test.go libgit2: improve subtransport logging 2022-06-13 07:35:12 +01:00
init.go libgit2: improve subtransport logging 2022-06-13 07:35:12 +01:00
options.go libgit2: enforce context timeout 2022-05-27 13:59:50 +01:00
options_test.go Remove dependency on libgit2 credentials callback 2022-05-27 14:01:23 +05:30
ssh.go libgit2: improve subtransport logging 2022-06-13 07:35:12 +01:00
ssh_test.go libgit2: improve subtransport logging 2022-06-13 07:35:12 +01:00
transport.go libgit2: fix ssh host key verification regression 2022-06-08 13:59:32 +05:30
transport_test.go libgit2: fix ssh host key verification regression 2022-06-08 13:59:32 +05:30