From 39abab18f70b78cb1c80f464e015b57ef103f9ab Mon Sep 17 00:00:00 2001 From: robojerk Date: Tue, 26 Aug 2025 15:42:43 -0700 Subject: [PATCH] Update .gitignore with comprehensive patterns for Python projects and build artifacts --- .gitignore | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 118 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 49309041..f03edc60 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +# OSBuild specific ignores *.tar.gz *.egg-info __pycache__ @@ -10,9 +11,6 @@ __pycache__ /.idea /.gdb_history -/build-logs -/cache - cov-analysis-linux64/ cov-analysis-osbuild.xz cov-int/ @@ -35,3 +33,120 @@ debian-forge-docs/koji # Embedded git repositories docs/debian/debos/ docs/debian/koji/ + +# Python bytecode and cache files +*.pyc +*.pyo +*.pyd +*.so +*.dylib +*.dll +*.exe +*.bin + +# Python package files (but allow test data) +*.egg +*.whl +*.tar +*.zip +*.gz +*.bz2 +*.xz +*.7z +!test/**/*.tar +!test/**/*.gz +!test/**/*.xml +!test/**/*.html +!test/**/*.css +!test/**/*.js +!docs/**/*.xml +!docs/**/*.html +!docs/**/*.css +!docs/**/*.js + +# Build directories +build/ +dist/ +*.deb + +# Test and coverage files +test-output/ +coverage/ +.coverage +*.cover +htmlcov/ +.pytest_cache/ + +# Temporary and backup files +*.tmp +*.temp +*.log +*.pid +*.lock +*.bak +*.backup +*.orig +*.rej +*.patch +*.diff +*~ +!test/**/*.log +!docs/**/*.log + +# System files +Thumbs.db +.Trash* +.nfs* + +# IDE and editor files +*.swp +*.swo +.vimrc +.emacs +.sublime-* +.project +.classpath +.settings + +# OS-specific files +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db + +# Lock files (but allow test data) +*.lock +.cache.lock +!test/**/*.lock + +# Cache directories +.cache/ +cache/ + +# Environment files +.env +.env.local +.env.*.local + +# Local configuration +config.local.* +*.local + +# Backup files +*.bak +*.old +*.save + +# Temporary build artifacts +tmp/ +temp/ + +# OSBuild stage files (but allow test data) +assemblers/org.osbuild.tar +stages/org.osbuild.rpm +stages/org.osbuild.tar +stages/org.osbuild.xz +stages/org.osbuild.zip