daytonaio / daytona

The Open Source Dev Environment Manager.
https://daytona.io
Apache License 2.0
8.06k stars 769 forks source link

Webhook event support for Gitea/Codeberg prebuilds #996

Closed idagelic closed 1 day ago

idagelic commented 2 weeks ago

Is your feature request related to a problem? Please describe. We should support registering webhooks to Gitea/Codeberg which will allow us to parse their Git events and use prebuilds.

Describe the solution you'd like An approach similar to the way GitHub webhooks are implemented should be used. The final solution should be properly tested and include screenshots of the Daytona CLI calls working correctly and the webhook being present in the dashboard of the Git provider.

Additional context This includes a webhook get, register and unregister method as well as methods for comparing commit ranges and parsing event data. The implementation should be done in the pkg/gitprovider directory and use the same endpoint as the GitHub provider.

Tpuljak commented 2 weeks ago

/bounty $50

algora-pbc[bot] commented 2 weeks ago

💎 $50 bounty â€ĸ Daytona

Steps to solve:

  1. Start working: Comment /attempt #996 with your implementation plan
  2. Submit work: Create a pull request including /claim #996 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

If no one is assigned to the issue, feel free to tackle it, without confirmation from us, after registering your attempt. In the event that multiple PRs are made from different people, we will generally accept those with the cleanest code.

Please respect others by working on PRs that you are allowed to submit attempts to.

e.g. If you reached the limit of active attempts, please wait for the ability to do so before submitting a new PR.

If you can not submit an attempt, you will not receive your payout.

Thank you for contributing to daytonaio/daytona!

Add a bounty â€ĸ Share on socials

Attempt Started (GMT+0) Solution
đŸŸĸ @Vasanth-96 Sep 1, 2024, 11:42:50 AM WIP
đŸŸĸ @unsuman Sep 12, 2024, 12:35:37 PM #1097
đŸŸĸ @tarunrajput Sep 12, 2024, 10:06:59 PM WIP
unsuman commented 2 days ago

/attempt #996

Algora profile Completed bounties Tech Active attempts Options
@unsuman 3 daytonaio bounties
Go, C++,
Dockerfile & more
Cancel attempt
tarunrajput commented 1 day ago

/attempt #996

Algora profile Completed bounties Tech Active attempts Options
@tarunrajput    25 daytonaio bounties
+ 5 bounties from 5 projects
Java, TypeScript,
JavaScript
īšŸ1002
Cancel attempt
algora-pbc[bot] commented 1 day ago

💡 @unsuman submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] commented 1 day ago

🎉🎈 @unsuman has been awarded $50! 🎈🎊