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: loop logic for iterating over package-ecosystems #143

Merged
merged 1 commit into from
May 26, 2024

Conversation

zkoppert
Copy link
Member

@zkoppert zkoppert commented May 26, 2024

Pull Request

fixes #141

Proposed Changes

This pull request includes changes to simplify the code for building the dependabot file. It also adopts a fail fast methodology so it doesn't make API calls for ecosystems on the exempt list.

Readiness Checklist

Author/Contributor

  • If documentation is needed for this change, has that been included in this pull request
  • run make lint and fix any issues that you have introduced
  • run make test and ensure you have test coverage for the lines you are introducing

Reviewer

  • Label as either fix, documentation, enhancement, infrastructure, maintenance or breaking

Signed-off-by: Zack Koppert <zkoppert@github.com>
Copy link
Member

@jmeridth jmeridth left a comment

Choose a reason for hiding this comment

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

Very nice refactor.

@zkoppert
Copy link
Member Author

I'll put this in my performance review: Wrote embarrassingly repetitious code and then cleaned it up with a nice refactor. 😂 I create my own opportunities 🚀🤣

@zkoppert zkoppert merged commit 86fd92e into main May 26, 2024
28 checks passed
@zkoppert zkoppert deleted the refactor-dependabot-file-builder branch May 26, 2024 18:48
@jmeridth
Copy link
Member

I'll put this in my performance review: Wrote embarrassingly repetitious code and then cleaned it up with a nice refactor. 😂 I create my own opportunities 🚀🤣

This is the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optimize performance and reduce API calls by failing fast when building a dependabot.yml file
2 participants