Repository navigation
feat(spec): record labels after a spaced bullet (R8.7) - #44
Merged
Merged
Conversation
…t becomes the label field, later segments junk kind note; format writes it back (label option)
…es, format, tracklists); exact cases gain "label": null
…ter a spaced bullet)
…rmatOptions::label
…format_track(label=)
…NOTE, trackparse_format_options_set_omit_label; C++ label(), omit_label()
…ick the mode through R2.1 and that quotes do not protect a bullet
…junk with an empty kind and kind note, astral junk order, quotes, trailing bullet, mode picked by the tail)
…ands, the label field and junk kind note in the reference, the format label option, labels in tracklists, the playground's label row; counts 13,565
…every README; fixture counts
…truthiness gap in format options
…k-phrase segments, empty titles) in all five ports; the round trip follows the new R11.6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds R8.7: in
Artist - Title • LABEL • NOTE, the text after the first spaced bullet (U+2022) that follows the artist/title dash becomes a new ParsedTrack fieldlabel; later segments become junk kindnote.formatwrites the label back (labeloption, GoOmitLabel, Ctrackparse_format_options_set_omit_label). All five ports, spec, schemas, fixtures, generator and docs.Behaviour changes (only strings with a spaced bullet after the dash; no existing fixture changed except by gaining
"label": null):Mono Code - Traced • DUB: artistMono Code, titleTraced, labelDUB(used to lose the artist to an R6.2 dub version).Noisia - Stigma ft. X • VISION: featuredX, notX • VISION.Noisia - Stigma • HOSPITAL (2024): year stays in the label,yearis null.Noisia - Stigma • FREE DOWNLOAD: titleStigma, notStigma •.Hey Jude - Remastered 2015 • X: artistHey Jude(the head is split at its first dash, as R6.10 does).JunkKind::from_name("note")givesNoteinstead ofOther.Checks:
compare-ports: 0 differences in all four ports.fuzz-ports: Go, Rust and C 0 differences. Python's 32 are the knownfeatMarker: nullgap and Python 3.12's Unicode 15 tables; none has a bullet.docs:buildpasses.Release notes:
.github/release-notes/0.8.0.md. This is afeat, so the open release PR becomes 0.8.0.