From 26317223194e5df9ac6321fb78cbe1a5005dd8b6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 29 Jun 2021 16:45:13 +0200 Subject: [PATCH] copyright: add boiler-plate headers to CI config files And whitelist .zuul.ignore Closes #7314 --- .circleci/config.yml | 22 ++++++++++++++++++++++ scripts/copyright.pl | 3 +++ zuul.d/jobs.yaml | 21 +++++++++++++++++++++ zuul.d/playbooks/post.yaml | 21 +++++++++++++++++++++ zuul.d/playbooks/pre.yaml | 21 +++++++++++++++++++++ zuul.d/playbooks/run.yaml | 21 +++++++++++++++++++++ 6 files changed, 109 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2e7e55f645..67372b6582 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,3 +1,25 @@ +#*************************************************************************** +# _ _ ____ _ +# Project ___| | | | _ \| | +# / __| | | | |_) | | +# | (__| |_| | _ <| |___ +# \___|\___/|_| \_\_____| +# +# Copyright (C) 2021, Daniel Stenberg, , et al. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at https://curl.se/docs/copyright.html. +# +# You may opt to use, copy, modify, merge, publish, distribute and/or sell +# copies of the Software, and permit persons to whom the Software is +# furnished to do so, under the terms of the COPYING file. +# +# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +# KIND, either express or implied. +# +########################################################################### + # Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference version: 2.1 diff --git a/scripts/copyright.pl b/scripts/copyright.pl index 3a5b12af96..8ead378bdf 100755 --- a/scripts/copyright.pl +++ b/scripts/copyright.pl @@ -79,6 +79,9 @@ my @skiplist=( # checksrc control files '\.checksrc$', + # an empty control file + "^zuul.d/playbooks/.zuul.ignore", + ); sub scanfile { diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 684b96e93b..9962c0e195 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -1,3 +1,24 @@ +#*************************************************************************** +# _ _ ____ _ +# Project ___| | | | _ \| | +# / __| | | | |_) | | +# | (__| |_| | _ <| |___ +# \___|\___/|_| \_\_____| +# +# Copyright (C) 2021, Daniel Stenberg, , et al. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at https://curl.se/docs/copyright.html. +# +# You may opt to use, copy, modify, merge, publish, distribute and/or sell +# copies of the Software, and permit persons to whom the Software is +# furnished to do so, under the terms of the COPYING file. +# +# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +# KIND, either express or implied. +# +########################################################################### --- - job: name: curl-base diff --git a/zuul.d/playbooks/post.yaml b/zuul.d/playbooks/post.yaml index 2df7a778f8..1d2171812f 100644 --- a/zuul.d/playbooks/post.yaml +++ b/zuul.d/playbooks/post.yaml @@ -1,3 +1,24 @@ +#*************************************************************************** +# _ _ ____ _ +# Project ___| | | | _ \| | +# / __| | | | |_) | | +# | (__| |_| | _ <| |___ +# \___|\___/|_| \_\_____| +# +# Copyright (C) 2021, Daniel Stenberg, , et al. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at https://curl.se/docs/copyright.html. +# +# You may opt to use, copy, modify, merge, publish, distribute and/or sell +# copies of the Software, and permit persons to whom the Software is +# furnished to do so, under the terms of the COPYING file. +# +# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +# KIND, either express or implied. +# +########################################################################### --- - hosts: all tasks: diff --git a/zuul.d/playbooks/pre.yaml b/zuul.d/playbooks/pre.yaml index bb4d3ded7f..9fe7fc4a5b 100644 --- a/zuul.d/playbooks/pre.yaml +++ b/zuul.d/playbooks/pre.yaml @@ -1,3 +1,24 @@ +#*************************************************************************** +# _ _ ____ _ +# Project ___| | | | _ \| | +# / __| | | | |_) | | +# | (__| |_| | _ <| |___ +# \___|\___/|_| \_\_____| +# +# Copyright (C) 2021, Daniel Stenberg, , et al. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at https://curl.se/docs/copyright.html. +# +# You may opt to use, copy, modify, merge, publish, distribute and/or sell +# copies of the Software, and permit persons to whom the Software is +# furnished to do so, under the terms of the COPYING file. +# +# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +# KIND, either express or implied. +# +########################################################################### --- - hosts: all tasks: diff --git a/zuul.d/playbooks/run.yaml b/zuul.d/playbooks/run.yaml index 4904b9c9e7..d78e04a577 100644 --- a/zuul.d/playbooks/run.yaml +++ b/zuul.d/playbooks/run.yaml @@ -1,3 +1,24 @@ +#*************************************************************************** +# _ _ ____ _ +# Project ___| | | | _ \| | +# / __| | | | |_) | | +# | (__| |_| | _ <| |___ +# \___|\___/|_| \_\_____| +# +# Copyright (C) 2021, Daniel Stenberg, , et al. +# +# This software is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at https://curl.se/docs/copyright.html. +# +# You may opt to use, copy, modify, merge, publish, distribute and/or sell +# copies of the Software, and permit persons to whom the Software is +# furnished to do so, under the terms of the COPYING file. +# +# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +# KIND, either express or implied. +# +########################################################################### --- - hosts: all tasks: -- 2.47.3