daytonaio / daytona

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

Webhook event support for Bitbucket prebuilds #994

Closed idagelic closed 2 months ago

idagelic commented 2 months ago

Is your feature request related to a problem? Please describe. We should support registering webhooks to Bitbucket which will allow us to parse its 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 months ago

/bounty $50

algora-pbc[bot] commented 2 months ago

💎 $50 bounty • Daytona

Steps to solve:

  1. Start working: Comment /attempt #994 with your implementation plan
  2. Submit work: Create a pull request including /claim #994 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
🟢 @unsuman Sep 1, 2024, 6:58:02 AM #1048
unsuman commented 2 months ago

/attempt #994

algora-pbc[bot] commented 2 months ago

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

algora-pbc[bot] commented 2 months ago

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