Hacker News new | past | comments | ask | show | jobs | submit login

I'm more wondering about whether or not this Sqlite DB is actually a "source file", that is something that is not generated by something else, which is normally the base material for both make and Git.

Obviously an SQLite DB cannot be created ex nihilo, so it is not a source file. Isn't it a bit dangerous to store the database file in the repo, and not the mean to generate it? If both are included in the repo, it then seems redundant (reproducible builds concerns, maybe?).

Seeing that many people are interested in this topic, I wonder in which cases they would however want to track that file in Git.




> Obviously an SQLite DB cannot be created _ex nihilo_

Well, you can create it as a 0 bytes file with touch.

However, you can do better, and run `sqlite3 mydb.db 'VACUUM;'`.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: