Implement connstring handling #247

Open
lash wants to merge 22 commits from lash/purify-more into master
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
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin lash/purify-more:lash/purify-more
git checkout lash/purify-more
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.