Update .gitignore with comprehensive patterns for Python projects and build artifacts
Some checks are pending
Checks / Spelling (push) Waiting to run
Checks / Python Linters (push) Waiting to run
Checks / Shell Linters (push) Waiting to run
Checks / 📦 Packit config lint (push) Waiting to run
Checks / 🔍 Check for valid snapshot urls (push) Waiting to run
Checks / 🔍 Check JSON files for formatting consistency (push) Waiting to run
Generate / Documentation (push) Waiting to run
Generate / Test Data (push) Waiting to run
Tests / Unittest (push) Waiting to run
Tests / Assembler test (legacy) (push) Waiting to run
Tests / Smoke run: unittest as normal user on default runner (push) Waiting to run

This commit is contained in:
robojerk 2025-08-26 15:42:43 -07:00
parent 39e08b32ec
commit 39abab18f7

121
.gitignore vendored
View file

@ -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