Fix: Remove cache files from git tracking and update .gitignore

CRITICAL FIX:
- Remove .sysref.beta and .sysref.beta.timestamp from git
- Remove data/suspicious-login-monitor/baseline.dat from git
- Add beta cache files to .gitignore
- Add runtime directories to .gitignore (config, data, logs, tmp)

PROBLEM FIXED:
- Cache files were being committed to git with stale data
- Users pulling dev would get old cached WordPress site list
- Cache wasn't clearing properly between pulls

SOLUTION:
- Cache files no longer tracked by git
- .gitignore prevents future commits of cache/runtime data
- Cache is auto-rebuilt when expired or on fresh checkout

IMPACT:
- Fresh clones will have empty cache (auto-rebuilds on first run)
- No more stale WordPress/domain/database listings
- Clean git history (runtime files removed)
This commit is contained in:
Developer
2026-03-20 01:47:16 -04:00
parent 74467bc49e
commit df95500ab9
4 changed files with 10 additions and 46 deletions
+10 -2
View File
@@ -5,9 +5,11 @@
*.swo
*~
# Reference database (session data)
# Reference database (session data) - Production and Dev
.sysref
.sysref.timestamp
.sysref.beta
.sysref.beta.timestamp
# System-specific logs
*.log
@@ -28,9 +30,15 @@
.DS_Store
Thumbs.db
# Runtime directories
# Runtime directories and cache
/modules/security/temp/
/modules/security/live-monitor-*/
/config/
/data/
/logs/
/tmp/
/backups/
/downloads/
# Credentials and keys (NEVER commit these)
*.key