* fix failing test 'Locked version of VCS dependency'
replaced tested package which is missing with another example
* Add regex validator for commit hash format
* fix vcs dependency test to use pipenv's pypiserver
* skeleton of WhatPulse badge is done
* rename to category; add UptimeShort; switch to lowercase
* Add divergence for user and team
* small rename; cases for tests listed but not yet coded
* add ordinal numbers to whatpulse ranks
* modify error service tests for whatpulse
* WhatPulse badge changes are in progress
* update tests for WhatPulse badge:
* in tests, rename category to metric
* rename stats to metric
* some polishing
* add daysjs-duration-humanize to uptimeseconds
* add more + increase specificity of whatpulse service tests
* update example
* add space for upload and download
* Update services/test-validators.js
* happy path is done: packagist depenency version is returned for dependencyVendor and dependencyRepo
* changes in error handling in packagist dependency version service
* Move to packagist-base common parts of packagist-php and packagist-dep-ver
* the label now shows the name of the dependency
* add comments,slightly modify if statement
* fix unit tests in services/packagist/packagist-php-version.spec.js
* add unit tests for services/packagist/packagist-dependency-version.js
* service tests for packagist-dependency-version.service.js are in progress
* Add additional service tests for packagist-dependency-version.tester.js
* remove toLowerCase()
* resolve from lgtm: 1 for Wrong use of 'this' for static method
* DRY determining the name of the dependency (depVen/depRepo)
* url change in strategy is in progress
* basic examples of packagist/dependency-v work with new url; packagist/php-v redirects to the new url
* service tests should be green
* unit tests for packagist should be fixed
* add toLowerCase()
* part of suggestions from the PR is implemented
* updated tests for packagist dependency version
* fix packagist dependency version spec
* add missing unit tests
* Update services/packagist/packagist-dependency-version.spec.js
Co-authored-by: chris48s <chris48s@users.noreply.github.com>
* Update services/packagist/packagist-dependency-version.spec.js
Co-authored-by: chris48s <chris48s@users.noreply.github.com>
Co-authored-by: chris48s <chris48s@users.noreply.github.com>
* feat: add gitlab issues service
* fixes based on review
* fixes based on review
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* refactor(JenkinsTests): finished core refactor to new service model
* refactor(JenkinsTests): more updates
* refactor(JenkinsCoverage): minor refactor to leverage new common Jenkins content
* refactor(JenkinsBuild): update redirector to include shorthand alias
* chore: apply suggestion on jenkins-tests.service.js
Co-Authored-By: calebcartwright <calebcartwright@users.noreply.github.com>
* refactor(JenkinsTests): rename test helpers
* chore: cleanup JenkinsCoverage redirector
* chore: cleanup JenkinsBuild redirector
* chore: cleanup test docs
There's a lot of demand for the Gitlab badges (#541) and the PR has been lingering, so I thought I'd start off one of the simple ones as a new-style service. This one is SVG-based, so it shouldn't require the API-token logic which could use some more testing and will require us to create an app and configure it on our server.
We don't have any validation in place for `queryParams`. Probably this should be added to BaseService, though for the time being I extracted a helper function.
Thanks to @LVMBDV for getting this work started in #1838!
* upgrade to Joi 14
Joi 14 throws an exception on regexes which use the `g` flag
see https://github.com/hapijs/joi/issues/1615
semver-regex uses the `g` flag
https://github.com/sindresorhus/semver-regex/blob/master/index.js
so in order to upgrade Joi, I've swapped out semver-regex
We'll use joi-extension-semver for semver validation now
* use isVPlusDottedVersionNClauses in jetbrains tests
some of these projects use version numbers like
v1.7 or
v3.0.0.141