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

Refactor pagerduty #52

Merged
merged 31 commits into from
Oct 1, 2015
Merged

Refactor pagerduty #52

merged 31 commits into from
Oct 1, 2015

Conversation

technicalpickles
Copy link
Contributor

I'm trying not to change behavior at all, but just get things in a better place. Some goals so far:

  • general code cleanup
  • move PagerDuty API interactions to their own class
  • more idiomatic error handling

I'm considering this a work in progress still.

@stephenyeargin
Copy link
Member

Might have already considered it, but it may be tempting to split out the low-level transport stuff into its own module. There appears to be one already, but it doesn't have a lot of the service query stuff built into this package.

In any case, 😻 because it makes this one step closer to being able to do something with #49

@technicalpickles
Copy link
Contributor Author

I started splitting out some of the functionality into different scripts. I started with just the webhook since it's totally unrelated to the API commands. I'd like to split the others out, but I think this diff is starting to get big enough so will follow up with that separately.

technicalpickles added a commit that referenced this pull request Oct 1, 2015
@technicalpickles technicalpickles merged commit f1d3919 into master Oct 1, 2015
@technicalpickles technicalpickles deleted the refactor-pagerduty branch October 1, 2015 15:24
@stevefranks stevefranks mentioned this pull request Oct 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants