summaryrefslogtreecommitdiff
path: root/issues/genenetwork
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-06-28 11:16:43 +0300
committerFrederick Muriuki Muriithi2023-06-28 11:16:43 +0300
commit92726d9b5153898175feeb7981410fe651bef2b0 (patch)
treed22140796af6474cfc100cb9986aab3c7d6d6883 /issues/genenetwork
parentb6a55ed72f62882c3d72acbfc41384aeccb40948 (diff)
downloadgn-gemtext-92726d9b5153898175feeb7981410fe651bef2b0.tar.gz
Conf: Add some notes on configuration files.
Diffstat (limited to 'issues/genenetwork')
-rw-r--r--issues/genenetwork/genenetwork2_configurations.gmi4
-rw-r--r--issues/genenetwork/genenetwork3_configuration.gmi2
2 files changed, 6 insertions, 0 deletions
diff --git a/issues/genenetwork/genenetwork2_configurations.gmi b/issues/genenetwork/genenetwork2_configurations.gmi
index 65ad3ad..7d08db0 100644
--- a/issues/genenetwork/genenetwork2_configurations.gmi
+++ b/issues/genenetwork/genenetwork2_configurations.gmi
@@ -68,3 +68,7 @@ For `wqflask/run_gunicorn.py`, the route can remain as is, since this is an entr
* Move application initialisation into an application factory function
* Replace all uses of `wqflask.app` variable with `flask.current_app` or `create_app()` as necessary
+
+### Non-Executable Configuration Files
+
+Eschew executable formats (*.py) for configuration files and prefer non-executable formats e.g. *.cfg, *.json, *.conf etc
diff --git a/issues/genenetwork/genenetwork3_configuration.gmi b/issues/genenetwork/genenetwork3_configuration.gmi
index 412928a..fcab572 100644
--- a/issues/genenetwork/genenetwork3_configuration.gmi
+++ b/issues/genenetwork/genenetwork3_configuration.gmi
@@ -11,3 +11,5 @@
## Description
The configuration file should only ever contain settings, and no code. Remove all code from the default settings file.
+
+Eschew executable formats (*.py) for configuration files and prefer non-executable formats e.g. *.cfg, *.json, *.conf etc