0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-16 21:56:43 -05:00

cleanup license headers and contributing docs

- switch to "project authors" style copyright.  Instead of an AUTHORS
  file (https://opensource.google/docs/releasing/authors/), I just list
  Google as a major copyright holder in the README.
- use SPDX style license headers in source files
- remove CLA requirement from contributing docs
This commit is contained in:
Will Norris 2021-03-10 12:24:13 -08:00
parent 3a30ba791e
commit 7ba3f124eb
16 changed files with 37 additions and 132 deletions

View file

@ -380,5 +380,7 @@ to alter the precedence order by setting:
## License ## ## License ##
imageproxy is copyright Google, but is not an official Google product. It is imageproxy is copyright its respective authors. All of my personal work on
available under the [Apache 2.0 License](./LICENSE). imageproxy through 2020 (which accounts for the majority of the code) is
copyright Google, my employer at the time. It is available under the [Apache
2.0 License](./LICENSE).

View file

@ -1,16 +1,5 @@
// Copyright 2013 Google LLC. All rights reserved. // Copyright 2013 The imageproxy authors.
// // SPDX-License-Identifier: Apache-2.0
// 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 imageproxy package imageproxy

View file

@ -1,16 +1,5 @@
// Copyright 2013 Google LLC. All rights reserved. // Copyright 2013 The imageproxy authors.
// // SPDX-License-Identifier: Apache-2.0
// 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 imageproxy package imageproxy

View file

@ -1,3 +1,6 @@
// Copyright 2013 The imageproxy authors.
// SPDX-License-Identifier: Apache-2.0
// The imageproxy-sign tool creates signature values for a provided URL and // The imageproxy-sign tool creates signature values for a provided URL and
// signing key. // signing key.
package main package main

View file

@ -1,3 +1,6 @@
// Copyright 2013 The imageproxy authors.
// SPDX-License-Identifier: Apache-2.0
package main package main
import ( import (

View file

@ -1,16 +1,5 @@
// Copyright 2013 Google LLC. All rights reserved. // Copyright 2013 The imageproxy authors.
// // SPDX-License-Identifier: Apache-2.0
// 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.
// imageproxy starts an HTTP server that proxies requests for remote images. // imageproxy starts an HTTP server that proxies requests for remote images.
package main package main

15
data.go
View file

@ -1,16 +1,5 @@
// Copyright 2013 Google LLC. All rights reserved. // Copyright 2013 The imageproxy authors.
// // SPDX-License-Identifier: Apache-2.0
// 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 imageproxy package imageproxy

View file

@ -1,16 +1,5 @@
// Copyright 2013 Google LLC. All rights reserved. // Copyright 2013 The imageproxy authors.
// // SPDX-License-Identifier: Apache-2.0
// 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 imageproxy package imageproxy

View file

@ -27,16 +27,3 @@ Go code should follow general best practices, such as using go fmt, go lint, and
go vet (this is enforced by our continuous integration setup). Tests should go vet (this is enforced by our continuous integration setup). Tests should
always be included where possible, especially for bug fixes in order to prevent always be included where possible, especially for bug fixes in order to prevent
regressions. regressions.
## Contributor License Agreement
Even though this is effectively a personal project of mine, it is still governed
by Google's Contributor License Agreement because of my employment there. You
(or your employer) retain the copyright to your contribution; the CLA simply
gives permission to use and redistribute your contributions as part of the
project. Head over to <https://cla.developers.google.com/> to see your current
agreements on file or to sign a new one.
You generally only need to submit a CLA once, so if you've already submitted one
(even if it was for a different Google project), you probably don't need to do
it again.

View file

@ -1,16 +1,5 @@
// Copyright 2013 Google LLC. All rights reserved. // Copyright 2013 The imageproxy authors.
// // SPDX-License-Identifier: Apache-2.0
// 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 imageproxy provides an image proxy server. For typical use of // Package imageproxy provides an image proxy server. For typical use of
// creating and using a Proxy, see cmd/imageproxy/main.go. // creating and using a Proxy, see cmd/imageproxy/main.go.

View file

@ -1,16 +1,5 @@
// Copyright 2013 Google LLC. All rights reserved. // Copyright 2013 The imageproxy authors.
// // SPDX-License-Identifier: Apache-2.0
// 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 imageproxy package imageproxy

View file

@ -1,3 +1,6 @@
// Copyright 2013 The imageproxy authors.
// SPDX-License-Identifier: Apache-2.0
// Package gcscache provides an httpcache.Cache implementation that stores // Package gcscache provides an httpcache.Cache implementation that stores
// cached values on Google Cloud Storage. // cached values on Google Cloud Storage.
package gcscache package gcscache

View file

@ -1,3 +1,6 @@
// Copyright 2013 The imageproxy authors.
// SPDX-License-Identifier: Apache-2.0
// Package s3cache provides an httpcache.Cache implementation that stores // Package s3cache provides an httpcache.Cache implementation that stores
// cached values on Amazon S3. // cached values on Amazon S3.
package s3cache package s3cache

View file

@ -1,3 +1,6 @@
// Copyright 2013 The imageproxy authors.
// SPDX-License-Identifier: Apache-2.0
package imageproxy package imageproxy
import ( import (

View file

@ -1,16 +1,5 @@
// Copyright 2013 Google LLC. All rights reserved. // Copyright 2013 The imageproxy authors.
// // SPDX-License-Identifier: Apache-2.0
// 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 imageproxy package imageproxy

View file

@ -1,16 +1,5 @@
// Copyright 2013 Google LLC. All rights reserved. // Copyright 2013 The imageproxy authors.
// // SPDX-License-Identifier: Apache-2.0
// 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 imageproxy package imageproxy