Skip to content
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

organization web hooks #1884

Merged
merged 14 commits into from
Jun 7, 2020
Merged

organization web hooks #1884

merged 14 commits into from
Jun 7, 2020

Conversation

MartinDawson
Copy link
Contributor

@MartinDawson MartinDawson commented Oct 7, 2018

#1028

This is a continuation and fix for PR #1144

@ryangribble I fixed all tests apart from these two:
@StanleyGoldman

  • SendsCreateToCorrectUrl
  • SendsCreateToCorrectUrlWithRepositoryId

These seem related to creating new releases?

Would be great to get some reviews on this soon as I really want to get this in.

nubby109 and others added 12 commits March 9, 2016 17:34
Added the organization webhooks and tests. Corrected a few repository
url (related to hooks). Added a ensure condition for hookid in
repository hooks
2. Added EnsuresNonEmptyArguments() in OrganizationHooksClientTest.cs
3. Fixed the integrationTests I added for org webhooks
4. Changes asked by ryanribble
Hooks -> Hook
fixtures-> Fixtures
variable name changes in OrganizationsHooksFixture.cs
@MartinDawson MartinDawson changed the title Web hook organization web hooks Oct 7, 2018
@ryangribble
Copy link
Contributor

Sorry for the delay @MartinDawson, I'll take a look at reviewing this, this week

@shiftkey shiftkey mentioned this pull request Sep 16, 2019
@shiftkey shiftkey self-assigned this Sep 16, 2019
@cliffchapmanrbx
Copy link

It's been approximately 52 weeks, could this be reviewed? I have a strong need for it right now rather than the raw parsing I'm doing.

@shiftkey
Copy link
Member

It's been approximately 52 weeks, could this be reviewed?

@cliffchapmanrbx are you able to provide feedback for the changes? The more eyes we have on this, the quicker it should be when I can make time for it...

@cliffchapmanrbx
Copy link

@cliffchapmanrbx are you able to provide feedback for the changes?

I lack the internal familiarity to provide more than a "yep this is C# alright" overview of the code. If that would be sufficient for you I can gloss over it to look for egregious performance issues.

Honestly I don't feel comfortable providing any feedback that would be taken at face value for this project at this time. If reviewers is something you need to get this moving forward I might be able to devote time to it.

@shiftkey
Copy link
Member

If reviewers is something you need to get this moving forward I might be able to devote time to it.

This would be a great help. We have a decent suite of automation and tests to catch things, but additional eyes from the "yep, this code makes sense" or "this bit of code looks weird" perspective would help.

You shouldn't need to be deeply familiar with the internals to help out, but feel free to ask questions in here if there's something that doesn't make sense - I'm more than happy to turn these questions and answers into guidance for future reviews.

@codecov
Copy link

codecov bot commented Jun 7, 2020

Codecov Report

Merging #1884 into master will decrease coverage by 0.78%.
The diff coverage is 68.75%.

@@            Coverage Diff             @@
##           master    #1884      +/-   ##
==========================================
- Coverage   65.85%   65.07%   -0.79%     
==========================================
  Files         547      553       +6     
  Lines       14301    14399      +98     
  Branches      838      836       -2     
==========================================
- Hits         9418     9370      -48     
- Misses       4724     4755      +31     
- Partials      159      274     +115     
Impacted Files Coverage Δ
Octokit/Models/Request/NewProjectCard.cs 27.27% <0.00%> (ø)
Octokit/Models/Response/OrganizationHook.cs 0.00% <0.00%> (ø)
Octokit/Models/Response/Repository.cs 5.68% <0.00%> (-0.14%) ⬇️
Octokit/Models/Request/EditOrganizationHook.cs 50.00% <50.00%> (ø)
Octokit/Models/Request/NewOrganizationHook.cs 63.63% <63.63%> (ø)
....Reactive/Clients/ObservableOrganizationsClient.cs 73.33% <75.00%> (-1.67%) ⬇️
...ctive/Clients/ObservableOrganizationHooksClient.cs 100.00% <100.00%> (ø)
Octokit/Clients/OrganizationHooksClient.cs 100.00% <100.00%> (ø)
Octokit/Clients/OrganizationsClient.cs 89.28% <100.00%> (+0.82%) ⬆️
Octokit/Helpers/ApiUrls.cs 97.52% <100.00%> (+0.01%) ⬆️
... and 46 more

Copy link
Member

@shiftkey shiftkey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After giving this a look over I think I'm just going to push this out with the next update because I can't spot any obvious concerns.

Thanks for the contribution @MartinDawson!

@shiftkey shiftkey merged commit 8d3e7b3 into octokit:master Jun 7, 2020
@shiftkey
Copy link
Member

shiftkey commented Jun 7, 2020

release_notes: Add support for Organization webhooks

@nickfloyd nickfloyd added Type: Feature New feature or request and removed category: feature labels Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants