imagej2
imagej2 copied to clipboard
Let's add more badges to our projects
The syntax is:
[](https://www.versioneye.com/java/com.zenjava:javafx-maven-plugin/8.1.2)
Cool idea.
For fun, I installed the Jenkins Embeddable Build Status plugin, and added badges to all relevant repositories across scijava, scifio, imglib, imagej and fiji orgs.
Here's the script I used:
for f in imagej/* fiji/* scifio/* scijava/* imglib/* # I 0 {2015-04-28 23:12:20}
do
test -d "$f" && test -f "$f/pom.xml" &&
(
cd $f
url="$(grep -A 2 '<ciManagement>' pom.xml | tail -n1 | sed -E 's/.*(jenkins.imagej.net.*)<\/url>/\1/')"
case "$url" in
jenkins.imagej.net*)
test -f README.md &&
echo '' > t &&
echo >> t &&
cat README.md >> t &&
mv -f t README.md
;;
esac
)
done
The only problem is: I didn't make each badge actually link back to its associated Jenkins job. And instead, GitHub gives it a confusing default link target. So later, we should probably update all these badges to link to their actual respective jobs.
Hmm, I must have fixed the Jenkins job links long ago now (and forgot to update this issue), because those all look fine.
In very recent news, I just added Maven Central badges to all the components currently published to Maven Central.
I looked through the other badges for useful ones, but nothing much jumped out at me, except:
- I don't like the GitHub forks/stars/watchers/issues, because that info is already at the top of the GitHub page. (So these badges would be more useful somewhere besides in the README.md on GitHub.)
- I couldn't get the VersionEye stuff working upon initial investigation.
- The GitHub tag one is cool, but seems to just be alphabetical ordering? See e.g. https://img.shields.io/github/tag/imagej/imagej.svg which erroneously reports
v2.0.0-beta-6
. - GitHub license would be awesome except it isn't currently working—it just says "vendor unresponsive" in the badge.
Any other specific badges you want to see added? Otherwise I vote for closing this issue.