Skip to content

fix: refactor app screenshots#490

Open
allendema wants to merge 1 commit intolinuxmint:masterfrom
allendema:fix-app-screenshots
Open

fix: refactor app screenshots#490
allendema wants to merge 1 commit intolinuxmint:masterfrom
allendema:fix-app-screenshots

Conversation

@allendema
Copy link

Why

First party screenshots were too old.
Third party screenshots were not avaliable.
Debian - debshots scraping mechanism outdated.

Which only left the very old screenshot(s).

How

Fix the debian community screenshots and remove own community + third party screenshots.
Also use the json api instead of scraping.
Remove not needed imports like bs4, re, threading, gi{...}.
Double the allowed screenshots to now allow 8.

Fix the debian community screenshots and remove own community + third party screenshots.
Also use the json api instead of scraping.
Remove not needed imports like bs4, gi{...} etc.
Double the allowed screenshots to now allow 8.

Signed-off-by: Allen <64094914+allendema@users.noreply.github.com>
@mtwebster
Copy link
Member

  • Why are you removing the third-party screenshots? If you're going to refactor this should be included. Mint doesn't use them but they're also not in the way if disabled:
    Add hamonikr packages #322

  • I think 4 is enough screenshots.

@allendema
Copy link
Author

When tested at the time, the given third-party url path had no screenshots for packages like mpv, vlc, etc.
Now that the page won't even load. However, I can revert the removal.

Four screenshots seems too little when one wants to view different aspects of an app, considering that they are community ones.

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