-
Notifications
You must be signed in to change notification settings - Fork 2k
Discogs: fixes for: 6177, 6068 #6179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
henry-oberholtzer
wants to merge
3
commits into
master
Choose a base branch
from
discogs-fixes
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+346
−182
Conversation
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
931796f to
91ece4c
Compare
91ece4c to
d68514e
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6179 +/- ##
==========================================
+ Coverage 67.93% 68.00% +0.06%
==========================================
Files 137 137
Lines 18677 18741 +64
Branches 3155 3162 +7
==========================================
+ Hits 12688 12744 +56
- Misses 5324 5332 +8
Partials 665 665
🚀 New features to boost your workflow:
|
This comment was marked as resolved.
This comment was marked as resolved.
f0902d3 to
cb4b4fc
Compare
cb4b4fc to
ec23eec
Compare
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.
Description
Fixes #6177, #6068.
I fixed the issue in #6177 by removing the derived class interface, and moving those fields back into function variables. They're a bit unwieldy still, but that's the algorithm it came with. There's a lot of room to continue to improve the clarity of the code in that section, but I think that'll require a deeper overhaul.
For #6068, I created the
ArtistInfoandAlbumArtistInfotyped dictionaries, and was able to centralize the logic of building the artist info intobuild_artistinfoandbuild_albumartistinfo. Tests for these scenarios were created largely by expanding existing tests to incorporate the new fields.I think I'll have to re-think the entire algorithm for 6030 to make it more flexible at parsing the issue for #6030, so I'll move that to a later PR in the interest of getting the flex attr fix in.
To Do
docs/changelog.rstto the bottom of one of the lists near the top of the document.)