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

List of accidential/drive-by improvements against python webapp #65

Open
AMDmi3 opened this issue Nov 13, 2024 · 0 comments
Open

List of accidential/drive-by improvements against python webapp #65

AMDmi3 opened this issue Nov 13, 2024 · 0 comments
Labels
Component: webapp repology-webapp, repology web application Type: feature User facing feature

Comments

@AMDmi3
Copy link
Member

AMDmi3 commented Nov 13, 2024

No action items, just a list for history. Close when webapp migration from python is complete.

  • Badges
    • Badge width is calculated more precisely, as for some reason Rust ttf-parser returns more correct text width that python's PIL.
    • Text vertical alignment is also more correct, as dominant-baseline property was used instead of guessed pixel offsets
  • /package/*/information endpoint
    • Version list is sorted consistently with regard to sink flag.
  • Internals
    • A few places no longer use sort to get e.g. package with max version
  • /tools/project-by endpoint
    • In a case of ambiguity, list of target projects is now sorted, which not only looks better in HTML, but makes autoresolve deterministic and also more likely to choose more suitable target, because the variants usually differ in suffixes (such as yuzu and yuzu-qt5), suffixless variants are likely to more generic and suitable as default, and these are sorted before
    • More error cases are now covered in explanation page (such as missing parameters)
    • Any get parameters are now passed to target page
  • Static files
    • URLs which include hashes of file contents are now autogenerated, so we no longer need to bump file versions manually.
  • badge/version-only-for-repo legacy endpoint
    • No longer adds header= param to the target url
  • Many
    • URLs are now properly escaped in html/xml replies
@AMDmi3 AMDmi3 added Component: webapp repology-webapp, repology web application Type: feature User facing feature labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: webapp repology-webapp, repology web application Type: feature User facing feature
Projects
None yet
Development

No branches or pull requests

1 participant