source-controller/controllers
Hidde Beydals b7376ce94c gogit: allow checkout of commit without branch
This commit changes the `gogit` behavior for commit checkouts,
now allowing one to reference to just a commit while omitting any
branch reference. Doing this creates an Artifact with a
`HEAD/<commit>` revision.

If both a `branch` and `commit` are defined, the commit is expected
to exist within the branch. This results in a more efficient clone
of just the target branch, and also makes this change backwards
compatible.

Fixes #407
Fixes #315

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-10-27 00:43:31 +05:30
..
testdata Write chart data on identitical values overwrite 2021-04-21 14:50:03 +02:00
artifact.go Add include property to GitRepositories 2021-05-11 09:46:50 +02:00
artifact_test.go Add include property to GitRepositories 2021-05-11 09:46:50 +02:00
bucket_controller.go Added Logger to closing GCP client 2021-10-14 14:57:48 -05:00
bucket_controller_test.go Drop deprecated `io/ioutil` 2021-07-29 09:58:00 +02:00
gitrepository_controller.go gogit: allow checkout of commit without branch 2021-10-27 00:43:31 +05:30
gitrepository_controller_test.go gogit: allow checkout of commit without branch 2021-10-27 00:43:31 +05:30
helmchart_controller.go git: standardise commit and (PGP) verification 2021-10-27 00:43:31 +05:30
helmchart_controller_test.go Add ReconcileStrategy to HelmChart 2021-10-14 13:49:52 -05:00
helmrepository_controller.go Update Helm to v3.6.1 2021-06-18 12:31:23 +02:00
helmrepository_controller_test.go Use LocalObjectReference from fluxcd/pkg/meta v0.7 2021-01-21 14:18:42 +02:00
source_predicate.go Upgrade controller-runtime to v0.7.0 2020-12-18 19:17:10 +01:00
storage.go storage: strip env specific data during archive 2021-08-05 12:42:40 +02:00
storage_test.go Drop deprecated `io/ioutil` 2021-07-29 09:58:00 +02:00
suite_test.go Drop deprecated `io/ioutil` 2021-07-29 09:58:00 +02:00