-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support PubSubHubbub API for creating hooks #1265
Comments
Since it is a part of the GitHub Developer v3 API, it makes sense to me to support it in this repo. If there are no objections from @willnorris or @gauntface then I say we move forward with a design and PR. |
@gmlewis Great! Is there any design documents or similar that I should submit for review before starting to work on the actual code? (Also, are there any specific build instructions for this repo I should know about?) |
We have no formal design docs but you should definitely read through and be familiar with CONTRIBUTING.md. It would be great if you could informally describe your design here in this issue including generally how you plan to implement the new feature and give other contributors and users an opportunity to comment before getting too deep into the PR. |
All the infrastructure for handling authentication etc seems to already be handled, so I figure I can just look at how other API calls are handled, and mimic that. For example, the create webhook code seems simple enough to imitate. To avoid cluttering up existing code, I figure I'll place it in a new file Does that sound OK? |
That sounds like a great plan to me. Hopefully if others have any feedback they will respond to this thread earlier rather than later. 😂 |
@gmlewis this issue can be closed |
It seems to me like this issue is still open, @wesleimp ... why do you say this one can be closed? |
@gmlewis you are correct, sorry my bad. |
No problem, @wesleimp ! Thank you for all your help! It is greatly appreciated! |
Hi @gmlewis , I stumbled upon this issue while browsing the repo and I am interested if somehow this issue is still available 🙂 |
Yes, since we have not heard from @tomasaschan since last August, I think we can safely assume that this issue is available. Thank you, @joshuabezaleel ! I'll assign it to you. |
Hi @gmlewis , is it okay if I ask a particular technical question here? For Thank you very much in advance! 🙂 |
If I understand correctly, you are asking about the unit test... Correct, you don't need to fake (or test) the 204 explicitly... it is sufficient to just fake/test the 200. You can modify the test if you wish, but the unit tests are mainly concerned with getting the full round-trip exercised, and the 200 is sufficient. Thank you, @joshuabezaleel ! |
Hi @gmlewis , I was actually thinking of this since the I've put up a PR and I think the code is still not good enough and really subject to change. Sorry for the troublesome in advance. Looking forward to the review! 🙂 |
This would be a great PR for any new contributor to this repo or a new Go developer. Feel free to volunteer for any issue and the issue can be assigned to you so that others don't attempt to duplicate the work. Please check out our CONTRIBUTING.md guide to get started. (In particular, please remember to Thank you! |
Thanks, @hemachandarv , but let's see how #625 goes before you also attempt to tackle this one. |
Sounds like a plan. Thanks, @gmlewis |
Sure, @hemachandarv , it is yours. Thank you! |
@gmlewis I believe Since there are not many Please correct me if I am wrong 😄 |
@amarlearning - I have no problem with any contributor to work on any issue in this repo. We are not reserving any issues for any categories of developers and really enjoy getting down to zero net issues. These labels are an attempt to be helpful but are not strict guidelines. So please feel free to contribute to any issues that you feel you can resolve. Thank you! |
Are there any plans to support the PubSubHubbub API for creating webhooks?
I could try to create a PR for implementing this (I'm hoping to use it for implementing https://github.com/terraform-providers/terraform-provider-github/issues/275) if there is any chance of it being accepted.
The text was updated successfully, but these errors were encountered: