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

[Updater] Extract creation of new group Pull Requests into a discrete class #7354

Merged
merged 4 commits into from Jun 16, 2023

Conversation

brrygrdn
Copy link
Contributor

@brrygrdn brrygrdn commented May 22, 2023

Follows on from #7310

This extracts CreateGroupUpdatePullRequest as a sibling class to RefreshGroupUpdatePullRequest and removes all responsibility for actually processing groups into PullRequests from GroupUpdateAllVersions so its sole responsibility is co-ordination of which strategy to use for each group.

@brrygrdn brrygrdn requested a review from a team as a code owner May 22, 2023 14:11
@brrygrdn brrygrdn changed the title Extract creation of new group Pull Requests into a discrete class [Updater] Extract creation of new group Pull Requests into a discrete class May 22, 2023
@brrygrdn brrygrdn force-pushed the brrygrdn/extract-group-creation branch from 501c042 to 1b90dc1 Compare May 23, 2023 11:51
@brrygrdn brrygrdn self-assigned this May 25, 2023
@brrygrdn brrygrdn force-pushed the brrygrdn/group-update-all-refreshes-existing-prs branch 3 times, most recently from 4ae5aaf to 53f544c Compare June 16, 2023 13:07
@brrygrdn brrygrdn force-pushed the brrygrdn/extract-group-creation branch 2 times, most recently from 781729c to fccdd96 Compare June 16, 2023 13:14
@brrygrdn brrygrdn changed the base branch from brrygrdn/group-update-all-refreshes-existing-prs to main June 16, 2023 13:14
@brrygrdn brrygrdn force-pushed the brrygrdn/extract-group-creation branch 2 times, most recently from f8df887 to 7653370 Compare June 16, 2023 13:20
@brrygrdn brrygrdn requested review from bdragon and a team June 16, 2023 13:24
This goes against the intend of a Dependency Snapshot being the Job
enriched with data from parsing contents of the repository.

Let's just use job.dependency_group_to_refresh when we need to
@brrygrdn brrygrdn force-pushed the brrygrdn/extract-group-creation branch from 7653370 to 62efaa8 Compare June 16, 2023 13:52
Copy link
Member

@Nishnha Nishnha left a comment

Choose a reason for hiding this comment

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

LGTM

@brrygrdn brrygrdn merged commit d749fb6 into main Jun 16, 2023
99 checks passed
@brrygrdn brrygrdn deleted the brrygrdn/extract-group-creation branch June 16, 2023 14:45
brettfo pushed a commit to brettfo/dependabot-core that referenced this pull request Oct 11, 2023
…roup-creation

[Updater] Extract creation of new group Pull Requests into a discrete class
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.

None yet

3 participants