This is an automated email from the ASF dual-hosted git repository.

asorokoumov pushed a commit to branch upd-license-Dockerfile
in repository https://gitbox.apache.org/repos/asf/otava.git

commit 51f975c1e4d9a2c2bc09a3f46e6373838752f492
Author: Alex Sorokoumov <[email protected]>
AuthorDate: Sun Mar 30 14:53:23 2025 -0700

    Update Dockerfile license (+ fix pre-commit-config)
    
    I noticed that the the pre-commit-config did not not update Dockerfile's
    license. I don't know why, but multiline "files" value does not
    pattern-match "Dockerfile", while same-line does.
---
 .pre-commit-config.yaml |  3 +--
 Dockerfile              | 23 ++++++++++++++---------
 2 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1eb40b8..5660b3d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -92,5 +92,4 @@ repos:
           - --license-filepath
           - ci-tools/license-templates/LICENSE.txt
           - --fuzzy-match-generates-todo
-        files: >
-          \.ini$|poetryw$|toxw$|Dockerfile.*$
+        files: \.ini$|poetryw$|toxw$|Dockerfile.*$
diff --git a/Dockerfile b/Dockerfile
index 1fafa67..e168c3b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,14 +1,19 @@
-# 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
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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
+#   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.
+# 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.
 
 FROM python:3.8.0-slim-buster
 # So that STDOUT/STDERR is printed

Reply via email to