fix: preserve Guitar Pro pick direction - #1068
Conversation
Signed-off-by: Raphael Morrissy <54593695+raphaelmorrissy@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughGuitar Pro imports now preserve authored up/down pick directions for GP3/4/5 and GP6/7/8 files. The direction is stored on imported notes and serialized as ChangesPick-direction import
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to This PR preserves authored Guitar Pro pick directions during import while leaving unknown values unset; no actionable merge-blocking risk remains after normal checks and review. Sequence Diagram(s)sequenceDiagram
participant GuitarProFile
participant GPImporter
participant RsNote
participant RSXML
GuitarProFile->>GPImporter: provide beat stroke direction
GPImporter->>RsNote: map and assign pick_direction
RsNote->>RSXML: provide note metadata
RSXML->>RSXML: emit pickDirection when set
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Linked Issues checkExplanation The changes satisfy issue Full details: Docstring CoverageExplanation Docstring coverage is 80.95% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 21 functions across 4 files. (1 skipped: 1 unsupported.) ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
Signed-off-by: Raphael Morrissy <54593695+raphaelmorrissy@users.noreply.github.com>
|
@ChrisBeWithYou, when you have a moment, could you please review this GP importer fix? CodeRabbit reports no actionable comments, all 5 pre-merge checks pass, and the related converter tests are green. Thanks! |
What
Preserve explicitly authored Guitar Pro pick/strum direction during import instead of leaving every converted note's
pickDirectionunset.pickStrokeand legacystroke.directionvalues to feedBack'sdown = 0/up = 1convention<Stroke><Direction>valuespickDirectionfor standalone notes and every note in a chord-1) and does not fabricatestrum_groupvaluesCloses #1054
feedpak surface
got-feedback/feedpak-spec#___Checklist
CHANGELOG.md[Unreleased]updated (user-visible changes)git commit -s)Testing
391 passedacross the GP converters, XML encoding, and song model suites2769 passed, 32 skipped; 12 unrelated Windows/environment failures (symlink privileges, path/EOL, and packaging checks)py_compileandgit diff --checkpassSummary by CodeRabbit
Bug Fixes
Tests