From 12f1365f1b79077e0cb19e00301041a1a9df71f0 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Sun, 19 Apr 2020 10:47:09 +0200 Subject: [PATCH 1/2] chore: add missing copyright headers --- internal/git/transport.go | 16 ++++++++++++++++ internal/git/transport_test.go | 16 ++++++++++++++++ internal/helm/getter.go | 16 ++++++++++++++++ internal/helm/getter_test.go | 16 ++++++++++++++++ internal/testserver/helm.go | 16 ++++++++++++++++ internal/testserver/http.go | 16 ++++++++++++++++ 6 files changed, 96 insertions(+) diff --git a/internal/git/transport.go b/internal/git/transport.go index ece40fb3..8432b42c 100644 --- a/internal/git/transport.go +++ b/internal/git/transport.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Flux CD contributors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package git import ( diff --git a/internal/git/transport_test.go b/internal/git/transport_test.go index 6143c9fb..e05e99b9 100644 --- a/internal/git/transport_test.go +++ b/internal/git/transport_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Flux CD contributors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package git import ( diff --git a/internal/helm/getter.go b/internal/helm/getter.go index c8b9234e..ad1897dd 100644 --- a/internal/helm/getter.go +++ b/internal/helm/getter.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Flux CD contributors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package helm import ( diff --git a/internal/helm/getter_test.go b/internal/helm/getter_test.go index 40986fd9..58e0fc63 100644 --- a/internal/helm/getter_test.go +++ b/internal/helm/getter_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Flux CD contributors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package helm import ( diff --git a/internal/testserver/helm.go b/internal/testserver/helm.go index db0ddf5e..24b9ec16 100644 --- a/internal/testserver/helm.go +++ b/internal/testserver/helm.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Flux CD contributors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package testserver import ( diff --git a/internal/testserver/http.go b/internal/testserver/http.go index 95f68dee..166b153f 100644 --- a/internal/testserver/http.go +++ b/internal/testserver/http.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The Flux CD contributors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package testserver import ( From 61b2bfe36e87a1a6f4da02766cdbd265d7214aa8 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Sun, 19 Apr 2020 10:55:13 +0200 Subject: [PATCH 2/2] docs: add badges to README --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 679f7db0..db738532 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # Source controller +[![e2e](https://github.com/fluxcd/source-controller/workflows/e2e/badge.svg)](https://github.com/fluxcd/kustomize-controller/actions) +[![report](https://goreportcard.com/badge/github.com/fluxcd/source-controller)](https://goreportcard.com/report/github.com/fluxcd/source-controller) +[![license](https://img.shields.io/github/license/fluxcd/source-controller.svg)](https://github.com/fluxcd/source-controller/blob/master/LICENSE) +[![release](https://img.shields.io/github/release/fluxcd/source-controller/all.svg)](https://github.com/fluxcd/source-controller/releases) + The source-controller is an implementation of the [source.fluxcd.io](https://github.com/fluxcd/source-controller/tree/master/docs/spec/v1alpha1) API based on the specifications described in the