Skip to content

Fix tag lists in the Stack Overflow bundle - #42

Open
sumitsharma01 wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
sumitsharma01:fix/stackoverflow-tag-lists
Open

sumitsharma01 wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
sumitsharma01:fix/stackoverflow-tag-lists

Conversation

@sumitsharma01

Copy link
Copy Markdown

Eight documents in the Stack Overflow bundle store tags as a comma-separated string. YAML reads each value as one string, so tools consuming the bundle cannot read the individual tags as the list defined in the spec.

This wraps those values in brackets to make them YAML lists. The tag names and their order stay the same.

I checked that all eight corrected fields parse as lists of strings and that the other metadata and document bodies are unchanged. All 39 tests pass with .venv/bin/pytest, and git diff --check passes.

Fixes #39.

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.

stackoverflow bundle: tags written as a comma-separated string, not a YAML list

2 participants