.gitignore 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. /netbox/project-static/docs/
  15. # Static files collected by Django
  16. /netbox/static/
  17. # Local NetBox configuration files created or copied during installation
  18. /netbox/netbox/configuration.py
  19. /netbox/netbox/ldap_config.py
  20. /local_requirements.txt
  21. # Local settings overrides loaded by settings.py if present
  22. /netbox/netbox/local_settings.py
  23. # Deployment-local files under the optional local directory
  24. /netbox/local/
  25. # User-uploaded media files; MEDIA_ROOT defaults to netbox/media/.
  26. # Keep the placeholder so the directory exists in a fresh checkout.
  27. /netbox/media/*
  28. !/netbox/media/.gitkeep
  29. # Legacy custom reports; REPORTS_ROOT defaults to netbox/reports/.
  30. # Keep the package marker while ignoring deployment-specific reports.
  31. /netbox/reports/*
  32. !/netbox/reports/__init__.py
  33. # Custom scripts; SCRIPTS_ROOT defaults to netbox/scripts/.
  34. # Keep the package marker while ignoring deployment-specific scripts.
  35. /netbox/scripts/*
  36. !/netbox/scripts/__init__.py
  37. # Deployment-local WSGI configuration copied from contrib/ and edited in place
  38. /gunicorn.py
  39. /uwsgi.ini
  40. # Ignore local helper scripts in the repository root, but keep the tracked upgrade script
  41. /*.sh
  42. !upgrade.sh
  43. # Git patch/diff files commonly generated locally for review or handoff
  44. /*.patch
  45. /*.diff
  46. # Common local editor, OS, and runtime-manager metadata
  47. *.swp
  48. .DS_Store
  49. .idea/
  50. .vscode/
  51. .python-version