Skip to content
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

MBS-13922: Add URL cleanup and validation for Naver Vibe #3463

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Maxr1998
Copy link
Contributor

@Maxr1998 Maxr1998 commented Feb 2, 2025

Problem

Currently, URL relationships for Naver Vibe aren't validated nor cleaned up to a standard format.

Solution

Implement URL cleanup code for Naver Vibe, ensure that links are only added to their respective allowed entities, and rewrite legacy Naver Music links to the new Vibe format.

Testing

Tested locally by adding various types of Naver Vibe links to artists and releases. Additionally, unit tests have been written.
Currently, the unit tests fail due to a timeout, I'm not sure what is causing that, since it also says that all tests passed.

@reosarevok
Copy link
Member

All tests passed until the one that didn't :) (and that crashed it). Will look into why.

@Maxr1998
Copy link
Contributor Author

Maxr1998 commented Feb 3, 2025

Thanks, I unfortunately couldn't find a cause for it yet..

@reosarevok
Copy link
Member

The regexes in the cleanup were a bit weird, and it was not matching your music.naver URL. AFAICT the intent is just "catch the number, ignore everything after it" so I changed it up a bit to match how we do those things in other cleanups. If there's a deeper meaning we need to keep, let me know!

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