source-controller/controllers
Paulo Gomes 860d7051da
libgit2: optimise checkout branch clones
No-op reconciliations are very inefficient, as they carry out
a full clone operation of the target repository even when
no changes have taken place.

This change will execute a remote-ls operation, and cancel
the clone operation if the remote tip commit is still the same
as the one observed on the last reconcilation. In such cases,
an git.NoChangesError is returned.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-05-11 11:40:04 +01:00
..
testdata test: source ignore for subdirectories in a repo 2022-03-23 17:17:06 +05:30
artifact.go Introduce `artifactSet` to replace `hasArtifactUpdated` 2022-02-23 12:35:30 +01:00
artifact_matchers_test.go Implement Size field on archived artifacts 2022-02-28 16:01:34 +01:00
artifact_test.go Introduce `artifactSet` to replace `hasArtifactUpdated` 2022-02-23 12:35:30 +01:00
bucket_controller.go Add flags to configure exponential back-off retry 2022-04-12 10:44:46 +01:00
bucket_controller_fetch_test.go test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
bucket_controller_test.go test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
gitrepository_controller.go libgit2: optimise checkout branch clones 2022-05-11 11:40:04 +01:00
gitrepository_controller_test.go tests: algorithms test coverage for go-git and libgit2 2022-05-09 13:31:54 +01:00
helmchart_controller.go Enable dependency manager to use in memory cache 2022-04-19 11:46:27 +02:00
helmchart_controller_test.go test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
helmrepository_controller.go helmrepo: same revision different checksum condn 2022-04-27 13:03:51 +05:30
helmrepository_controller_test.go test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
source_predicate.go Switch to v1beta2 API package 2022-02-23 12:35:25 +01:00
storage.go Reduce file permission 2022-04-13 17:14:45 +02:00
storage_test.go test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
suite_test.go Enable dependency manager to use in memory cache 2022-04-19 11:46:27 +02:00