Skip to content

Conversation

@danielbachhuber
Copy link
Member

Props @jmdodd

Originally #91

Fixes #76

@danielbachhuber danielbachhuber added this to the 2.1.0 milestone Dec 5, 2022
@danielbachhuber danielbachhuber requested a review from a team as a code owner December 5, 2022 15:40
@danielbachhuber danielbachhuber self-assigned this Dec 5, 2022
@danielbachhuber danielbachhuber changed the title Add --include_once=<section> parameter for before_posts data in multifile exports Add --include_once=<section> parameter for before_posts data in multi-file exports Dec 5, 2022
Copy link
Member

@schlessera schlessera left a comment

Choose a reason for hiding this comment

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

This looks very good already.

However, the tests are only covering one of the happy paths. Tests should include two more scenarios:

  • one where multiple sections are provided via a comma-separated string;
  • one where multiple sections are provided in a bad format which triggers the warning.

@schlessera
Copy link
Member

@jmdodd Would you be up for providing the missing test cases, so we can get this over the finish line?

@danielbachhuber
Copy link
Member Author

@schlessera I can add the test cases, no problem.

@danielbachhuber danielbachhuber dismissed schlessera’s stale review December 8, 2022 21:32

Addressed the changes

@danielbachhuber danielbachhuber merged commit b5aaf5f into main Dec 8, 2022
@delete-merged-branch delete-merged-branch bot deleted the 76-include-once-argument branch December 8, 2022 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a flag to omit repetitive metadata from subsequent export files

3 participants