-
-
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
URI structure convention #291
Comments
We obviously cannot break the current design, which has a lot of legacy parts to it itself. Beyond that, even the design you suggest has issues.
In short, yes, we have legacy formats. They're not a mess, even though they can't all fit nicely in a unique pattern. Each vendor has its own behaviour, and we have to adapt to that. Adapting to more and more specialized idioms in a left-to-right manner is what we have done. Changing halfway would only make the whole thing uglier, and potentially introduce damning issues. I hope we can close this issue without a backlash on your part. |
I took a detailed look at current situation with URIs and i found some pretty weird conventions...
Lets take this link as example:
http://img.shields.io/gem/dtv/rails.svg
http://img.shields.io/github/release/qubyte/rubidium.svg
http://img.shields.io/github/issues/badges/shields.svg
but if you take a look at issues url in github you will found something like this:
https://github.com/badges/shields/issues
its a pretty standard format if you had experience with REST paradigm and i think following this convention would solve a lot of problems and make integration of news services easier.
Just take a look at this:
/github/badges/shields.svg
- this can be a default badge, just for a sake of example/github/badges/shields/issues.svg
- issues/github/badges/shields/tag.svg
- tag/github/badges/shields/release.svg
- releaseand you have it already with travis:
/travis/joyent/node.svg
/travis/joyent/node/master.svg
/travis/joyent/node/v0.6.svg
and in a case of gems, it makes even more sense:
/gem/rails/dtv.svg
/gem/rails/dt.svg
/gem/rails/dv.svg
Isn't it prettier?
My point here is that we need some general convention for naming instead of the mess we are having right now, and
service/username/project/resource.svg
is a very good candidate on my opinion.The text was updated successfully, but these errors were encountered: