Closed ronaldtse closed 5 years ago
Too hard, just took badges from READMEs.
https://github.com/metanorma/metanorma-release/blob/master/README.adoc
Need help with appveyor badges and codeclimate badges. unicode2latex Travis badge and some other badges, for some reason, not displaying even though the build is successful.
You sure the Travis badge has org vs com correct?
image:https://img.shields.io/travis/metanorma/unicode2latex/master.svg["Travis Build Status", link="https://travis-ci.com/metanorma/unicode2latex"]
The link is right, and the image source does not differentiate.
I think we should probably use the Travis badge directly instead if through shields.io.
Done 744b3446f83d300f6ccd479ede605a36a59775b2. Closing.
Sorry for reviving this one. Am I correct that these badges are simply copy-pasted from particular READMEs, and manually maintained?
Although GitHub still does not support the AsciiDoctor's include
directive (github/markup#1095), we can render final HTML in GitHub Actions, then push changes back (https://github.com/ad-m/github-push-action, https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token). This should be easy to do, and I can handle that, if you guys believe it is worth doing, which is not necessarily a case.
cc @ronaldtse @opoudjis
Yes they are manually maintained, both this dashboard of badges and the badges within the READMEs of each repo.
I’m not exactly sure of the details you’re proposing - do you mean having this repo automatically fetch the badges from the READMEs of the child repos, or have every child repo’s badges maintained in this repo? Either way it’d be worth doing.
Feel free to go ahead but the other ticket on Geolexica is more urgent...
I meant extracting a partial and re-using it, similarly to what I did in my gist. Or maybe even generating some HTML with ERB or something.
It would be best if we can centrally manage the badges. We have been centrally managing our GitHub Actions using the [https://github.com/metanorma/cimas/](Cimas gem) with the CI files located https://github.com/metanorma/metanorma-build-scripts/tree/master/cimas-config.
Created #7 so it will not fall off the radar.
README refactoring done in #8. Moreover, https://github.com/metanorma/cimas/issues/20 has been created for badges central management feature.
This is what @skalee uses in a Gist:
badges.adoc
dashboard.adoc