Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WC2-566 Add v1 of health pyramid setup script from a CSV #1676

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

bramj
Copy link
Contributor

@bramj bramj commented Oct 3, 2024

This little script was created for WFP and used to set up the South Sudan and Nigeria health pyramids.
Adding to the repo mainly for traceability, can be easily adapted for other countries.

Related JIRA tickets : https://bluesquare.atlassian.net/browse/WC2-566

How to test

Nothing really to test

This little script was created for WFP and used to set up the South
Sudan and Nigeria health pyramids.
Adding to the repo mainly for traceability, can be easily adapted for
other countries.
Copy link
Collaborator

@beygorghor beygorghor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, a few remarks:

  1. Interactive Input for Configuration
    Prompt the user for SERVER_BASE_URL and AUTH_TOKEN at runtime.
  2. Error Handling and User Feedback
    Add error handling to provide clear feedback to the user.
  3. Logging
    Implement basic logging to track the script's progress.
  4. Data Validation
    Validate the CSV data before processing.

@bramj bramj self-assigned this Oct 22, 2024
@beygorghor beygorghor added the release Should be released in production at next deploy label Nov 28, 2024
@bramj
Copy link
Contributor Author

bramj commented Dec 3, 2024

Let's merge for now and adapt and improve when we need to import data for the next country.

@bramj bramj merged commit 895d54a into main Dec 3, 2024
3 checks passed
@bramj bramj deleted the WC2-566-ou-setup-script-v1 branch December 3, 2024 08:56
@hakifran hakifran added user tested Has already been tested on staging ok for release Released and removed ok for release labels Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Should be released in production at next deploy Released user tested Has already been tested on staging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants