mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-10 19:27:03 +01:00
The last unit over the cap is now github.com/kuhyx/digital-wellbeing, cloned at ~/digital-wellbeing, and `--warn` is gone from the directory-depth-cap hook. `check_directory_depth.sh --all` exits 0 with zero violations, down from 46 at the start of the session. That was the point of the campaign. History was filtered across all three paths the unit has lived at (63 commits); the current path alone holds 2. The six suites that test this code lived in linux_configuration/tests/ rather than beside it, so they were filtered separately (24 commits) and merged in as a second root. A path filter of the unit alone would have left them here, testing code that had left the repo -- and their names would still have been in shell-tests.yml's hardcoded arrays, failing CI on missing files. linux_configuration/lib/common.sh is vendored into vendor/ rather than trimmed to the four functions actually used: set_actual_user_vars calls two of the others, so a trim breaks silently. It is in vendor/ and not lib/ because test_music_parallelism.sh copies the unit's own lib/ into a scratch worktree while stubbing the shared lib; in one directory the real common.sh overwrote the stub, and the suite silently measured the wrong library. Running the callers caught what shellcheck and grep both missed: check_and_enable_services.sh died with "DW_REPO: unbound variable" because the definition sat below its first use. It now runs clean and reports ok for every extracted-unit check. Two long-standing live defects fixed as a consequence. The pacman-wrapper drift manifest embeds ABSOLUTE paths and had named deleted scripts/ paths since the flatten, so the check reported a permanent false "stale or tampered"; it now verifies, with unchanged hashes proving the extracted bytes are identical. And the last two stale live references are gone: 8 -> 0. The two pre-commit excludes for setup_midnight_shutdown.sh are dropped rather than moved. lsattr shows nothing in the unit is chattr +i any more, and the fixer hooks leave the file alone when allowed to run. Removing 80 shell files also shrank the jscpd denominator enough that the virtualenv/tqdm clones inside the GENERATED .ci-mirror-venv/ tipped the repo to 2.09% and blocked this commit, which adds no duplication. That directory is the same vendored third-party shell the ignore list already excludes as .venv/, just under another name; jscpd walks the working tree rather than the index, so being untracked did not spare it. Excluded by name: 1.74%. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PJrqKERAo5QUeEHWS5Asgp
422 lines
9.5 KiB
Plaintext
422 lines
9.5 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.
|
|
|
|
# ===========================================================================
|
|
# 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/
|