From 17d16d445b7eaadba8f8093b2c242b87bc15ae08 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Tue, 23 Jun 2026 15:55:16 -0400 Subject: [PATCH] chore: clean up test_root/data/ and ignore generated artifacts At some point output from a test run got accidentally checked into test_root/data/, which made it hard to fully gitignore the other test-run artifacts that land there. Delete the orphan files and switch the directory to allow-list mode: ignore everything by default and re-include the video/ fixtures we want to keep on purpose. Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitignore | 8 ++++++++ test_root/data/.gitkeep | 0 .../good.tar.gz | Bin 398 -> 0 bytes .../good.tar.gz | Bin 395 -> 0 bytes 4 files changed, 8 insertions(+) delete mode 100644 test_root/data/.gitkeep delete mode 100644 test_root/data/Q291cnNlTG9jYXRvcignb3JnLjIzMTYnLCAnY291cnNlXzIzMTYnLCAnUnVuXzIzMTYnLCBOb25lLCBOb25lKQ==/good.tar.gz delete mode 100644 test_root/data/Q291cnNlTG9jYXRvcignb3JnLjIzMTknLCAnY291cnNlXzIzMTknLCAnUnVuXzIzMTknLCBOb25lLCBOb25lKQ==/good.tar.gz diff --git a/.gitignore b/.gitignore index 069d8ebe3635..b99af7496bd6 100644 --- a/.gitignore +++ b/.gitignore @@ -89,6 +89,14 @@ pytest_task*.txt common/test/data/test_unicode/static/ test_root/courses/ test_root/data/test_bare.git/ +# `test_root/data/` is `settings.GITHUB_REPO_ROOT` in the test settings; +# course-import code (`cms/djangoapps/contentstore/.../tasks.py::import_olx`) +# writes per-course subdirectories here named `urlsafe_b64encode(repr(course_key))`. +# Ignore everything in that directory by default and explicitly re-include the +# fixtures we actually want tracked. New fixture additions need an extra `!` line +# below. +test_root/data/* +!test_root/data/video test_root/export_course_repos/ test_root/paver_logs/ test_root/uploads/ diff --git a/test_root/data/.gitkeep b/test_root/data/.gitkeep deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/test_root/data/Q291cnNlTG9jYXRvcignb3JnLjIzMTYnLCAnY291cnNlXzIzMTYnLCAnUnVuXzIzMTYnLCBOb25lLCBOb25lKQ==/good.tar.gz b/test_root/data/Q291cnNlTG9jYXRvcignb3JnLjIzMTYnLCAnY291cnNlXzIzMTYnLCAnUnVuXzIzMTYnLCBOb25lLCBOb25lKQ==/good.tar.gz deleted file mode 100644 index 04a76587923d746b4f5817e8965419368952e177..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 398 zcmV;90df8xiwFo)l|f_z|7UM+WG-}Jascht?`ncj7=UpB%UV5`W0eh*Siow_;I}c z-1kEzExWcluv}EJX)b^4A9*HZ&(5k@mJEH}lfv(79l1TF`aNG?S@`#=tn`}K%cGpk zR{D8;yn1>q=M$NF$DIFY-~4YM`&tIdvQ?M!Z;GPYciwm3pXvO&^q>CIfBOGL|5Fp^ z(=s+mUU@$qjYz4(`!9u3A^oTS^q>CY6#D;@HPF8QQiMGJ(|`I;|8YwFpA<{8NWAu= z(XRhNK>z7K{ipvp#r`+{lwkZ&npvK@bv8d>G;|p5o`30Y^ diff --git a/test_root/data/Q291cnNlTG9jYXRvcignb3JnLjIzMTknLCAnY291cnNlXzIzMTknLCAnUnVuXzIzMTknLCBOb25lLCBOb25lKQ==/good.tar.gz b/test_root/data/Q291cnNlTG9jYXRvcignb3JnLjIzMTknLCAnY291cnNlXzIzMTknLCAnUnVuXzIzMTknLCBOb25lLCBOb25lKQ==/good.tar.gz deleted file mode 100644 index b0cd2cc3b3a12a4b0b4732400e7f6e4043b37d9c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 395 zcmV;60d)Q!iwFo+l|f_z|7UM+WG-}Jascht;c9|V7=U4a?<&L#@SLNbqd~=fY_Ok$ zT|mf^kfp}ShII8a8f?UBNt>(nJ`hO>6862HzVOBEW7<4q=`^#>uaH~&-lYtqkK@hf zN<}(w+{Wp_YFVeYz5GxA$O{o9Zc*n&Hc}=Dq#77A@FQhZlIR-;|6W}zMEh#u3idpZ?STFZw^TX*pe_ zHY;m!>S)ATAK(9=EkaEH=|BCa|2T*KpRxwJ_g|Ta=YRT7|LH%@ssGQ_$}Tg}eKflD zKUDOe{?mW@k8|vQ`%eicPYauuGruY3M~sGvqW$w9sGa_6ZQA*lea`=t_J6p&qvPTG ztsOHGSB3r0{%8NQ|2ysfBX)kL{U7h{|Iir8{_k=ByDK}Nlxf=m@6)rL=T>$$^6u{% p&)uFk@}w_i;|ZP<0000000000000000002~#v9y#uYdqh007L9*pmPN