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

sciabarracom pushed a commit to branch 0.9.0
in repository https://gitbox.apache.org/repos/asf/openserverless-cli.git

commit 5194e7cd72ab16f485e2cb363da96ddc1f6160b7
Author: Michele Sciabarra <[email protected]>
AuthorDate: Sun Sep 13 10:49:27 2026 +0200

    fix the strip-header, removed rat
---
 Taskfile.yml | 27 +--------------------------
 1 file changed, 1 insertion(+), 26 deletions(-)

diff --git a/Taskfile.yml b/Taskfile.yml
index 10802ff..c62eafe 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -128,6 +128,7 @@ tasks:
   tests:
     desc: all tests
     cmds:
+      - task: strip-header
       - touch tools/empty_file
       - task: install
       - task: utest
@@ -179,32 +180,6 @@ tasks:
         else bats/bin/bats {{.F}} {{.T}}.bats
         fi
 
-  rat:
-    desc: check ASF license compliance with Apache RAT
-    cmds:
-    - rat --input-exclude-parsed-scm GIT --input-exclude-file .rat-excludes -- 
.
-
-  rat-list:
-    desc: list files RAT does not approve, one per line (T=all to list every 
file)
-    vars:
-      XML: .task/rat.xml
-    cmds:
-    - mkdir -p .task
-    - defer: rm -f {{.XML}}
-    - rat --input-exclude-parsed-scm GIT --input-exclude-file .rat-excludes 
--output-file {{.XML}} --output-style xml -- . >/dev/null 2>&1 || true
-    - |
-      python3 - {{.XML}} {{.T}} <<'EOF'
-      import sys, xml.etree.ElementTree as ET
-      xml = sys.argv[1]
-      show_all = len(sys.argv) > 2 and sys.argv[2] == 'all'
-      for res in ET.parse(xml).getroot().iter('resource'):
-          approved = any(l.get('approval') == 'true' for l in 
res.findall('license'))
-          if approved and not show_all:
-              continue
-          lic = ','.join(l.get('id') or '?' for l in res.findall('license')) 
or '-'
-          print(f"{res.get('type'):9} {res.get('mediaType'):26} {lic:12} 
{res.get('name')}")
-      EOF
-
   clean:
     - rm ops || true
     - go clean -cache -modcache -testcache -fuzzcache

Reply via email to