-
-
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
Left and right label values as params? #815
Comments
To be clear, yes, I'm asking about the params. I realize you can just specify the right side with a dash. |
pretty sure the only param is |
This is rather frustrating when attempting to create a custom badge URL because it means the right-side can't be provided without some escaping. I'm trying to generate custom badges where the right side is a semver version string, which can contain dashes. In order to account for the "normal" use of the dash as the -- separator, that requires the dashes be escaped (with another dash). This is rather difficult when the badge URL is being generated via simple shell scripts. :( It would be preferable if all portions could be specified via query params, such that the status portion could be provided without needing to escape it (well, other than the URI escaping which is necessary regardless where in the URL that segment lives). |
It's a good idea. I like the dashes as shorthand for simple badges, though they are not useful for complex things nor programmatic generation. We should keep the current URL scheme working, for backward compatibility, though how about we add a second one |
Let's track this in #2673. |
?leftLabel=foo&rightLabel=bar
<= Is this a thing? I swear I looked through the issues and couldn't find it.If you try to double it up like the
link
param, it just concats a comma and the 2nd value to the left label.The text was updated successfully, but these errors were encountered: