This fixes, updates, and improves the manual script to propose kredits for PR reviews on GitHub and Gitea.
I tested it with my local dev setup, creating kredits on the local test chain. It's currently a bit tricky, due to the IPFS lib being EOL, so I don't expect anyone to test locally for reviews.
I ran the script in production for the missing 2021 kredits, so you can see a live example: https://kredits.kosmos.org
If everyone's happy with that, I'll run it for the other years since then, 1 per year.
Continued from https://gitea.kosmos.org/kredits/kredits-reviews
This fixes, updates, and improves the manual script to propose kredits for PR reviews on GitHub and Gitea.
I tested it with my local dev setup, creating kredits on the local test chain. It's currently a bit tricky, due to the IPFS lib being EOL, so I don't expect anyone to test locally for reviews.
I ran the script in production for the missing 2021 kredits, so you can see a live example: https://kredits.kosmos.org
If everyone's happy with that, I'll run it for the other years since then, 1 per year.
refs #65
* Improve the description to include number of PRs and start/end date
* Set the contribution date to 00:00 on the day after the end date
* Add a sub-kind to the details property so it's easy to identify
reviews
raucao
marked the pull request as ready for review 2025-02-09 08:58:27 +00:00
raucao
requested review from bumi 2025-02-09 08:59:56 +00:00
raucao
requested review from galfert 2025-02-09 08:59:56 +00:00
Just because that's what @galfert's code was using (at the time), and I didn't want to spend time on refactoring something that works. I'd rather move the whole thing away from hubot and npm modules eventually.
Just because that's what @galfert's code was using (at the time), and I didn't want to spend time on refactoring something that works. I'd rather move the whole thing away from hubot and npm modules eventually.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Continued from https://gitea.kosmos.org/kredits/kredits-reviews
This fixes, updates, and improves the manual script to propose kredits for PR reviews on GitHub and Gitea.
I tested it with my local dev setup, creating kredits on the local test chain. It's currently a bit tricky, due to the IPFS lib being EOL, so I don't expect anyone to test locally for reviews.
I ran the script in production for the missing 2021 kredits, so you can see a live example: https://kredits.kosmos.org
If everyone's happy with that, I'll run it for the other years since then, 1 per year.
refs #65
@@ -13,6 +13,7 @@"dependencies": {"@ethersproject/experimental": "5.7.0","@kredits/contracts": "^7.3.0","axios": "^1.7.9",Any particular reason for switching from the built in fetch to axios?
Just because that's what @galfert's code was using (at the time), and I didn't want to spend time on refactoring something that works. I'd rather move the whole thing away from hubot and npm modules eventually.
Had one question about axios out of curiosity, but otherwise LGTM! \o/
@slvrbckt Thanks! I have generated the rest of the kredits proposals now.