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

refactor - usage renderVersionBadge - part 2 [amo archlinux aur bower cdnjs chromewebstore cocoapods conan conda cookbook cpan cran crates ctan curseforge debian docker dub eclipsemarketplace elmpackage f-droid factorio fedora feedz flathub galaxytoolshed gem gitea github gitlab greasyfork hackage hexpm homebrew itunes jenkins jetbrains jitpack jsr mavenmetadata modrinth nexus npm nuget openvsx opm ore packagist piwheels polymart pub puppetforge pypi ros scoop snapcraft spack spiget thunderstore twitch ubuntu vaadindirectory vcpkg visualstudioappcenter visualstudiomarketplace vpm wordpress] #10615

Merged
merged 9 commits into from
Oct 20, 2024

Commits on Oct 16, 2024

  1. use defaultLabel in renderVersionBadge without tag

    As we refactor the codebase to use renderVersionBadge.
    some badges need to show default label regardless of tag existance.
    This is usefull for cases where the label is dynamic.
    
    This change requires fixing test for npm, not sure how it worked before.
    jNullj committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    4896c4b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75a5487 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    024f59c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    168c0b1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    be33c65 View commit details
    Browse the repository at this point in the history
  6. add missing tests for renderVersionBadge

    add defaultLabel without tag test
    add postfix test
    add test for all options together
    jNullj committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    6a02951 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ec97261 View commit details
    Browse the repository at this point in the history
  8. add prefix override to renderVersionBadge

    adds tests for all options with prefix as well
    
    used for badges#2026 but also usefull for usage letting people override v prefix for versions all over the project once badges#2026 is done as requested for example in badges#10574
    jNullj committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    1ae6c44 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c19f8c1 View commit details
    Browse the repository at this point in the history