WIP: data-migration #6

Closed
Alfred-mk wants to merge 8 commits from data-migration into master
Member

Added code that sets required flags for migrated accounts

Added code that sets required flags for migrated accounts
Alfred-mk added 4 commits 2025-01-15 14:03:42 +01:00
Alfred-mk added 1 commit 2025-01-15 14:05:08 +01:00
Alfred-mk requested review from lash 2025-01-15 14:05:43 +01:00
Author
Member

The public keys (addresses) are however registered on a separate network hence checking the account status results in a 404 (when using the local dev network)

The public keys (addresses) are however registered on a separate network hence checking the account status results in a 404 (when using the local dev network)
lash requested changes 2025-01-15 20:22:13 +01:00
@ -100,3 +100,3 @@
// WithPersister sets persister instance to the handlers.
//func (h *MenuHandlers) WithPersister(pe *persist.Persister) *MenuHandlers {
// func (h *MenuHandlers) WithPersister(pe *persist.Persister) *MenuHandlers {
Owner

Please remove this leftover commented code thanks

Please remove this leftover commented code thanks
@ -159,0 +188,4 @@
return res, nil
}
codeStr := string(code)
Owner

The active language is the DATA_SELECTED_LANGUAGE_CODE - the INITAL will only be set once and never looked at again.

Shouldn't the SELECTED_LANGUAGE one be set here too?

The active language is the DATA_SELECTED_LANGUAGE_CODE - the INITAL will only be set once and never looked at again. Shouldn't the SELECTED_LANGUAGE one be set here too?
@ -159,0 +191,4 @@
codeStr := string(code)
// fallback for unsupported languages
if codeStr != "eng" && codeStr != "swa" {
Owner

I would prefer if this language mapping was an external function. Perhaps this whole thing rather belongs in sarafu-ussd-instance repo since the migration script also should be there? I does not seem right to include code in the application repo that will only be used once by migration.

I would prefer if this language mapping was an external function. Perhaps this whole thing rather belongs in sarafu-ussd-instance repo since the migration script also should be there? I does not seem right to include code in the application repo that will only be used once by migration.
Alfred-mk changed title from data-migration to WIP: data-migration 2025-01-20 08:42:46 +01:00
Alfred-mk added 1 commit 2025-01-20 08:43:39 +01:00
Alfred-mk added 1 commit 2025-01-20 08:56:35 +01:00
Alfred-mk added 1 commit 2025-01-20 13:33:20 +01:00
Author
Member

Closed as code changes moved to a different repo

Closed as code changes moved to a different repo
Alfred-mk closed this pull request 2025-01-27 10:39:13 +01:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 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: grassrootseconomics/sarafu-vise#6
No description provided.