Ver código fonte

ci(workflows): standardize bypass message capitalization in ABI checks

Update all bypass messages in the ABI comparison scripts to use consistent title case ("Who Cares? Bypassing Now!") across different Android and kernel versions
TheWildJames 10 meses atrás
pai
commit
7efd258174
2 arquivos alterados com 7 adições e 7 exclusões
  1. 6 6
      .github/workflows/build.yml
  2. 1 1
      .trae/rules/project_rules.md

+ 6 - 6
.github/workflows/build.yml

@@ -447,17 +447,17 @@ jobs:
           # ABI compare bypass per kernel/android version
           # Edit each block as needed per version
           if [[ "${{ inputs.android_version }}" == "android12" && "${{ inputs.kernel_version }}" == "5.10" ]]; then
-            sed -i 's/^\s*exit 1$/    echo "Who cares? Bypassing now!"/' build/abi/compare_to_symbol_list
+            sed -i 's/^\s*exit 1$/    echo "Who Cares? Bypassing Now!"/' build/abi/compare_to_symbol_list
           elif [[ "${{ inputs.android_version }}" == "android13" && "${{ inputs.kernel_version }}" == "5.10" ]]; then
-            sed -i 's/^\s*exit 1$/    echo "Who cares? Bypassing now!"/' build/kernel/abi/compare_to_symbol_list
+            sed -i 's/^\s*exit 1$/    echo "Who Cares? Bypassing Now!"/' build/kernel/abi/compare_to_symbol_list
           elif [[ "${{ inputs.android_version }}" == "android13" && "${{ inputs.kernel_version }}" == "5.15" ]]; then
-            sed -i 's/^\s*exit 1$/    echo "Who cares? Bypassing now!"/' build/kernel/abi/compare_to_symbol_list
+            sed -i 's/^\s*exit 1$/    echo "Who Cares? Bypassing Now!"/' build/kernel/abi/compare_to_symbol_list
           elif [[ "${{ inputs.android_version }}" == "android14" && "${{ inputs.kernel_version }}" == "5.15" ]]; then
-            sed -i '/if missing_symbols:/,/return 1/ s/return 1$/    print("Who cares! Bypassing now!")\n    return 0/' build/kernel/abi/check_buildtime_symbol_protection.py
+            sed -i '/if missing_symbols:/,/return 1/ s/return 1$/    print("Who Cares? Bypassing Now!")\n    return 0/' build/kernel/abi/check_buildtime_symbol_protection.py
           elif [[ "${{ inputs.android_version }}" == "android14" && "${{ inputs.kernel_version }}" == "6.1" ]]; then
-            sed -i '/if missing_symbols:/,/return 1/ s/return 1$/    print("Who cares! Bypassing now!")\n    return 0/' build/kernel/abi/check_buildtime_symbol_protection.py
+            sed -i '/if missing_symbols:/,/return 1/ s/return 1$/    print("Who Cares? Bypassing Now!")\n    return 0/' build/kernel/abi/check_buildtime_symbol_protection.py
           elif [[ "${{ inputs.android_version }}" == "android15" && "${{ inputs.kernel_version }}" == "6.6" ]]; then
-            sed -i '/if missing_symbols:/,/return 1/ s/return 1$/    print("Who cares! Bypassing now!")\n    return 0/' build/kernel/abi/check_buildtime_symbol_protection.py
+            sed -i '/if missing_symbols:/,/return 1/ s/return 1$/    print("Who Cares? Bypassing Now!")\n    return 0/' build/kernel/abi/check_buildtime_symbol_protection.py
           fi
 
       - name: Configure Build Optimization

+ 1 - 1
.trae/rules/project_rules.md

@@ -1,4 +1,4 @@
 1. All code and conversations must be in English regardless of the language sent!
 2. When I send a request I dont need a confirmation if i want to make the change, I just need the change to be done!
-3. Anytime major changes are done make a new commit with a clear message of what was changed!
+3. Anytime major changes are done make a new commit, no extended explanations needed!
 4. Never Push to github, just git add and git commit!