Add Ruby lib for interacting with Kredits contracts #7
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I think it would be great if we could use the hal8000 privkey in akkounts and have Ruby methods available in the code to e.g. propose Kredits.
Based on this, we could implement a lot of things that we had planned, in a rather straight-forward and simple way, and more stable and secure over the long term than the hubot/node codebase.
First thing I was thinking about is a job that aggregates all code reviews from merged Gitea and GitHub PRs over a grant cycle, sums up the kredits, and then proposes combined kredits in single entries for every reviewer.
Another thing we could do with it is linking Kosmos accounts to Kredits profiles for example. The possibilities are endless, of course. Just throwing around some examples.
@bumi WDYT?
I forgot another thing which would make a lot of sense: moving external account authentication to akkounts, and perhaps even adding more of it.
I.e. the current GitHub auth in kredits web would be easy to add here using OmniAuth. And anything there's an OmniAuth module for would be easy to add as well.
This would mostly be for updating your contributor profile, and is probably still most useful for GitHub for now.
https://q9f.github.io/eth.rb/ actually looks pretty great, and seems to be actively maintained.
(/ht @bumi)