-
-
Notifications
You must be signed in to change notification settings - Fork 101
Notice other versions of the same page #208
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
Conversation
For instance, inform if a linux page is also in common.
Co-authored-by: CleanMachine1 <[email protected]>
I ran black on the script |
I reverted black formatting to not conflict with other PRs for now. We can maybe run it in another PR |
Signed-off-by: K.B.Dharun Krishna <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after some minor changes
Signed-off-by: K.B.Dharun Krishna <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you @kbdharun and @Jaimepas77!
Fixes #193
This PR changes the way pages are searched so that it can find multiple versions of the same page. Therefore, every time a page is searched, every possible platform is checked even if a previous valid one was found. If more than one page is found, the next platform in the priority list is noticed to the user.
It doesn't search in every page if the platform was determined by the user parameters.
The PR implements this specification.
Bugs: it wont find multiple versions of the page if the cache only contains one of them. As it's much faster to search on the cache, this bug was not resolved.