From 51c081fb5579125c11be3e8c06b02792fa798595 Mon Sep 17 00:00:00 2001 From: Peter Harpending Date: Mon, 12 Jan 2026 18:40:25 -0800 Subject: [PATCH] bike shedding --- gex_httpd/ebin/gex_httpd.app | 3 ++- gex_httpd/src/gex_httpd.erl | 6 ++++-- gex_httpd/src/gh_client.erl | 4 +++- gex_httpd/src/gh_client_man.erl | 6 ++++-- gex_httpd/src/gh_client_sup.erl | 8 ++++---- gex_httpd/src/gh_clients.erl | 6 ++++-- gex_httpd/src/gh_ct.erl | 4 ++++ gex_httpd/src/gh_sfc.erl | 7 +++++-- gex_httpd/src/gh_sfc_cache.erl | 4 ++++ gex_httpd/src/gh_sfc_entry.erl | 4 ++++ gex_httpd/src/gh_sup.erl | 7 ++++--- gex_httpd/zomp.meta | 2 +- 12 files changed, 43 insertions(+), 18 deletions(-) diff --git a/gex_httpd/ebin/gex_httpd.app b/gex_httpd/ebin/gex_httpd.app index 635a925..f701d7d 100644 --- a/gex_httpd/ebin/gex_httpd.app +++ b/gex_httpd/ebin/gex_httpd.app @@ -5,5 +5,6 @@ {applications,[stdlib,kernel]}, {vsn,"0.1.0"}, {modules,[gex_httpd,gh_client,gh_client_man,gh_client_sup, - gh_clients,gh_sup]}, + gh_clients,gh_ct,gh_sfc,gh_sfc_cache,gh_sfc_entry, + gh_sup]}, {mod,{gex_httpd,[]}}]}. diff --git a/gex_httpd/src/gex_httpd.erl b/gex_httpd/src/gex_httpd.erl index 5d1eb3e..5aa4aab 100644 --- a/gex_httpd/src/gex_httpd.erl +++ b/gex_httpd/src/gex_httpd.erl @@ -3,10 +3,12 @@ %%% @end -module(gex_httpd). --vsn("0.1.0"). -behavior(application). + +-vsn("0.1.0"). -author("Peter Harpending "). --copyright("Peter Harpending "). +-copyright("2025-2026 QPQ AG"). +-license("MIT"). %% for our edification -export([listen/1, ignore/0]). diff --git a/gex_httpd/src/gh_client.erl b/gex_httpd/src/gh_client.erl index 3fd9a20..87f3b45 100644 --- a/gex_httpd/src/gh_client.erl +++ b/gex_httpd/src/gh_client.erl @@ -14,9 +14,11 @@ %%% @end -module(gh_client). + -vsn("0.1.0"). -author("Peter Harpending "). --copyright("Peter Harpending "). +-copyright("2025-2026 QPQ AG"). +-license("MIT"). -export([start/1]). diff --git a/gex_httpd/src/gh_client_man.erl b/gex_httpd/src/gh_client_man.erl index a4a4b5b..4e110d9 100644 --- a/gex_httpd/src/gh_client_man.erl +++ b/gex_httpd/src/gh_client_man.erl @@ -10,10 +10,12 @@ %%% @end -module(gh_client_man). --vsn("0.1.0"). -behavior(gen_server). + +-vsn("0.1.0"). -author("Peter Harpending "). --copyright("Peter Harpending "). +-copyright("2025-2026 QPQ AG"). +-license("MIT"). -export([listen/1, ignore/0]). diff --git a/gex_httpd/src/gh_client_sup.erl b/gex_httpd/src/gh_client_sup.erl index 8992bcb..d110015 100644 --- a/gex_httpd/src/gh_client_sup.erl +++ b/gex_httpd/src/gh_client_sup.erl @@ -14,12 +14,12 @@ %%% @end -module(gh_client_sup). --vsn("0.1.0"). -behaviour(supervisor). + +-vsn("0.1.0"). -author("Peter Harpending "). --copyright("Peter Harpending "). - - +-copyright("2025-2026 QPQ AG"). +-license("MIT"). -export([start_acceptor/1]). -export([start_link/0]). diff --git a/gex_httpd/src/gh_clients.erl b/gex_httpd/src/gh_clients.erl index 8151da0..37f0c6d 100644 --- a/gex_httpd/src/gh_clients.erl +++ b/gex_httpd/src/gh_clients.erl @@ -9,10 +9,12 @@ %%% @end -module(gh_clients). --vsn("0.1.0"). -behavior(supervisor). + +-vsn("0.1.0"). -author("Peter Harpending "). --copyright("Peter Harpending "). +-copyright("2025-2026 QPQ AG"). +-license("MIT"). -export([start_link/0]). diff --git a/gex_httpd/src/gh_ct.erl b/gex_httpd/src/gh_ct.erl index 212a679..eab77d3 100644 --- a/gex_httpd/src/gh_ct.erl +++ b/gex_httpd/src/gh_ct.erl @@ -3,6 +3,10 @@ % mostly wrappers for ec_utils and hakuzaru -module(gh_ct). +-vsn("0.1.0"). +-author("Peter Harpending "). +-copyright("2025-2026 QPQ AG"). +-license("MIT"). -export_type([ keypair/0 diff --git a/gex_httpd/src/gh_sfc.erl b/gex_httpd/src/gh_sfc.erl index b664347..7f8ff18 100644 --- a/gex_httpd/src/gh_sfc.erl +++ b/gex_httpd/src/gh_sfc.erl @@ -4,10 +4,13 @@ % % Adapted from FEWD: https://git.qpq.swiss/pharpend/fewd/src/commit/9adbf67ebde14c7c1d8de70ec9b241e6d4ee6f45/src/fd_httpd_sfc.erl -module(gh_sfc). --vsn("0.1.0"). - -behavior(gen_server). +-vsn("0.1.0"). +-author("Peter Harpending "). +-copyright("2025-2026 QPQ AG"). +-license("MIT"). + -export_type([ entry/0, maybe_entry/0 diff --git a/gex_httpd/src/gh_sfc_cache.erl b/gex_httpd/src/gh_sfc_cache.erl index b57ef3e..02b0971 100644 --- a/gex_httpd/src/gh_sfc_cache.erl +++ b/gex_httpd/src/gh_sfc_cache.erl @@ -5,7 +5,11 @@ % % Adapted from FEWD: https://git.qpq.swiss/pharpend/fewd/src/commit/9adbf67ebde14c7c1d8de70ec9b241e6d4ee6f45/src/fd_httpd_sfc_cache.erl -module(gh_sfc_cache). + -vsn("0.1.0"). +-author("Peter Harpending "). +-copyright("2025-2026 QPQ AG"). +-license("MIT"). -export_type([ cache/0 diff --git a/gex_httpd/src/gh_sfc_entry.erl b/gex_httpd/src/gh_sfc_entry.erl index 232bb95..48e93ea 100644 --- a/gex_httpd/src/gh_sfc_entry.erl +++ b/gex_httpd/src/gh_sfc_entry.erl @@ -5,7 +5,11 @@ % % Adapted from FEWD: https://git.qpq.swiss/pharpend/fewd/src/commit/9adbf67ebde14c7c1d8de70ec9b241e6d4ee6f45/src/fd_httpd_sfc_entry.erl -module(gh_sfc_entry). + -vsn("0.1.0"). +-author("Peter Harpending "). +-copyright("2025-2026 QPQ AG"). +-license("MIT"). -export_type([ encoding/0, diff --git a/gex_httpd/src/gh_sup.erl b/gex_httpd/src/gh_sup.erl index 5ac7d2e..a835f8f 100644 --- a/gex_httpd/src/gh_sup.erl +++ b/gex_httpd/src/gh_sup.erl @@ -12,11 +12,12 @@ %%% @end -module(gh_sup). --vsn("0.1.0"). -behaviour(supervisor). --author("Peter Harpending "). --copyright("2025-2026, QPQ AG"). +-vsn("0.1.0"). +-author("Peter Harpending "). +-copyright("2025-2026 QPQ AG"). +-license("MIT"). -export([start_link/0]). -export([init/1]). diff --git a/gex_httpd/zomp.meta b/gex_httpd/zomp.meta index 2c5d4b7..acf331b 100644 --- a/gex_httpd/zomp.meta +++ b/gex_httpd/zomp.meta @@ -22,7 +22,7 @@ {c_email,"peterharpending@qpq.swiss"}. {copyright,"2025-2026, QPQ AG"}. {file_exts,[]}. -{license,skip}. +{license,mit}. {repo_url,"https://git.qpq.swiss/QPQ-AG/gex"}. {tags,[]}. {ws_url,"https://git.qpq.swiss/QPQ-AG/gex"}.