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 Firefox major version support (#668) #675

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

Conversation

piri-p
Copy link
Contributor

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

Fix #668 - Add Firefox major version support @whimboo

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 this PR as well! Before I'm going to actually review would you mind to add some tests that verify the changes? Local tests will be enough but maybe we might have to add some more test data to get this properly tested. Thanks.

@piri-p
Copy link
Contributor Author

piri-p commented May 7, 2024

Test cases and test data added @whimboo

@piri-p piri-p requested a review from whimboo May 7, 2024 22:15
@piri-p
Copy link
Contributor Author

piri-p commented May 8, 2024

Added 23.1.0 test data, add test cases @whimboo
Many test cases for latest release have to be upgraded to 23.1.0
Doing so causes NotFoundError reference to 23.1.0 candidates, so 23.1.0 candidates test data also added
Similarly test cases for latest candidate have to be upgraded to 23.1.0

@piri-p piri-p requested a review from whimboo May 8, 2024 13:29
({'platform': 'win32', 'version': '23'},
'firefox-23.1.0.en-US.win32.exe',
'firefox/releases/23.1.0/win32/en-US/Firefox Setup 23.1.0.exe'),
({'platform': 'win32', 'version': '23.0'},
Copy link
Contributor

Choose a reason for hiding this comment

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

Hm, for this specific test I would actually expect that the 23.0.1 release would be downloaded which is the latest security release of the 23.0 minor version. And we have this release already present for the testing data.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, this change because I added 23.1.0 test data to the folder, so 23 ==> 23.1.0 instead of 23.0.1

Copy link
Contributor

Choose a reason for hiding this comment

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

Well, the test doesn't specify 23 but is more strict in requesting a version for 23.0. That means that we cannot allow a download of 23.1.x but have to stick to the minor version which is 23.0.x and as such we still need to return 23.0.1.

@whimboo
Copy link
Contributor

whimboo commented May 24, 2024

Hi @piri-p. I wanted to check back with you and ask if you may have the time to finish this particular PR. Thanks.

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.

If only the major number is specified for a release build consider downloading the latest bug fix release
2 participants