Implement connstring handling #247

Merged
lash merged 28 commits from lash/purify-more into master 2025-01-09 13:03:29 +01:00
Owner

Removes need to pass database type in context.

Simplify database connection data by using single connection string in environment, matched with single command line arg.

Factor out database connection string parser

resolves #155

resolves #148


this one implements connection string handling for all the executables. Instead of the env being separate host, port etc, it's just specified as an URL instead. FOr postgres that is:

postgres://user:pass@host:port/db

the flag has changed from --dbdir to -c and --db is gone (it's inferred from the string)

Removes need to pass database type in context. Simplify database connection data by using single connection string in environment, matched with single command line arg. Factor out database connection string parser resolves https://git.grassecon.net/urdt/ussd/issues/155 resolves https://git.grassecon.net/urdt/ussd/issues/148 --- this one implements connection string handling for all the executables. Instead of the env being separate host, port etc, it's just specified as an URL instead. FOr postgres that is: postgres://user:pass@host:port/db the flag has changed from --dbdir to -c and --db is gone (it's inferred from the string)
lash added 11 commits 2025-01-04 10:43:52 +01:00
lash added 2 commits 2025-01-04 10:46:45 +01:00
lash changed target branch from master to lash/purify 2025-01-04 10:46:59 +01:00
lash changed title from Implement connstring handling to WIP: Implement connstring handling 2025-01-04 10:50:18 +01:00
lash added 5 commits 2025-01-04 21:36:26 +01:00
lash added 1 commit 2025-01-04 21:53:00 +01:00
lash added 1 commit 2025-01-04 21:55:05 +01:00
lash added 1 commit 2025-01-04 22:02:20 +01:00
lash changed title from WIP: Implement connstring handling to Implement connstring handling 2025-01-04 22:03:24 +01:00
lash changed target branch from lash/purify to master 2025-01-04 22:03:49 +01:00
lash added 1 commit 2025-01-04 22:13:50 +01:00
lash added 1 commit 2025-01-06 08:52:46 +01:00
lash added 1 commit 2025-01-06 09:46:45 +01:00
lash added 4 commits 2025-01-06 09:48:12 +01:00
lash added 2 commits 2025-01-06 10:01:08 +01:00
lash added 1 commit 2025-01-07 14:52:22 +01:00
lash added 1 commit 2025-01-07 17:58:20 +01:00
lash added 1 commit 2025-01-08 08:34:35 +01:00
lash added 1 commit 2025-01-08 13:07:52 +01:00
lash added 1 commit 2025-01-08 13:32:26 +01:00
lash added 1 commit 2025-01-09 13:02:56 +01:00
lash merged commit 1f0568df32 into master 2025-01-09 13:03:29 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: urdt/ussd#247
No description provided.