Rename Autofix to Fix (#7657)

**Summary** Mostly mechanical symbol rename and search-and-replace, with
small changes to the markdown docs to read better
This commit is contained in:
konsti 2023-09-28 12:53:05 +02:00 committed by GitHub
parent 8028de8956
commit 1e173f7909
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
231 changed files with 943 additions and 960 deletions

View file

@ -1,5 +1,5 @@
"""This is @konstin's scripts for checking an entire checkout of ~2.1k packages for
panics, autofix errors and similar problems.
panics, fix errors and similar problems.
It's a less elaborate, more hacky version of check_ecosystem.py
"""

View file

@ -1,6 +1,6 @@
#!/bin/bash
# This is @konstin's setup for checking an entire checkout of ~3k packages for
# panics, autofix errors and similar problems.
# panics, fix errors and similar problems.
#
# We put this in a docker container because processing random scraped code from GitHub is
# [kinda dangerous](https://moyix.blogspot.com/2022/09/someones-been-messing-with-my-subnormals.html)
@ -28,7 +28,7 @@ time docker run --rm -it \
-v "${SCRIPT_DIR}/ecosystem_all_check.py:/app/ecosystem_all_check.py" \
python:3.11 ./ecosystem_all_check_entrypoint.sh "$@"
# grep the autofix errors
grep -R "the rule codes" "${SCRIPT_DIR}/../target/ecosystem_all_results" | sort > "${SCRIPT_DIR}/../target/autofix-errors.txt"
# grep the fix errors
grep -R "the rule codes" "${SCRIPT_DIR}/../target/ecosystem_all_results" | sort > "${SCRIPT_DIR}/../target/fix-errors.txt"
# Make sure we didn't have an early exit
echo "Done"