Commit Graph

1536 Commits

Author SHA1 Message Date
jNullj
d00c4de4a3 Refactor version rendering in [wordpress nexus] and [f-droid] services (#10608)
* Refactor version rendering in f-droid, nexus, and wordpress services

* add missing label in nexus test
2024-10-13 19:10:17 +02:00
Tapaj Kumar Das
8ed3dc8db4 add [homebrew] cask download badge (#10595)
* add homebrew cask download badge

* add homebrew cask download badge

* fix: updates test cases

* fix: updates test cases

* tidy up homebrew filenames and docs site titles

---------

Co-authored-by: chris48s <git@chris-shaw.dev>
2024-10-12 12:02:23 +00:00
jNullj
f767fabf43 remove prefix v for commit hash version (#10597)
* addv ignore commit hash

some services might return version as a commit hash like aur.
it makes no sense to prefix v before the commit.

Fixes #10591

* add addv commit hash tests

add both full commit hash and short commit hash tests to addv.
expected result - no v prefix.
2024-10-12 09:21:27 +00:00
Ambati Mohan Kumar
e3808c1738 [Maven] Added badge for Maven-Cenral last-update (#10301) (#10585)
* Added badge for Maven-Cenral last update.

* Update services/maven-central/maven-central-last-update.service.js

Co-authored-by: chris48s <chris48s@users.noreply.github.com>

* updated according to the review comments.

---------

Co-authored-by: chris48s <chris48s@users.noreply.github.com>
2024-10-12 08:52:08 +00:00
chris48s
f3e0cc06f4 [DynamicXml] parse doc as html if served with text/html content type (#10607) 2024-10-12 08:07:28 +00:00
chris48s
2515cf9b27 Revert "Use old.stats.jenkins.io for JSON data (#10522)" (#10537)
This reverts commit 394a8271a6.
2024-09-30 10:09:27 +01:00
chris48s
da6002099f catch queries that cause TypeError (#10556) 2024-09-30 09:00:51 +00:00
chris48s
ec1b6c8dac [dynamicjson dynamicyaml dynamictoml] switch to jsonpath-plus (#10551) 2024-09-25 17:16:04 +01:00
Davide Piccinini
eca1b28234 [Snapcraft] license (#10520)
* Add snapcraft license. Update snapcraft version to inherit from snapcraft-base class. Add snapcraft base url in configurations.

* Fix spec tests after making method static

* remove snapcraft configurations, move into base class

* Update services/snapcraft/snapcraft-base.js

---------

Co-authored-by: chris48s <chris48s@users.noreply.github.com>
2024-09-15 15:34:02 +00:00
chris48s
9eaa2ed507 deprecate [wheelmap] service (#10538)
* deprecate [wheelmap] service

* remove app.json
2024-09-15 15:20:22 +00:00
Filipe Roque
394a8271a6 Use old.stats.jenkins.io for JSON data (#10522)
Related with
 - https://github.com/jenkins-infra/helpdesk/issues/4265
 - https://github.com/jenkins-infra/plugin-site/pull/1890
2024-09-13 15:39:42 +00:00
chris48s
cf656d3a4d catch xml ParseError (#10516) 2024-09-07 20:04:32 +01:00
Pierre-Yves Bigourdan
559c38f966 Remove failing [Packagist] tests (#10512) 2024-09-07 18:01:16 +00:00
Pierre-Yves Bigourdan
bbc8339789 Switch to shields server ID in [Discord] example and test (#10513) 2024-09-07 17:59:38 +00:00
chris48s
b0d9cb0894 migrate [MozillaObservatory] to /scan endpoint (#10491) 2024-09-07 17:56:45 +00:00
dependabot[bot]
ffd0903878 chore(deps): bump @xmldom/xmldom from 0.8.10 to 0.9.0; run [DynamicXml] (#10481)
* chore(deps): bump @xmldom/xmldom from 0.8.10 to 0.9.0

Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom) from 0.8.10 to 0.9.0.
- [Release notes](https://github.com/xmldom/xmldom/releases)
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xmldom/xmldom/compare/0.8.10...0.9.0)

---
updated-dependencies:
- dependency-name: "@xmldom/xmldom"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* invoke parseFromString with mimetype

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris48s <git@chris-shaw.dev>
2024-09-07 17:56:13 +00:00
Zijian Zang
ecb5bf2e07 fix incorrect codecov config link (#10511) 2024-09-07 14:38:34 +00:00
Joe Izzard
9717fc202f [OSSLifecycle OSSLifecycleRedirect] Add file_url param to pull from non-github sources (#10489)
* add file_url param

Add file_url param to allow pulling from non-github sources

* add test for file_url param

Add test using file_url variant of OSS Lifecycle badge using Netflix OSSTracker repo

* remove old pattern from main service

Remove all references and code for the old /{user}/{repo} and /{user}/{repo}/{branch} functionality.
This will be replaced by a redirect service.

Also updated all tests to use the new file_url method

* add osslifecycle redirector

add a redirector for the original osslifecycle pattern

* tweaks to docs and handle function

Tweak the Description to remove reference to GitHub as now works with any repository,
and updated handle function to remove reference to unused variables.
2024-09-05 16:06:15 +00:00
chris48s
d98ebbd883 remove intermediate variable (#10496) 2024-09-04 04:03:34 +00:00
chris48s
84897f3836 fix typo in pepy downloads (#10475) 2024-08-25 20:30:53 +01:00
Pierre-Yves Bigourdan
c874f1890c Use Ecologi API to power Treeware badges (#10467) 2024-08-21 17:35:45 +00:00
chris48s
dc57a8893c move go version badge to platform support category (#10444) 2024-08-15 22:39:07 +00:00
Eray Erdin (&mut self)
a583ca7105 [Crates] Implement Dependents Badge (#10438)
* add dependents service

* remove redundant timeout
2024-08-04 20:25:25 +00:00
Joey Li
bdf84f9f94 [Crates] Added crate size badge (#10421)
* add some basic tests for size badge

* add crate size to crates fetch

* add crate size service

* change test to reflect base-10 counting instead

* fix downloads tests to work with new crate_size scheme addition

* move handling of unknown size to handle
2024-08-04 12:35:28 +00:00
Pierre-Yves Bigourdan
1a09e9a30b Fix branch in [Bitrise] tests (#10439) 2024-08-04 05:50:44 +00:00
chris48s
da0fd70427 migrate [MozillaObservatory] to new API (#10402)
* migrate [MozillaObservatory] to new API

* remove timeouts

* prettier
2024-07-26 10:31:47 +01:00
chris48s
be542e17af use metric() for [discord] and [revolt] badges (#10406) 2024-07-26 09:17:59 +00:00
chris48s
f99fd17a8f update [pub] points service test (#10398) 2024-07-26 09:17:45 +00:00
chris48s
81dfc92f86 update [pypi] license test example (#10399) 2024-07-23 03:03:51 +00:00
chris48s
a02107494b update [PythonVersionFromToml] test example (#10400) 2024-07-23 02:54:29 +00:00
Pierre-Yves Bigourdan
66d9f4da02 Fix [FreeCodeCampPoints] not found handling (#10377)
* Fix [FreeCodeCampPoints] not found handling

* Tighten schema
2024-07-22 20:36:23 +00:00
Pierre-Yves Bigourdan
2fb8e57105 Fix [Gerrit] new change test (#10376) 2024-07-22 17:54:40 +00:00
Pierre-Yves Bigourdan
26637494d2 Fix [AmoVersion] test (#10375) 2024-07-22 17:54:34 +00:00
Pierre-Yves Bigourdan
bb1157c6b3 Fix [EcologiCarbonOffset] test (#10374) 2024-07-22 17:54:30 +00:00
Pierre-Yves Bigourdan
a202a09e87 Fix [Gitea] not found message (#10373) 2024-07-22 17:54:24 +00:00
Pierre-Yves Bigourdan
62ed7c3a27 Mock [JenkinsCoverage] Cobertura job found test (#10372) 2024-07-22 17:54:18 +00:00
Pierre-Yves Bigourdan
852d02d662 Deprecate [Bountysource] service (#10371) 2024-07-22 17:53:58 +00:00
Pierre-Yves Bigourdan
1e4c8f54d7 Sunsetting Shields custom logos (#10347)
* Sunsetting Shields custom logos

* Reinstate info to contribute to SimpleIcons

* Mention that no changes are required
2024-07-13 19:14:54 +00:00
Pierre-Yves Bigourdan
67deddb8a9 Use ellipsis when many versions returned for [ModrinthGameVersions] (#10350) 2024-07-13 18:58:11 +00:00
Pierre-Yves Bigourdan
1585d157c1 Cleanup unused bits and pieces (#10349) 2024-07-13 18:57:54 +00:00
chris48s
5e36dc0a8f deprecate [tokei] service (#9581) 2024-07-13 14:04:22 +01:00
Pierre-Yves Bigourdan
be43f68ace Remove unused parameters in [Chocolatey Resharper PowershellGallery] (#10345) 2024-07-09 17:25:45 +00:00
Pierre-Yves Bigourdan
e685b1a8bf Use XML for Chocolatey, affects [Chocolatey Resharper PowershellGallery] (#10344) 2024-07-09 15:57:12 +00:00
chris48s
e6c8d079c9 include gituhb contributors badge in docs site (#10337) 2024-07-09 14:11:14 +00:00
Matin Lotfaliei
7c787b364a Add [AUR] Popularity Badge (#10304)
* Add AUR Popularity

* Apply Prettier formatting

* Update aur.service.js based on chris48s comments

* Update aur.tester.js from isMetric to decimal number

* Update aur.tester.js to import Joi

* Update aur.tester.js to fix the mistakenly placed Joi

* Update services/aur/aur.service.js

* Update services/aur/aur.tester.js

* update mocked data

---------

Co-authored-by: chris48s <chris48s@users.noreply.github.com>
Co-authored-by: chris48s <git@chris-shaw.dev>
2024-06-30 18:55:31 +00:00
chris48s
61a6963919 fix npm badges when maintainers not in response (#10286) 2024-06-26 18:56:17 +00:00
chris48s
677e713310 Remove logoPosition (#10284)
* remove logoPosition param

* finish the job of removing logoPosition

---------

Co-authored-by: Sergey Kupletsky <s.kupletsky@gmail.com>
2024-06-24 13:26:48 +00:00
Chris Young
92718ff98b [MBIN] Add subscribers badge (#10270)
* Add Mbin support

* Add tests for Mbin

* Update services/mbin/mbin.service.js

Remove extra space from description

Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>

* Remove test for bad server or connection

* Removed timeout

* Run not found test against live server

* Use isMetric for test

---------

Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>
2024-06-23 21:25:29 +00:00
Pierre-Yves Bigourdan
8698fa1838 Update documentation and tests to [docsrs] (#10240)
* Update documentation and tests to [docsrs]

* Fix language identifier

* Replace tensorflow with tokio
2024-06-10 07:13:42 +00:00
Pierre-Yves Bigourdan
6be6c1d59f Add [Docker] support for loong64 arch (#10241)
* Add [Docker] support for loong64 arch

* Fix Docker version test
2024-06-09 22:42:25 +02:00