From c4cf483ec63ff4fe5e77d46cf5caa3e2c232cfdc Mon Sep 17 00:00:00 2001 From: "The Pkl Team (automation)" Date: Wed, 7 Feb 2024 20:47:46 +0000 Subject: [PATCH] Add license headers --- packages/pkl.pipe/PklProject | 15 +++++++++++++++ packages/pkl.pipe/examples/github_repos_stars.pkl | 15 +++++++++++++++ .../pkl.pipe/examples/k8s_deployment_images.pkl | 15 +++++++++++++++ packages/pkl.pipe/examples/k8s_name_and_kind.pkl | 15 +++++++++++++++ packages/pkl.pipe/json.pkl | 15 +++++++++++++++ packages/pkl.pipe/kubeval.pkl | 15 +++++++++++++++ packages/pkl.pipe/shellshortcuts.pkl | 15 +++++++++++++++ packages/pkl.pipe/tests/examples.pkl | 15 +++++++++++++++ packages/pkl.pipe/text.pkl | 15 +++++++++++++++ packages/pkl.pipe/yaml.pkl | 15 +++++++++++++++ 10 files changed, 150 insertions(+) diff --git a/packages/pkl.pipe/PklProject b/packages/pkl.pipe/PklProject index b5e3f2b..e42c980 100644 --- a/packages/pkl.pipe/PklProject +++ b/packages/pkl.pipe/PklProject @@ -1,3 +1,18 @@ +//===----------------------------------------------------------------------===// +// Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved. +// +// 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 +// +// https://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. +//===----------------------------------------------------------------------===// /// Tools for constructing pipelines and one-liners in Pkl, by processing text, JSON, or YAML. /// /// Use Pkl's `--expression` (or `-x`) argument to provide a Pkl expression that will be evaluated diff --git a/packages/pkl.pipe/examples/github_repos_stars.pkl b/packages/pkl.pipe/examples/github_repos_stars.pkl index 65354aa..fa4fc5a 100644 --- a/packages/pkl.pipe/examples/github_repos_stars.pkl +++ b/packages/pkl.pipe/examples/github_repos_stars.pkl @@ -1,3 +1,18 @@ +//===----------------------------------------------------------------------===// +// Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved. +// +// 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 +// +// https://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. +//===----------------------------------------------------------------------===// /// This example shows how to map a Github API response for repos in an org /// into a list of "reponame: stars". It is the equivalent of the CLI invocation: /// diff --git a/packages/pkl.pipe/examples/k8s_deployment_images.pkl b/packages/pkl.pipe/examples/k8s_deployment_images.pkl index c88090c..37e8f63 100644 --- a/packages/pkl.pipe/examples/k8s_deployment_images.pkl +++ b/packages/pkl.pipe/examples/k8s_deployment_images.pkl @@ -1,3 +1,18 @@ +//===----------------------------------------------------------------------===// +// Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved. +// +// 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 +// +// https://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. +//===----------------------------------------------------------------------===// /// This example shows how to parse a Kubernetes deployment object to get a list of all container images. /// It is the equivalent of the CLI invocation: /// diff --git a/packages/pkl.pipe/examples/k8s_name_and_kind.pkl b/packages/pkl.pipe/examples/k8s_name_and_kind.pkl index f0494ad..9047e8e 100644 --- a/packages/pkl.pipe/examples/k8s_name_and_kind.pkl +++ b/packages/pkl.pipe/examples/k8s_name_and_kind.pkl @@ -1,3 +1,18 @@ +//===----------------------------------------------------------------------===// +// Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved. +// +// 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 +// +// https://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. +//===----------------------------------------------------------------------===// /// This example shows how to parse a Kubernetes deployment object to get a list of all container images. /// It is the equivalent of the CLI invocation: /// diff --git a/packages/pkl.pipe/json.pkl b/packages/pkl.pipe/json.pkl index 5d65b03..0aa60db 100644 --- a/packages/pkl.pipe/json.pkl +++ b/packages/pkl.pipe/json.pkl @@ -1,3 +1,18 @@ +//===----------------------------------------------------------------------===// +// Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved. +// +// 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 +// +// https://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. +//===----------------------------------------------------------------------===// /// CLI tool for working with JSON in Pkl, kind of like [jq](https://stedolan.github.io/jq/). /// /// Example usage: diff --git a/packages/pkl.pipe/kubeval.pkl b/packages/pkl.pipe/kubeval.pkl index 42066d8..16f74ad 100644 --- a/packages/pkl.pipe/kubeval.pkl +++ b/packages/pkl.pipe/kubeval.pkl @@ -1,3 +1,18 @@ +//===----------------------------------------------------------------------===// +// Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved. +// +// 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 +// +// https://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. +//===----------------------------------------------------------------------===// /// A Pkl implementation of a Kubernetes manifest validation tool, inspired by /// [kubeval](https://github.com/instrumenta/kubeval) /// diff --git a/packages/pkl.pipe/shellshortcuts.pkl b/packages/pkl.pipe/shellshortcuts.pkl index 4c36fbf..dea9533 100644 --- a/packages/pkl.pipe/shellshortcuts.pkl +++ b/packages/pkl.pipe/shellshortcuts.pkl @@ -1,3 +1,18 @@ +//===----------------------------------------------------------------------===// +// Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved. +// +// 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 +// +// https://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. +//===----------------------------------------------------------------------===// /// Shell aliases for using Pkl pipe tools. /// /// To make using the Pkl pipe tools even easier, this module produces a shell aliases file diff --git a/packages/pkl.pipe/tests/examples.pkl b/packages/pkl.pipe/tests/examples.pkl index 971ab56..f4db8b2 100644 --- a/packages/pkl.pipe/tests/examples.pkl +++ b/packages/pkl.pipe/tests/examples.pkl @@ -1,3 +1,18 @@ +//===----------------------------------------------------------------------===// +// Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved. +// +// 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 +// +// https://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. +//===----------------------------------------------------------------------===// amends "pkl:test" examples { diff --git a/packages/pkl.pipe/text.pkl b/packages/pkl.pipe/text.pkl index 317f8f7..4bec8e4 100644 --- a/packages/pkl.pipe/text.pkl +++ b/packages/pkl.pipe/text.pkl @@ -1,3 +1,18 @@ +//===----------------------------------------------------------------------===// +// Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved. +// +// 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 +// +// https://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. +//===----------------------------------------------------------------------===// /// Tools for constructing pipelines and one-liners in Pkl. /// /// Example usage: diff --git a/packages/pkl.pipe/yaml.pkl b/packages/pkl.pipe/yaml.pkl index f1a9714..f935816 100644 --- a/packages/pkl.pipe/yaml.pkl +++ b/packages/pkl.pipe/yaml.pkl @@ -1,3 +1,18 @@ +//===----------------------------------------------------------------------===// +// Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved. +// +// 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 +// +// https://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. +//===----------------------------------------------------------------------===// /// CLI tool for working with YAML in Pkl, kind of like [yq](https://github.com/mikefarah/yq) or /// [yq](https://github.com/kislyuk/yq). ///