I took a bit of time this morning to look through this and I think I've got a pretty slick script to run through and add all of these badges. The nice thing is that it supports running single projects and overwriting so we can pretty easily update a project if it later added builds, tests or coverage.
This will automatically add badges for: - Contrib (if applicable, currently all of the projects that in SVN were in the contrib folder) - Deprecated (not really applicable ATM, but we could add more in the CSV, this same CSV could be used to drive the deprecated lists in downloads) - Apache 2 License (always) - Maven Release (if code released to maven) - Jenkins Tests (if tests are configured in Jenkins) - Jenkins Test Coverage (if coverage is configured in Jenkins) - Jenkins Build status (if the project is build in jenkins) - the apache sling logo (always) The script also presents a preview of the rendered README and will prompt for the next action, (e.g. commit, don't commit or revert changes). If others could take a look at this script over the next couple days I'd like a sanity check, but if there are no objections I'll run it Friday, 8 June 2018. -Dan On Fri, May 25, 2018 at 10:28 AM, Daniel Klco <[email protected]> wrote: > Good point, I ran a script against the SVN repo and got this: > > https://issues.apache.org/jira/secure/attachment/12925152/Sling-Repos.csv > > The script also checked for a GitHub repo so we can see which modules were > not migrated over (there are some false negatives) but it should be a good > starting point for a deprecated / contrib list. > > I've created an issue to track this work and am going to start working on > the list of repos and a script to update them: > https://issues.apache.org/jira/browse/SLING-7684 > > Regards, > Dan > > On Fri, May 25, 2018 at 4:05 AM, Bertrand Delacretaz < > [email protected]> wrote: > >> On Thu, May 24, 2018 at 4:53 PM, Daniel Klco <[email protected]> >> wrote: >> > ...Is there a list of the deprecated / contrib >> > repositories?... >> >> Not that I know, but we might rebuild (most of) that from the old svn >> structure. >> >> I won't have time to work on this in the next ten days but interested >> in helping make the whole badges thing happen. >> >> -Bertrand >> > >
