mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-10 19:07:04 +01:00
Two levels of pure taxonomy carrying no information, and a 2-directory
cap leaves no room for them. Categories now sit directly under
linux_configuration/: features, fixes, utils, misc, fresh-install,
installers, diagnostics, gaming, boot_recovery, periodic_background, lib,
meta, tests. A script's own lib/ and tests/ are exempt from the cap, so
those stay put.
Depth violations 248 -> 139; roughly 40 of the remainder are inside
digital_wellbeing and hosts, deferred until the guard-lib repoint.
The moves are the easy half. What breaks is every path that counted
levels, and three classes of it had to be found by resolving paths rather
than reading diffs:
- 52 relative `source` lines for lib/common.sh and lib/android.sh. The
correct prefix differs per file: 40 were ../../ and 12 were ../../../,
so a blanket replace would have fixed one set and broken the other.
- REPO_ROOT in 7 fixes/lib/tests harnesses and setup_syncyomi_guard.sh,
each walking up four levels from a directory now two levels shallower.
This caused a real regression -- the fixes suite went red with
"log_warn: command not found" -- caught by running it and comparing
against the pre-move baseline worktree.
- conftest.py's sys.path entries, which took the pytest gate down with
14 collection errors, and the `# shellcheck source=` directives, which
took shellcheck down with SC1091.
16 symlinks in $HOME broke, including the entire i3blocks bar. All
repointed, and cpu_monitor/memory/disk/time/volume were run to confirm
they emit real output rather than merely resolving.
Verified: 1798 tests pass at 100% coverage, 8 of 9 lib/tests suites pass
(the ninth needs the coverage jail, identically at baseline), pre-commit
is clean, and the two untracked secret configs are still ignored after
their gitignore paths changed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PJrqKERAo5QUeEHWS5Asgp
423 lines
9.6 KiB
Plaintext
423 lines
9.6 KiB
Plaintext
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
|
|
|
# Sensitive — must NEVER be committed (contains regex of home GPS coordinates etc.)
|
|
.secret-patterns
|
|
|
|
# dufs cloud secret config — holds a plaintext web password; never commit anywhere.
|
|
**/.dufs_cloud.conf
|
|
.dufs_cloud.conf
|
|
|
|
# Compiled output
|
|
/dist
|
|
/tmp
|
|
/out-tsc
|
|
/bazel-out
|
|
|
|
# Node
|
|
**/node_modules/
|
|
npm-debug.log
|
|
yarn-error.log
|
|
|
|
# IDEs and editors
|
|
.idea/
|
|
.project
|
|
.classpath
|
|
.c9/
|
|
*.launch
|
|
.settings/
|
|
*.sublime-workspace
|
|
|
|
# Visual Studio Code
|
|
.vscode/*
|
|
!.vscode/settings.json
|
|
!.vscode/tasks.json
|
|
!.vscode/launch.json
|
|
!.vscode/extensions.json
|
|
.history/*
|
|
|
|
# Miscellaneous
|
|
/.angular/cache
|
|
.sass-cache/
|
|
/connect.lock
|
|
**/coverage/
|
|
/libpeerconnection.log
|
|
testem.log
|
|
/typings
|
|
|
|
# System files
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# ===========================================================================
|
|
# BINARY / IMAGE FILES - Move to ../testsAndMisc_binaries/ instead
|
|
# See .binary-allowlist for exceptions required by builds
|
|
# ===========================================================================
|
|
# Images
|
|
*.png
|
|
*.jpg
|
|
*.jpeg
|
|
*.gif
|
|
*.webp
|
|
*.bmp
|
|
*.ico
|
|
*.tiff
|
|
*.tif
|
|
*.psd
|
|
# SVG is text but often used as image asset
|
|
*.svg
|
|
# Audio / Video
|
|
*.mp3
|
|
*.mp4
|
|
*.wav
|
|
*.avi
|
|
*.mkv
|
|
*.flac
|
|
*.ogg
|
|
*.wma
|
|
*.aac
|
|
*.m4a
|
|
*.mov
|
|
*.wmv
|
|
*.flv
|
|
# Archives
|
|
*.zip
|
|
*.tar.gz
|
|
*.tgz
|
|
*.bz2
|
|
*.xz
|
|
*.7z
|
|
*.rar
|
|
# Documents
|
|
*.pdf
|
|
*.doc
|
|
*.docx
|
|
*.xls
|
|
*.xlsx
|
|
*.ppt
|
|
*.pptx
|
|
# Fonts
|
|
*.ttf
|
|
*.woff
|
|
*.woff2
|
|
*.eot
|
|
*.otf
|
|
# Data / binary
|
|
*.apkg
|
|
*.bin
|
|
*.flat
|
|
*.db
|
|
*.sqlite
|
|
*.sqlite3
|
|
# Compiled
|
|
*.o
|
|
*.so
|
|
*.a
|
|
*.exe
|
|
*.dll
|
|
*.dylib
|
|
|
|
# Explicitly allowed binary files (override above with !)
|
|
|
|
# ===========================================================================
|
|
|
|
# Byte-compiled / optimized / DLL files
|
|
__pycache__/
|
|
*.py[codz]
|
|
*$py.class
|
|
|
|
# C extensions (*.so covered in binary block above)
|
|
|
|
# Distribution / packaging
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
/lib/
|
|
/lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
share/python-wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
MANIFEST
|
|
|
|
# PyInstaller
|
|
# Usually these files are written by a python script from a template
|
|
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
*.manifest
|
|
*.spec
|
|
|
|
# Installer logs
|
|
pip-log.txt
|
|
pip-delete-this-directory.txt
|
|
|
|
# Unit test / coverage reports
|
|
htmlcov/
|
|
.tox/
|
|
.nox/
|
|
.coverage
|
|
.coverage.*
|
|
.cache
|
|
nosetests.xml
|
|
coverage.xml
|
|
coverage.lcov
|
|
*.cover
|
|
*.py.cover
|
|
.hypothesis/
|
|
.pytest_cache/
|
|
cover/
|
|
|
|
# Translations
|
|
*.mo
|
|
*.pot
|
|
|
|
# Django stuff:
|
|
*.log
|
|
local_settings.py
|
|
db.sqlite3
|
|
db.sqlite3-journal
|
|
|
|
# Flask stuff:
|
|
instance/
|
|
.webassets-cache
|
|
|
|
# Scrapy stuff:
|
|
.scrapy
|
|
|
|
# Sphinx documentation
|
|
docs/_build/
|
|
|
|
# PyBuilder
|
|
.pybuilder/
|
|
target/
|
|
|
|
# Jupyter Notebook
|
|
.ipynb_checkpoints
|
|
|
|
# IPython
|
|
profile_default/
|
|
ipython_config.py
|
|
|
|
# pyenv
|
|
# For a library or package, you might want to ignore these files since the code is
|
|
# intended to run in multiple environments; otherwise, check them in:
|
|
# .python-version
|
|
|
|
# pipenv
|
|
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
# install all needed dependencies.
|
|
#Pipfile.lock
|
|
|
|
# UV
|
|
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
# commonly ignored for libraries.
|
|
#uv.lock
|
|
|
|
# poetry
|
|
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
# commonly ignored for libraries.
|
|
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
#poetry.lock
|
|
#poetry.toml
|
|
|
|
# pdm
|
|
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
#pdm.lock
|
|
#pdm.toml
|
|
.pdm-python
|
|
.pdm-build/
|
|
|
|
# pixi
|
|
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
#pixi.lock
|
|
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
.pixi
|
|
|
|
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
__pypackages__/
|
|
|
|
# Celery stuff
|
|
celerybeat-schedule
|
|
celerybeat.pid
|
|
|
|
# SageMath parsed files
|
|
*.sage.py
|
|
|
|
# Environments
|
|
.env
|
|
.envrc
|
|
.venv
|
|
env/
|
|
venv/
|
|
ENV/
|
|
env.bak/
|
|
venv.bak/
|
|
|
|
# Spyder project settings
|
|
.spyderproject
|
|
.spyproject
|
|
|
|
# Rope project settings
|
|
.ropeproject
|
|
|
|
# mkdocs documentation
|
|
/site
|
|
|
|
# mypy
|
|
.mypy_cache/
|
|
.dmypy.json
|
|
dmypy.json
|
|
|
|
# Pyre type checker
|
|
.pyre/
|
|
|
|
# pytype static type analyzer
|
|
.pytype/
|
|
|
|
# Cython debug symbols
|
|
cython_debug/
|
|
|
|
# PyCharm
|
|
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
#.idea/
|
|
|
|
# Abstra
|
|
# Abstra is an AI-powered process automation framework.
|
|
# Ignore directories containing user credentials, local state, and settings.
|
|
# Learn more at https://abstra.io/docs
|
|
.abstra/
|
|
|
|
# Visual Studio Code
|
|
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
# you could uncomment the following to ignore the entire vscode folder
|
|
# .vscode/
|
|
|
|
# Ruff stuff:
|
|
.ruff_cache/
|
|
|
|
# PyPI configuration file
|
|
.pypirc
|
|
|
|
# Marimo
|
|
marimo/_static/
|
|
marimo/_lsp/
|
|
__marimo__/
|
|
|
|
# Streamlit
|
|
.streamlit/secrets.toml
|
|
fps_demo
|
|
server_c
|
|
Bash/ffmpeg-build/FFmpeg
|
|
|
|
# C/C++ coverage and test artifacts
|
|
*.gcda
|
|
*.gcno
|
|
**/coverage.info
|
|
|
|
# Screen locker workout log
|
|
python_pkg/screen_locker/workout_log.json
|
|
|
|
# Screen locker state files
|
|
python_pkg/screen_locker/sick_day_state.json
|
|
python_pkg/screen_locker/sick_history.json
|
|
python_pkg/screen_locker/workout_log.json.bak
|
|
preview_images
|
|
# Anki generated packages (*.apkg covered in binary block above)
|
|
|
|
# Geographic data cache (can be regenerated)
|
|
python_pkg/geo_cache/
|
|
|
|
# Local venvs in subpackages
|
|
python_pkg/*/.venv/
|
|
python_pkg/*/cache/
|
|
|
|
# FVM Version Cache
|
|
.fvm/
|
|
|
|
# Focus mode secrets (contains home GPS coordinates). phone_focus_mode/ moved
|
|
# to its own repo, but the working copy is still on this machine and still
|
|
# holds a real location, so the ignore stays until the directory is gone.
|
|
phone_focus_mode/config_secrets.sh
|
|
phone_focus_mode/focus_status_app/build
|
|
phone_focus_mode/focus_status_app/debug.keystore
|
|
|
|
# Generated output files
|
|
out.txt
|
|
|
|
# Build output symlinks (point to ../testsAndMisc_builds/)
|
|
# Patterns without trailing / to match symlinks, not just directories
|
|
.worktrees
|
|
.claude/
|
|
|
|
# ci_mirror.sh cached requirements.txt venv (rebuilt on demand)
|
|
.ci-mirror-venv/
|
|
|
|
# Locally built Arch packages. The PKGBUILD and installer script are the source
|
|
# and stay tracked; the built artifact is a ~600 MB binary that must never be
|
|
# committed (see memories/binary-files.md).
|
|
linux_configuration/*/*.pkg.tar.zst
|
|
linux_configuration/*/*.pkg.tar.xz
|
|
|
|
# Wine/Bottles prefixes — local runtime state, not source.
|
|
bottles/
|
|
|
|
# archwiki_rag local vector index: regenerated by `reindex`, machine-specific,
|
|
# and full of binary sqlite/parquet blobs.
|
|
linux_configuration/periodic_background/digital_wellbeing/data/
|
|
|
|
# ===========================================================================
|
|
# billsplit (Flutter) — launcher icons & platform assets MUST live in-repo
|
|
# ===========================================================================
|
|
# The blanket *.png / *.ico / *.manifest rules above would swallow the whole
|
|
# platform icon set, leaving a checkout that cannot `flutter build`. These are
|
|
# generated build inputs, not stray binaries, so they get the documented
|
|
# .binary-allowlist exception rather than the ../testsAndMisc_binaries/ +
|
|
# symlink treatment (a symlinked PNG breaks a fresh clone).
|
|
# Last-match-wins: this block sits at the end of the file on purpose, so it
|
|
# also overrides *.manifest in the PyInstaller section.
|
|
# Source art for the shared icon generator (python_pkg/app_icons). Both the
|
|
# SVG and the rasterised PNG are kept so regenerating never needs rsvg-convert.
|
|
!billsplit/assets/icon/*.svg
|
|
!billsplit/assets/icon/*.png
|
|
# Android: legacy mipmaps plus the adaptive foreground/monochrome layers that
|
|
# flutter_launcher_icons writes into drawable-*/.
|
|
!billsplit/android/app/src/main/res/**/*.png
|
|
# Android is the only platform target this repo ships. The ios/macos/windows/
|
|
# linux runner dirs were unused `flutter create` scaffolding (96 tracked files,
|
|
# nothing built them - billsplit-ci.yml runs analyze/test only) and were
|
|
# removed. Ignore them so a stray `flutter create` cannot silently reintroduce
|
|
# them as tracked files; regenerate locally when a platform is actually wanted.
|
|
billsplit/ios/
|
|
billsplit/macos/
|
|
billsplit/windows/
|
|
billsplit/linux/
|
|
|
|
# TypeScript incremental build cache - generated, never useful in a diff.
|
|
*.tsbuildinfo
|
|
# CocoIndex Code (ccc)
|
|
/.cocoindex_code/
|
|
|
|
# Endurain: generated secrets (SECRET_KEY, FERNET_KEY, DB password) and the
|
|
# importer's API key + dedupe ledger. Never commit.
|
|
endurain/.env
|
|
endurain/.api_key
|
|
endurain/state/
|