From ac87eca98575b4478252cd1b8d038a38bc86b00c Mon Sep 17 00:00:00 2001
From: Michael Boniface <m.j.boniface@soton.ac.uk>
Date: Fri, 21 Feb 2025 16:27:03 +0000
Subject: [PATCH] not dumped all database tables to file on export so they can
 be versioned

---
 acmc/phen.py | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/acmc/phen.py b/acmc/phen.py
index 130b81b..b503af6 100644
--- a/acmc/phen.py
+++ b/acmc/phen.py
@@ -173,7 +173,14 @@ def init(phen_dir, remote_url):
 	config_path = phen_path / CONFIG_FILE
 	with open(config_path, "w", encoding="utf-8") as f:
 		json.dump(config, f, indent=4) 
-		
+
+	# TODO: add gitignore
+
+	# Ignore all SQLite database files
+#*.db
+#*.sqlite
+#*.sqlite3
+
 	# add to git repo and commit
 	for d in DEFAULT_PHEN_DIR_LIST:
 		repo.git.add(phen_path / d)			
-- 
GitLab