json-schema-org / json-schema-org/ecosystem
Store a list of current repos which use the JSON Schema topic and when they were created
@wcj617 is already working on this.
Since Mar 22, 2024.
- Dominant language
- JavaScript
- Stars
- 8
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
This work has been started but still has some work to be done.
See https://github.com/json-schema-org/ecosystem/tree/main/projects/initial-data for work so far.
Currently, it checks the earliest record in the way back machine (WBM) for the repo to see if it has the JSON Schema topic. I don't think it should do that any more. It seemed like a good idea at the time.
The code currently collects all the Github topics the repo reports, which I think we can use to do some analysis. Might as well collect that data while it's there!
Here's the work that needs to be done on this:
- No longer check the way back machine for earliest use of the
json-schemagithub topic and no longer record the data related to the way back machine - Get the date of the first commit for a repo and store that in the CSV as a timestamp
- Confirm the initial data script can be run fully and include the created CSV as a commit
- Catch any potential error and log into a file, without causing the script to crash, and allowing it to continue if appropriate.
Stretch objectives:
- Write tests which mock the Github API calls and mock the file writing, and check it has the correct content for the API data mocked.
The WBM has an API limit of 500 calls per hour, while Githubs limit for the API endpoint used is 5,000 per hour (when using a Github Personal Access Token (PAT)).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.