pyOpenSci / pyopensci.github.io

This is the website for pyOpenSci. Contributions welcome!!
https://www.pyopensci.org
Other
35 stars 61 forks source link

Add "Peer Reviewed" badge #428

Open sneakers-the-rat opened 1 week ago

sneakers-the-rat commented 1 week ago

See https://github.com/pyOpenSci/software-peer-review/issues/293 - rather than using tinyurl and shields.io, we can just host our own badge :). this is just a directly saved version of the existing logo.

ideally we would have it just at /badges/peer-reviewed.svg but

a) i didn't want to add another top-level directory when there is already a top-level images directory, and

b) this site is using the old style github-pages gem build method rather than a github actions build, so I wrote a quick plugin to be able to specify copying from one location in the source directory to another in the built site, but you can't use custom plugins with the old style gh pages build :(.

sneakers-the-rat commented 1 week ago

lol I love how the pre-commit hook is bouncing the file ending of an svg that rocks

lwasser commented 1 week ago

Somehow you aren't on our editorial team @sneakers-the-rat as i was wondering why the CI didn't kick off for you here. i just invited you to our org and the team! I'm confused how this happened!!!

Should we make some changes to our CI build? this site was setup 5 years ago.

I love serving this badge. we've thought about it before! rOpenSci has a slightly different process with their badge - the package gets the badge at the very beginning and the status of the badge updates over time as it moves through review. What's cool about that is it would allow us to flag a package that say hasn't been updated in (as an example) 1+ years.

sneakers-the-rat commented 1 week ago

Hmm hmm hmm I think you could do that with a static page and JS but im not sure, let me try.