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

Add Fenix locale handling (#665) #671

Merged
merged 6 commits into from
May 6, 2024

Conversation

piri-p
Copy link
Contributor

@piri-p piri-p commented Apr 28, 2024

Fix #665 - Add Fenix locale handling @whimboo

@piri-p piri-p marked this pull request as draft April 28, 2024 00:27
@piri-p piri-p marked this pull request as ready for review April 28, 2024 00:27
@piri-p piri-p marked this pull request as draft April 28, 2024 00:28
@piri-p piri-p marked this pull request as ready for review April 28, 2024 00:28
Copy link
Contributor

@whimboo whimboo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @piri-p for the PR! The change looks fine to me and also works as expected. But to not have to manually run the check for each PR/release would you mind to also add an automated test for all kind of scrapers at least for Fenix? For applications like Firefox and Thunderbird we should already have such tests but maybe you can cross-check as well.

Let me know if you have trouble in running the tests and I can help. Thanks again for working on this PR!

@piri-p
Copy link
Contributor Author

piri-p commented May 2, 2024

Thanks for your feedback @whimboo ! I have updated the code and add test cases.

@piri-p piri-p requested a review from whimboo May 2, 2024 17:18
Copy link
Contributor

@whimboo whimboo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for adding the tests! I've basically only a nit that needs to be addressed before we can merge this PR. Please see my inline comment.

@piri-p
Copy link
Contributor Author

piri-p commented May 6, 2024

I have removed all except one test case for each scraper :) @whimboo

@piri-p piri-p requested a review from whimboo May 6, 2024 06:57
Copy link
Contributor

@whimboo whimboo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic! Also all the new tests are passing as expected. Thanks a lot for your work on this PR!

@whimboo whimboo merged commit f9c501c into mozilla:master May 6, 2024
16 checks passed
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.

Trying to download a specific locale for a Fenix daily build fails with a NotFoundError
2 participants