Skip to content

Commit

Permalink
Update proto copyright dates so generated matches existing dates. (#6617
Browse files Browse the repository at this point in the history
)

### Description of the change

Just a small copyright date update in proto files and mechanical
re-generation with current buf.

I was needing to run buf generate on my own work branch and was seeing
distracting side-effects such as dates which had been manually (?)
changed to 2023 in generated files being reverted back to 2022. So this
PR just updates the dates in the proto files and regenerates so I won't
have that noise in my own diff.

### Benefits

Easier reviewing.

### Applicable issues

- ref #6263

### Additional information

I'll land this once passing to continue.

Signed-off-by: Michael Nelson <minelson@vmware.com>
  • Loading branch information
absoludity committed Aug 14, 2023
1 parent a8ed706 commit 474575c
Show file tree
Hide file tree
Showing 13 changed files with 80 additions and 77 deletions.
2 changes: 2 additions & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ header:
- LICENSE
- NOTICE
- open_source_licenses.txt
- dashboard/build/**
- dashboard/src/setupProxy.js
- dashboard/yarn-error.log
- "**/*.css"
- "**/*.dccache"
- "**/*.html"
Expand Down
8 changes: 4 additions & 4 deletions cmd/kubeapps-apis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ARG VERSION="devel"
ARG lint

# https://github.com/bufbuild/buf/releases/
ARG BUF_VERSION="1.25.1"
ARG BUF_VERSION="1.26.0"

# https://github.com/golangci/golangci-lint/releases
ARG GOLANGCILINT_VERSION="1.53.3"
Expand All @@ -22,7 +22,7 @@ ARG GRPC_HEALTH_PROBE_VERSION="0.4.19"

# Install lint tools
RUN if [ ! -z "$lint" ]; then \
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v$GOLANGCILINT_VERSION; \
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v$GOLANGCILINT_VERSION; \
fi

RUN curl -sSL "https://github.com/bufbuild/buf/releases/download/v$BUF_VERSION/buf-Linux-x86_64" -o "/tmp/buf" && chmod +x "/tmp/buf"
Expand All @@ -44,8 +44,8 @@ COPY cmd cmd

RUN if [ ! -z "$lint" ]; then \
# Run golangci-lint to detect issues
golangci-lint run --timeout=10m ./cmd/kubeapps-apis/... && \
golangci-lint run --timeout=10m ./pkg/...; \
golangci-lint run --timeout=10m ./cmd/kubeapps-apis/... && \
golangci-lint run --timeout=10m ./pkg/...; \
fi

# Lint the proto files to detect errors at build time
Expand Down
42 changes: 22 additions & 20 deletions cmd/kubeapps-apis/gen/core/packages/v1alpha1/packages.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

73 changes: 35 additions & 38 deletions cmd/kubeapps-apis/gen/core/packages/v1alpha1/repositories.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 the Kubeapps contributors.
// Copyright 2021-2023 the Kubeapps contributors.
// SPDX-License-Identifier: Apache-2.0

syntax = "proto3";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 the Kubeapps contributors.
// Copyright 2021-2023 the Kubeapps contributors.
// SPDX-License-Identifier: Apache-2.0

syntax = "proto3";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 the Kubeapps contributors.
// Copyright 2021-2023 the Kubeapps contributors.
// SPDX-License-Identifier: Apache-2.0

syntax = "proto3";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 the Kubeapps contributors.
// Copyright 2021-2023 the Kubeapps contributors.
// SPDX-License-Identifier: Apache-2.0

syntax = "proto3";
Expand Down Expand Up @@ -132,7 +132,7 @@ message FluxPackageRepositoryCustomDetail {
// - aws
// - azure
// - gcp
// The provider field is supported only for Helm OCI repositories. The repository type must
// The provider field is supported only for Helm OCI repositories. The repository type must
// be set to "oci"
// ref https://fluxcd.io/flux/components/source/helmrepositories/#provider
string provider = 1;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 the Kubeapps contributors.
// Copyright 2021-2023 the Kubeapps contributors.
// SPDX-License-Identifier: Apache-2.0

syntax = "proto3";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 the Kubeapps contributors.
// Copyright 2021-2023 the Kubeapps contributors.
// SPDX-License-Identifier: Apache-2.0

syntax = "proto3";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2022 the Kubeapps contributors.
// Copyright 2021-2023 the Kubeapps contributors.
// SPDX-License-Identifier: Apache-2.0

syntax = "proto3";
Expand Down

0 comments on commit 474575c

Please sign in to comment.