.gitignore 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # Python bytecode, cache directories, and test coverage output
  2. __pycache__/
  3. *.py[cod]
  4. .coverage
  5. # Python virtual environment created by the installation/upgrade workflow
  6. /venv/
  7. # Frontend dependencies and Yarn logs generated during asset development/builds
  8. /netbox/project-static/node_modules/
  9. yarn-debug.log*
  10. yarn-error.log*
  11. # AI tooling
  12. .claude/settings.local.json
  13. # Documentation generated by the upgrade/build workflow.
  14. # Keep the placeholder so the directory exists in a fresh checkout.
  15. /netbox/project-static/docs/*
  16. !/netbox/project-static/docs/.gitkeep
  17. # Static files collected by Django
  18. /netbox/static/
  19. # Local NetBox configuration files created or copied during installation
  20. /netbox/netbox/configuration.py
  21. /netbox/netbox/ldap_config.py
  22. /local_requirements.txt
  23. # Local settings overrides loaded by settings.py if present
  24. /netbox/netbox/local_settings.py
  25. # Deployment-local files under the optional local directory
  26. /netbox/local/
  27. # User-uploaded media files; MEDIA_ROOT defaults to netbox/media/.
  28. # Keep the placeholder so the directory exists in a fresh checkout.
  29. /netbox/media/*
  30. !/netbox/media/.gitkeep
  31. # Legacy custom reports; REPORTS_ROOT defaults to netbox/reports/.
  32. # Keep the package marker while ignoring deployment-specific reports.
  33. /netbox/reports/*
  34. !/netbox/reports/__init__.py
  35. # Custom scripts; SCRIPTS_ROOT defaults to netbox/scripts/.
  36. # Keep the package marker while ignoring deployment-specific scripts.
  37. /netbox/scripts/*
  38. !/netbox/scripts/__init__.py
  39. # Deployment-local WSGI configuration copied from contrib/ and edited in place
  40. /gunicorn.py
  41. /uwsgi.ini
  42. # Ignore local helper scripts in the repository root, but keep the tracked upgrade script
  43. /*.sh
  44. !upgrade.sh
  45. # Git patch/diff files commonly generated locally for review or handoff
  46. /*.patch
  47. /*.diff
  48. # Common local editor, OS, and runtime-manager metadata
  49. *.swp
  50. .DS_Store
  51. .idea/
  52. .vscode/
  53. .python-version