Skip to content

OD-2139: Fix skipping tags on damaged imports#41

Merged
hlieberman merged 1 commit into
otwcode:masterfrom
hlieberman:master
Mar 16, 2026
Merged

OD-2139: Fix skipping tags on damaged imports#41
hlieberman merged 1 commit into
otwcode:masterfrom
hlieberman:master

Conversation

@hlieberman
Copy link
Copy Markdown
Contributor

Previously, the system would skip importing the entire class of tags when a malformed tag was found in any story. This patch changes it to error on malformed tags, but allow the non-standard (mostly) all string tag format.

In addition, we now warn when importing stories that have tags not in the tag table.

@hlieberman hlieberman force-pushed the master branch 2 times, most recently from f144dfd to e7f2039 Compare March 9, 2026 01:22
Copy link
Copy Markdown
Member

@brianna-dardin brianna-dardin left a comment

Choose a reason for hiding this comment

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

I think this all looks good, though one of the workflow actions failed due to a unit test failure, the one at efiction/tests/test_metadata.py. Do you think you could also update that as well?

Comment thread efiction/tag_converter.py Outdated
@hlieberman hlieberman force-pushed the master branch 2 times, most recently from b6f493e to 9e5c69e Compare March 15, 2026 23:00
Previously, the system would skip importing the entire class of tags
when a malformed tag was found in any story.  This patch changes it to
error on malformed tags, but allow the non-standard (mostly) all string
tag format.

In addition, we now warn when importing stories that have tags not in
the tag table.
Copy link
Copy Markdown
Member

@brianna-dardin brianna-dardin 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, thank you!

@hlieberman hlieberman merged commit a52427b into otwcode:master Mar 16, 2026
3 checks passed
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