-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Depfu for Gitlab repos #7474
Comments
I think the way to do this will be to make new routes
and then redirect |
Btw, I managed to find a workaround by using the underlying JSON endpoint directly, such as
But adding the routes would certainly be much nicer. I could try adding it myself, if I can manage to understand how redirectors and routes are set up. 🙂 |
If you are interested in looking at it https://github.com/badges/shields/blob/c73072deed8eb6a5b9f51a06377f5f396ef21842/services/circleci/circleci.service.js is probably a good example to crib from |
* [Depfu] Add support for Gitlab Fixes #7474 * [Depfu] Add tests for Gitlab Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
📋 Description
The Depfu service is using the
/github/shields
endpoint of Depfu, which means it can only query the status of Github repos. It would be nice to be able to query Gitlab repos.🔗 Data
Depfu also has a
https://depfu.com/gitlab/shields/${userRepo}
endpoint, which acts the same as the/github/shields
endpoint, but for Gitlab repos.🎤 Motivation
While Depfu provides built-in badges, their style cannot be customized (e.g.,
?style=flat-square
), so it would be still useful to have this as ashields.io
badge.The text was updated successfully, but these errors were encountered: