-
Notifications
You must be signed in to change notification settings - Fork 47
Description
The SQLite database file database/wardha.db is currently being tracked by Git and is present in the main branch.
This is a critical issue for several reasons:
Security Risk: If any sensitive user data (even for testing) is ever added, it could be accidentally committed and pushed to this public repository, exposing it to everyone.
Repository Bloat: Database files are binary and can grow very large. Committing them directly to Git makes the repository slow to clone and increases its size unnecessarily.
Merge Conflicts: As a binary file, any two people making changes to their local database will create a merge conflict that is impossible to resolve, blocking pull requests.
Bad Practice: Database files are considered runtime data, not project source code, and should never be version-controlled.
Acceptance Criteria:
- The database/wardha.db file must be removed from the Git repository's history.
- The .gitignore file must be updated to ignore all .db files in the future.
- The README.md should be updated with instructions for new contributors on how to create their own local database.
Suggested Fix:
- Use git filter-repo or BFG Repo-Cleaner to remove database/wardha.db from history.
- Add *.db to .gitignore.
- Update README.md with DB creation/setup instructions.