.gitignore 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # ============================================================
  2. # PHP / Composer
  3. # ============================================================
  4. /vendor/
  5. composer.phar
  6. *.log
  7. # ============================================================
  8. # Python (crawlers/ 采集管道)
  9. # ============================================================
  10. __pycache__/
  11. *.py[cod]
  12. *.pyo
  13. *.egg-info/
  14. .venv/
  15. venv/
  16. env/
  17. .Python
  18. build/
  19. dist/
  20. .pytest_cache/
  21. .mypy_cache/
  22. .ruff_cache/
  23. .coverage
  24. htmlcov/
  25. # ============================================================
  26. # Go
  27. # ============================================================
  28. # 编译产物
  29. *.exe
  30. *.exe~
  31. *.dll
  32. *.so
  33. *.dylib
  34. *.test
  35. *.out
  36. /bin/
  37. /go/bin/
  38. # 覆盖率/分析产物
  39. coverage.out
  40. *.prof
  41. # 本地环境变量(Go 服务)
  42. .env.local
  43. .env.go
  44. # ============================================================
  45. # 应用运行产物(storage 私有存储,仅保留目录结构)
  46. # ============================================================
  47. /storage/uploads/*
  48. /storage/cache/*
  49. /storage/logs/*
  50. !/storage/uploads/.gitkeep
  51. !/storage/cache/.gitkeep
  52. !/storage/logs/.gitkeep
  53. # ============================================================
  54. # 密钥与环境配置
  55. # ============================================================
  56. .env
  57. .env.*
  58. !.env.example
  59. *.key
  60. *.pem
  61. secrets/
  62. credentials.*
  63. # ============================================================
  64. # 系统 / 编辑器
  65. # ============================================================
  66. .DS_Store
  67. Thumbs.db
  68. .idea/
  69. .vscode/
  70. *.swp
  71. *~