Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
As a repo maintainer, I want SourceCred integrated into Gitcoin, so I can payout all of my contributors at once. #2160
As a repo maintainer, I want SourceCred integrated into Gitcoin, so I can payout all of my contributors at once.
Why Is this Needed
We want to provide an interface for where a funder can payout many contributors at once, and we think SourceCred could be a way to do this.
They are MIT Licensed, and Dandelion said we could do a prototype integration with them.
No way to tip out all my contributors at once.
A user can input their github organization or gitub repo, and be spit out a list of users and the amount of cred they have.
I would like to see this information populated in the advanced payout view on Gitcoin (or ... at least a copy of that page )
Definition of Done
User can put in their org/repo name on SourceCred and get a prefilled advanced payout form on Gitcoin
Please propose an architeccture of how to bridge the two projects before you start coding!
This is a good question. There are various answers depending on what you
It’s important to note that the cred computation is fundamentally
For instance, one could imagine restricting the data given to SourceCred
But it is still clearly a useful thing to be able to ask questions like,
We want to have tools to explore these questions in detail, but we don’t
There are some reasonable approximations that you can make today,
Another approach: Run SourceCred to get a base attribution
I haven’t thought about this approach much, either. :-)
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
This issue now has a funding of 250.0 DAI (250.0 USD @ $1.0/DAI) attached to it.
@wchargin and I aren't sure if things are ready on SourceCred's side for work on this issue to progress. we haven't created an API yet for retrieving data from SourceCred (sourcecred/sourcecred#704), so currently the data is only computed in the browser, which isn't the most convenient place to get it from.
@mul1sh can you elaborate about when you've integrated SourceCred before?
@decentralion Nice project! Agreed. It might be a decent idea for us to hold off on this integration until there is a concrete mechanism for retrieving the results outside of attempting to scrape the UI. Definitely looking forward to seeing how the project progresses!
Cool, thanks for understanding all. I'll circle back once sourcecred/sourcecred#704 is resolved. A few different people have asked for this, and it is on the critical path for some major UI improvements I've got planned, so I expect I'll prioritize it before long.
The answer to this is actually YES! (soon)
More details to come, but the SourceCred project at the Odyssey Hackathon introduced personalized PageRank into a fork of the codebase. In this implementation it is possible to specify a seed vector which can be one specific node and get cred scores relative to this point of reference.
Our prototype from the Hackathon is here:
@decentralion is diligently working to integrate the hackathon work into the core SourceCred codebase, though they probably won't rush it, as SourceCred has a high bar for code quality, something hackathons are not known for.(Personally, I am anxiously awaiting code review from @wchargin). Interested parties can check out the pull request here:
Looking forward to seeing more discussion on this integration.