Idea/request: If you have a DUB project, add a code.dlang.org badge to README

2014-12-30 Thread Kiith-Sa via Digitalmars-d-learn
A few weeks/months ago someone here mentioned that it'd be good 
if DUB projects linked to code.dlang.org to help anyone who runs 
into such a project quickly discover other D projects.


MAny GitHub projects have badges/shields on top of their 
READMEs - little image strips showing things like continuous 
integration status, code coverage, etc.


There's also a service generating these: shields.io

I generated a simple listed at| code.dlang.org shield, and 
added it to my project READMEs as a link pointing to 
code.dlang.org for example, see D:YAML README:


  https://github.com/kiith-sa/D-YAML

You can do the same by either linking to or downloading the 
shield:


  https://img.shields.io/badge/listed%20at-code.dlang.org-red.png

(used red... because mars)

and putting the image (whether as a link to shields.io or your 
own copy) into your README.




It's not likely to be a huge improvement, but I expect it *can* 
help people notice more D projects and it's trivial to do.


Re: Idea/request: If you have a DUB project, add a code.dlang.org badge to README

2014-12-30 Thread jklp via Digitalmars-d-learn

On Tuesday, 30 December 2014 at 21:12:38 UTC, Kiith-Sa wrote:
A few weeks/months ago someone here mentioned that it'd be good 
if DUB projects linked to code.dlang.org to help anyone who 
runs into such a project quickly discover other D projects.


MAny GitHub projects have badges/shields on top of their 
READMEs - little image strips showing things like continuous 
integration status, code coverage, etc.


There's also a service generating these: shields.io

I generated a simple listed at| code.dlang.org shield, and 
added it to my project READMEs as a link pointing to 
code.dlang.org for example, see D:YAML README:


  https://github.com/kiith-sa/D-YAML

You can do the same by either linking to or downloading the 
shield:


  
https://img.shields.io/badge/listed%20at-code.dlang.org-red.png


(used red... because mars)

and putting the image (whether as a link to shields.io or your 
own copy) into your README.




It's not likely to be a huge improvement, but I expect it *can* 
help people notice more D projects and it's trivial to do.


red is connoted negative/agressive, I think blue would be better.
Or maybe yellow-mustard for those who have doubtful tastes...



Re: Idea/request: If you have a DUB project, add a code.dlang.org badge to README

2014-12-30 Thread Kiith-Sa via Digitalmars-d-learn

On Tuesday, 30 December 2014 at 21:19:52 UTC, jklp wrote:

On Tuesday, 30 December 2014 at 21:12:38 UTC, Kiith-Sa wrote:
A few weeks/months ago someone here mentioned that it'd be 
good if DUB projects linked to code.dlang.org to help anyone 
who runs into such a project quickly discover other D projects.


MAny GitHub projects have badges/shields on top of their 
READMEs - little image strips showing things like continuous 
integration status, code coverage, etc.


There's also a service generating these: shields.io

I generated a simple listed at| code.dlang.org shield, and 
added it to my project READMEs as a link pointing to 
code.dlang.org for example, see D:YAML README:


 https://github.com/kiith-sa/D-YAML

You can do the same by either linking to or downloading the 
shield:


 
https://img.shields.io/badge/listed%20at-code.dlang.org-red.png


(used red... because mars)

and putting the image (whether as a link to shields.io or your 
own copy) into your README.




It's not likely to be a huge improvement, but I expect it 
*can* help people notice more D projects and it's trivial to 
do.


red is connoted negative/agressive, I think blue would be 
better.

Or maybe yellow-mustard for those who have doubtful tastes...


If you want blue, just replace red with blue. I used red 
because it's the color of the D logo, site and the color of Mars 
(as D was originally called Mars and lot of D things are named 
after Mars, e.g. Phobos/Deimos etc.)


Re: Idea/request: If you have a DUB project, add a code.dlang.org badge to README

2014-12-30 Thread Kiith-Sa via Digitalmars-d-learn

On Tuesday, 30 December 2014 at 21:19:52 UTC, jklp wrote:

On Tuesday, 30 December 2014 at 21:12:38 UTC, Kiith-Sa wrote:
A few weeks/months ago someone here mentioned that it'd be 
good if DUB projects linked to code.dlang.org to help anyone 
who runs into such a project quickly discover other D projects.


MAny GitHub projects have badges/shields on top of their 
READMEs - little image strips showing things like continuous 
integration status, code coverage, etc.


There's also a service generating these: shields.io

I generated a simple listed at| code.dlang.org shield, and 
added it to my project READMEs as a link pointing to 
code.dlang.org for example, see D:YAML README:


 https://github.com/kiith-sa/D-YAML

You can do the same by either linking to or downloading the 
shield:


 
https://img.shields.io/badge/listed%20at-code.dlang.org-red.png


(used red... because mars)

and putting the image (whether as a link to shields.io or your 
own copy) into your README.




It's not likely to be a huge improvement, but I expect it 
*can* help people notice more D projects and it's trivial to 
do.


red is connoted negative/agressive, I think blue would be 
better.

Or maybe yellow-mustard for those who have doubtful tastes...


aand what I was supposed to post (I didn't itend to put this in 
D.learn):


http://forum.dlang.org/thread/tbspahcinalabopfb...@forum.dlang.org#post-tbspahcinalabopfbxey:40forum.dlang.org




Re: Idea/request: If you have a DUB project, add a code.dlang.org badge to README

2014-12-30 Thread jklp via Digitalmars-d-learn

On Tuesday, 30 December 2014 at 21:23:53 UTC, Kiith-Sa wrote:

On Tuesday, 30 December 2014 at 21:19:52 UTC, jklp wrote:

On Tuesday, 30 December 2014 at 21:12:38 UTC, Kiith-Sa wrote:
A few weeks/months ago someone here mentioned that it'd be 
good if DUB projects linked to code.dlang.org to help anyone 
who runs into such a project quickly discover other D 
projects.


MAny GitHub projects have badges/shields on top of their 
READMEs - little image strips showing things like continuous 
integration status, code coverage, etc.


There's also a service generating these: shields.io

I generated a simple listed at| code.dlang.org shield, and 
added it to my project READMEs as a link pointing to 
code.dlang.org for example, see D:YAML README:


https://github.com/kiith-sa/D-YAML

You can do the same by either linking to or downloading the 
shield:



https://img.shields.io/badge/listed%20at-code.dlang.org-red.png

(used red... because mars)

and putting the image (whether as a link to shields.io or 
your own copy) into your README.




It's not likely to be a huge improvement, but I expect it 
*can* help people notice more D projects and it's trivial to 
do.


red is connoted negative/agressive, I think blue would be 
better.

Or maybe yellow-mustard for those who have doubtful tastes...


If you want blue, just replace red with blue. I used red 
because it's the color of the D logo, site and the color of 
Mars (as D was originally called Mars and lot of D things are 
named after Mars, e.g. Phobos/Deimos etc.)


Sorry it was a trivial and useless answer. forgot that this board 
is excusively serious.