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

Feature/pdct 1398 map family to new json structure #14

Merged
merged 7 commits into from
Sep 10, 2024

Conversation

odrakes-cpr
Copy link
Contributor

What's changed?

Provide a general summary of your changes.

Updates the family data mapper to map the required fields for the family doc

Please select the option below that is most relevant from the list below. This
will be used to generate the next tag version name during auto-tagging.

  • Skip auto-tagging
  • Patch
  • Minor version
  • Major version

Visit the Semver website to understand the
difference between MAJOR, MINOR, and PATCH versions.

Notes:

  • If none of these options are selected, auto-tagging will fail
  • Where multiple options are selected, the most senior option ticked will be
    used -- e.g. Major > Minor > Patch
  • If you are selecting the version in the list above using the textbox, make
    sure your selected option is marked [x] with no spaces in between the
    brackets and the x

Osneil Drakes and others added 4 commits September 9, 2024 17:32
create more modular methods for mapping family data, separate out metadata
into its own function.
tell the user we are skipping row if the metadata has missing information
- separate the test files into mapping family data and meta data
- add more fixtures to conftest to test diff outcomes, i.e where we have
  missing metadata information
@odrakes-cpr odrakes-cpr requested a review from a team as a code owner September 10, 2024 08:13
Copy link

linear bot commented Sep 10, 2024

Copy link
Collaborator

@katybaulch katybaulch 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! Would be nice to include some test cases (either now or in the next PR) for when the data isn't the type we expect it to be e.g., string in budget column to ensure robustness in future PRs 😄

@odrakes-cpr odrakes-cpr merged commit 668f12e into main Sep 10, 2024
2 checks passed
@odrakes-cpr odrakes-cpr deleted the feature/pdct-1398-map-family-to-new-json-structure branch September 10, 2024 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants