Also, since there are now two types of things that are being "contained" (comments and pull request reviews), I factored out an addContainment method to avoid repeating that code. To make our handling of PullRequestReviewComments and regular Comments consistent, I modified our query string so that we now request urls on PullRequestReviewComments. Also, since I didn't notice until closely inspecting the snapshot that we had been adding payloads with some undefined properties, I added a test to verify that every property on every node and edge payload is defined. I regenerated the example-repo data to reflect the change to query string. Test plan: Verify that the snapshot changes are appropriate Run standard tests Run `yarn backend` Run `GITHUB_TOKEN={your_token} ./src/plugins/github/fetchGithubRepoTest.sh`
SourceCred
The open-source community provides an enormous amount of value to the world. However, open-source contributors go largely unrewarded and unrecognized. SourceCred aims to help that situation, by building tools that enable quantitatively measuring the value that open-source contributors provide to individual projects, and to the community as a whole.
SourceCred will create a "Cred Graph", which is a graph that shows how the contributions that compose open-source projects are related to and derive value from each other. From this, we'll be able to assign "cred" to users based on how valuable their contributions are. Cred will be assigned based on a mixture of objective data (e.g. references between GitHub pull requests) and subjective feedback (e.g. projects' own judgments on how important different contributions were).
If you'd like to contribute, please follow along with our issues, as we are using issues to coordinate development and design decisions. We also have a slack.