You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are already OSS Lifecycle and OSS Lifecycle Branch badges for GitHub, however it would be great to have a version that is compatible with GitLab. This would look and work like the existing OSS Lifecycle badge:
I'd propose that the current OSS Lifecycle badges are renamed to indicate that they are for GitHub, with the endpoint kept the same, and a new badge pulling from GitLab with the options common for GitLab badges such as the instance URL are created.
Happy to do the work to implement and get a PR ready once a direction is confirmed.
We have a number of badges that are not using any API. They just look at a file which could be anywhere but are hard-coded to assume that file is on GitHub. I would really like to gradually move these to being agnostic about where the file is hosted. So they will work for projects on GitHub, GitLab, BitBucket, Forgejo, your self-hosted instance of Gitea.. all the places. OSSLifeCycle is one of these.
I think my suggestion here would be that we migrate this so that instead of
but file can live anywhere. To maintain backwards compatibility for existing users, we can use a redirect to redirect calls to osslifecycle/{user}/{repo}/{branch} to https://img.shields.io/osslifecycle?file=https%3A//github.com/{user}/{repo}/blob/{branch}/OSSMETADATA.
馃搵 Description
There are already OSS Lifecycle and OSS Lifecycle Branch badges for GitHub, however it would be great to have a version that is compatible with GitLab. This would look and work like the existing OSS Lifecycle badge:
![Static Badge](https://camo.githubusercontent.com/6185efdd3b465fcea3e6e6297373a6152b51859393b0b159373e74ff3e266477/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6f73735f6c6966656379636c652d6163746976652d677265656e)
馃敆 Data
The data for this would be pulled from the Raw GitLab content for that repo. On GitLab this takes the form:
https://gitlab.com/{USER}/{REPO}/-/raw/{BRANCH}/{FILE}?ref_type=heads
馃帳 Motivation
I largely use GitLab and would like to be able to use the badge.
The text was updated successfully, but these errors were encountered: