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 #83

Merged
merged 7 commits into from
Mar 5, 2020
Merged

Refactor #83

merged 7 commits into from
Mar 5, 2020

Conversation

asmeurer
Copy link
Member

@asmeurer asmeurer commented Feb 24, 2020

Clean up the code a bit now that we have multiple functionalities.

Code changes

  • Each check now has its own function.

Functionality changes

  • GET requests are now cached. With the refactor some requests would be called multiple times otherwise.
  • The added/deleted check is no longer done on a "merge" action.

…te functions

The cache feature of gidgethub should take care of issues with calling the
same API twice (such as listing the commits).
@asmeurer
Copy link
Member Author

asmeurer commented Mar 5, 2020

Still not quite sure how to clean up the tests. We should probably merge this as-is.

@asmeurer asmeurer merged commit c600efc into master Mar 5, 2020
@asmeurer asmeurer deleted the refactor branch March 5, 2020 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant