[
https://issues.apache.org/jira/browse/SLING-7684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16519355#comment-16519355
]
Bertrand Delacretaz commented on SLING-7684:
--------------------------------------------
What do you see as the source of truth for those badges, going forward?
I thought the idea was to parse each module's README when scripts (*) need to
find out about the badges, using long-term stable badge URLs (at least for
static things) under [http://sling.apache.org/res/badges] for example, URLs
that are easy to recognize like
[http://sling.apache.org/res/badges/sling-group-launchpad.svg]
Now, looking at
[https://github.com/apache/sling-org-apache-sling-launchpad-integration-tests]
for example it uses the following for the group:launchpad badge:
[https://camo.githubusercontent.com/8c786d7d1393f687ee861db6af3c132f8e3e3229/68747470733a2f2f736c696e672e6170616368652e6f72672f6261646765732f67726f75702d6c61756e63687061642e737667]
Which is not convenient to analyze in scripts.
Were you thinking of another way of making sure there is a single source of
truth for badges, and we can get them easily from repository contents?
(*) Scripts like [https://github.com/apache/sling-aggregator] and the website
scripts that generate [http://sling.apache.org/downloads.cgi] and
[http://sling.apache.org/repolist.html] for example
> Add Badges to GitHub Repo Readmes
> ---------------------------------
>
> Key: SLING-7684
> URL: https://issues.apache.org/jira/browse/SLING-7684
> Project: Sling
> Issue Type: Task
> Reporter: Dan Klco
> Assignee: Dan Klco
> Priority: Minor
> Attachments: Sling-Repos.csv, features-page.png, modules-page.png,
> project-readme.png, readrepo.sh
>
>
> Add badges to the README.md files in all of the GitHub repositories
> indicating important status items, links to other resources and other good
> information. Currently looking into:
> *Static Badges*
> * Contrib
> * Deprecated
> * Testing(?)
> * Tooling(?)
> * License
> *Dynamic Badges*
> * Build Status
> * Tests
> * Maven Central
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)