Spaces:
Running
Running
Commit Β·
a083c8b
1
Parent(s): 9e78187
chore: archive one-off patch scripts instead of leaving them at repo root
Browse filesfix_lang_search.py, fix_stats_lock.py, and fix_conn_map_xss.py were
committed at the project root with no indication of whether they'd
already been applied or were still pending. fix_lang_search.py in
particular is the literal source of the app.js SyntaxError fixed
earlier in this branch -- worth keeping as a record, but clearly
marked as already-applied and not safe to re-run.
Moved all three into scripts/patches/ with an .applied suffix and a
README explaining the convention going forward.
scripts/patches/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Applied patch scripts (archive)
|
| 2 |
+
|
| 3 |
+
These were one-off scripts used to patch specific bugs during earlier
|
| 4 |
+
sprints. They have already been run against the codebase and are kept
|
| 5 |
+
here (renamed `.applied`) purely as a record of what was changed and
|
| 6 |
+
why -- do NOT re-run them, they are not idempotent and some (see
|
| 7 |
+
fix_lang_search.py.applied) contain the literal source of a bug that
|
| 8 |
+
was fixed in a later commit.
|
| 9 |
+
|
| 10 |
+
If you need to make a similar fix in the future, write a fresh patch
|
| 11 |
+
script, test it with `node --check` / `python3 -m py_compile` before
|
| 12 |
+
committing, and archive it here afterward the same way.
|
fix_conn_map_xss.py β scripts/patches/fix_conn_map_xss.py.applied
RENAMED
|
File without changes
|
fix_lang_search.py β scripts/patches/fix_lang_search.py.applied
RENAMED
|
File without changes
|
fix_stats_lock.py β scripts/patches/fix_stats_lock.py.applied
RENAMED
|
File without changes
|