* [CTAN] version: Fallback to date if version is empty
* Fix importing of `InvalidResponse`
* Satisfy prettier manually
* Format code using a global prettier
* more readability
* use `joi` schema directly
* make `version.date` also `required()`
* import `Joi`
* add required `date` entry for tests
* examples don't need `date` entry
* Update Jenkins Code Coverage API for new plugin version
Recently, the Jenkins Code Coverage API plugin re-added its external
API, but changed the format. This updates the jenkins service to
accomodate the new API.
* Update coverage API test url
* Re-introduce old badge format as apiv1 and add redirectors
* Mock coverage apiv1 with historical result
* format mock response as object
---------
Co-authored-by: chris48s <git@chris-shaw.dev>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* Update to CTAN API version 2.0
also use https protocol for CTAN tests
see https://www.ctan.org/help/json/2.0/pkg
* Add a version validator for CTAN only
The latest CTAN package `novel` is versioned v1.81a.
---------
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* Fix [Vcpkg] version service for different version fields
* Use match one to enforce a single alternative
* Mock different version field test cases
* Extract version field parsing as separate helper
---------
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* fix some params incorrectly marked as optional
all of these are really required
* make '@' part of the param (not route) for scoped packages
* minor HTML tweaks to sonar help
---------
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* Add [polymart] badges (#7429)
* fix misspelling issue
* add required to all joi objects
* fix not found badge return a valid resource issue
* fix misspelling issue
* fix invalid resource issue
* remove default badge color
Co-authored-by: chris48s <chris48s@users.noreply.github.com>
* remove version default badge color
* change version label to the service name
* add renderVersionBadge() method for version rendering
* fix method name issue
* change version regex
* fix code style issue
* add renderVersionBadge from version and remove the manually added renderer
Co-authored-by: chris48s <chris48s@users.noreply.github.com>
* send X-GitHub-Api-Version when calling GitHub v3 API
* TODO: invesitgate
* read baseUrl from config.service.baseUri
* add workflow to check for new GH api releases on schedule
* format config/default.yml to match yaml.dump() format
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* feat: add vpm version badge
* chore: remove sort parameter
* chore: rename repositoryUrl -> repository_url
* fix: test data
* chore: add include_prereleases
* chore: versions requires at least one element
* chore: add example badge for include_prereleases
Co-authored-by: chris48s <chris48s@users.noreply.github.com>
* Add a Modrinth game versions badge
* Require at least one game version
* Code style
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* switch from github workflows to github actions workflows
* update github actions workflow badge to use api
* add test case for missing branch param
* custom deprecation message
* Added GitLab to Coveralls badge + added redirect
* why does the old redirect accept slash in the user param
* rename test
* modify the old redirector test - but it still doesnt work
* tests are passing
* add missing redirector tests
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* Add ansible collection badge
* Ansible Collection: Remove unneccesary base class
* Ansible Collection: Fix test (label "collection" rather than "role")
* added pre-release version support to VScode marketplace service. Added pre-release example
* fixed missing 'version' property
* Updated flags property to support all versions in the response. Added comment to explain the flags property calculations
* added test for pre-release versions. Updated mock response structure to match new logic
* updated response schema. Fixed service bug
* Added logic for the case all versions are prerelease. Verify the prerelease key value is 'true'
* fixed bug in case all version are prerelease and the includePrereleases flag is false
* added test for response with prerelease only. Added test in case the prerelease key has false value
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>