chore: remove committed local artifacts and tidy .gitignore - #7
Conversation
The repository currently tracks a few files that are generated locally rather than authored: a macOS .DS_Store at the root (already listed in .gitignore but tracked from before the rule was added), two runtime log files (tx_log.txt, empty, and upload_log.txt, an HTTP transfer log written by rf_stream/upload_to_hf.py), and the MATLAB/Simulink JIT and codegen cache under sdrmatlab/slprj/. These change on every local run and add noise to diffs, so this commit removes them from version control. sdradi/pluto_test/test_video.mp4 is also untracked from the index only (kept on disk), since several sdradi scripts use test_video.mp4 as their default input. .gitignore is tidied at the same time: duplicate entries from the appended block (__pycache__/, *.egg-info/, build/, dist/, .env), two redundant rf_stream_rx_runs variants plus a one-off captures.csv path already covered by the directory pattern, and the stock-template bare lib/ entry are removed; slprj/, tx_log.txt, upload_log.txt, *.pth and *.ckpt are added so the files removed here stay ignored. Verified with git check-ignore that every removed path is matched by the resulting .gitignore, and that the existing docs and newsdr entries are untouched. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Correcting one detail in my own description above: the rationale I gave for using I wrote that the file is kept on disk "since several So the tracked 🤖 Generated with Claude Code |
This PR removes a few files from version control that appear to be locally generated rather than authored, and tidies up
.gitignoreso they stay ignored going forward.Problem
A handful of machine-generated files are currently tracked: a root-level
.DS_Store(already listed in.gitignore, but tracked from before the rule was added), an emptytx_log.txt, a ~91 KBupload_log.txt(an HTTP transfer log written at runtime byrf_stream/upload_to_hf.py), and the MATLAB/Simulink JIT/codegen cache undersdrmatlab/slprj/. These change on every local run and add noise to diffs. Separately,.gitignorehad accumulated a few duplicate entries.Fix
sdradi/pluto_test/test_video.mp4is untracked from the index only (git rm --cached), since severalsdradiscripts usetest_video.mp4as their default input; it was already covered by an ignore rule added in the same commit as the file. Note that pulling this change removes the working-tree copy of that file (standard git behavior when untracking), so you may want to keep a local copy if you still use it..gitignore: drop duplicate entries (__pycache__/,*.egg-info/,build/,dist/,.env), consolidate the threerf_stream_rx_runsvariants into the single unanchored entry, and remove the stock-template barelib/entry. Addslprj/,tx_log.txt,upload_log.txt,*.pth, and*.ckpt. The intentionaldocsandnewsdrentries are left as they are.imgs/64QAM_copy.pngwas deliberately left alone: it differs fromimgs/64QAM.pngand is written bysdrpysim/testmatplotlibcv2.py.Verification
git check-ignoreconfirms every removed path is matched by the resulting.gitignore;git statusis clean after the commit andgit ls-filesno longer lists the removed paths. Happy to adjust or split this if you'd prefer any of these handled differently.🤖 Generated with Claude Code