pyosmeta provides the tools and scripts used to manage pyOpenSci's contributor and peer review metadata. This repo contains several modules and several CLI scripts, including:
parse-history
update-contributors
update-reviews
update-review-teams
Since pyOpenSci uses this tool for its website, we expect this package to have infrequent releases.
Using pip:
pip install pyosmeta
Using conda:
conda install pyosmeta
See CONTRIBUTING.md.
This repo contains several modules and several CLI scripts, including:
parse-history
- This script:
- gets a list of all contributors
- parses through the commit history (locally) to figure out when they were added to the contributor.yml file
- then it adds a date_Added key for that person This will allow us to ensure the yaml file retains order when users are highlighted as "new" and also for diff's in git.
- This script:
update-contributors
- This script parses through and updates the existing contributor list stored in pyopensci.github.io repo in the _data/contributors.yml file.
- That's used to populate the community page, and to update our metrics page.
update-reviews
- This script parses metadata from and issue and adds it to a .yml file for the website. It also grabs some of the package metadata such as stars, last commit, etc.
- It outputs a
packages.yml
file with all packages with accepted reviews; information related to the review; basic package stats; and partner information.
update-review-teams
- This script parses through our packages.yml and contributors.yml.
- It:
- Updates reviewer, editor and maintainer data in the contributor.yml file to ensure all packages they supported are listed there. 1b: And that they have a listing as peer-review under contributor type
- Finally it looks to see if we are missing review participants from the review issues in the contributor file and updates that file.
- Warning: This script assumes that update_contributors and update_reviews has been run. Rather than hit any api's it just updates information from the issues.
Note: this section will be rewritten to be more user focused.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Everyone interacting in the pyOpenSci project's codebases, issue trackers, chat rooms, and communication venues is expected to follow the pyOpenSci Code of Conduct.