From e6fa8481e8bf75d04494fb963595d1a764b18f33 Mon Sep 17 00:00:00 2001 From: Peter Harpending Date: Tue, 23 Sep 2025 16:29:11 -0700 Subject: [PATCH] add qhl as a dep --- README.md | 43 +++++++++++++++++++++++++++++++++++++++++++ gex_httpd/zomp.meta | 18 +++++++++--------- 2 files changed, 52 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 4a58f46..ad3d943 100644 --- a/README.md +++ b/README.md @@ -722,3 +722,46 @@ index 9c78921..c913dcc 100644 -spec handle_down(Mon, Pid, Reason, State) -> NewState when Mon :: reference(), ``` + +### Adding QHL as a dependency + +[QHL](https://git.qpq.swiss/qPQ-AG/qhl) is our own internal parsing library for +HTTP/1.1 requests + +```bash +zx set dep otpr-qhl-0.1.0 +``` + +```diff +diff --git a/gex_httpd/zomp.meta b/gex_httpd/zomp.meta +index 7111f2d..09d84c2 100644 +--- a/gex_httpd/zomp.meta ++++ b/gex_httpd/zomp.meta +@@ -1,17 +1,17 @@ +-{a_email,"peterharpending@qpq.swiss"}. ++{name,"Gajumaru DEX HTTP Daemon"}. ++{type,app}. ++{modules,[]}. ++{prefix,"gh"}. + {author,"Peter Harpending"}. ++{desc,"Gajumaru Exchange HTTP Daemon"}. ++{package_id,{"otpr","gex_httpd",{0,1,0}}}. ++{deps,[{"otpr","qhl",{0,1,0}}]}. ++{key_name,none}. ++{a_email,"peterharpending@qpq.swiss"}. + {c_email,"peterharpending@qpq.swiss"}. + {copyright,"Peter Harpending"}. +-{deps,[]}. +-{desc,"Gajumaru Exchange HTTP Daemon"}. + {file_exts,[]}. +-{key_name,none}. + {license,skip}. +-{modules,[]}. +-{name,"Gajumaru DEX HTTP Daemon"}. +-{package_id,{"otpr","gex_httpd",{0,1,0}}}. +-{prefix,"gh"}. + {repo_url,"https://git.qpq.swiss/QPQ-AG/gex"}. + {tags,[]}. +-{type,app}. + {ws_url,"https://git.qpq.swiss/QPQ-AG/gex"}. +``` diff --git a/gex_httpd/zomp.meta b/gex_httpd/zomp.meta index 7111f2d..09d84c2 100644 --- a/gex_httpd/zomp.meta +++ b/gex_httpd/zomp.meta @@ -1,17 +1,17 @@ -{a_email,"peterharpending@qpq.swiss"}. +{name,"Gajumaru DEX HTTP Daemon"}. +{type,app}. +{modules,[]}. +{prefix,"gh"}. {author,"Peter Harpending"}. +{desc,"Gajumaru Exchange HTTP Daemon"}. +{package_id,{"otpr","gex_httpd",{0,1,0}}}. +{deps,[{"otpr","qhl",{0,1,0}}]}. +{key_name,none}. +{a_email,"peterharpending@qpq.swiss"}. {c_email,"peterharpending@qpq.swiss"}. {copyright,"Peter Harpending"}. -{deps,[]}. -{desc,"Gajumaru Exchange HTTP Daemon"}. {file_exts,[]}. -{key_name,none}. {license,skip}. -{modules,[]}. -{name,"Gajumaru DEX HTTP Daemon"}. -{package_id,{"otpr","gex_httpd",{0,1,0}}}. -{prefix,"gh"}. {repo_url,"https://git.qpq.swiss/QPQ-AG/gex"}. {tags,[]}. -{type,app}. {ws_url,"https://git.qpq.swiss/QPQ-AG/gex"}.