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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
bdragon
approved these changes
May 22, 2023
updater/lib/dependabot/updater/operations/create_group_update_pull_request.rb
Outdated
Show resolved
Hide resolved
brrygrdn
force-pushed
the
brrygrdn/extract-group-creation
branch
from
May 23, 2023 11:51
501c042
to
1b90dc1
Compare
brrygrdn
force-pushed
the
brrygrdn/group-update-all-refreshes-existing-prs
branch
3 times, most recently
from
June 16, 2023 13:07
4ae5aaf
to
53f544c
Compare
brrygrdn
force-pushed
the
brrygrdn/extract-group-creation
branch
2 times, most recently
from
June 16, 2023 13:14
781729c
to
fccdd96
Compare
brrygrdn
changed the base branch from
brrygrdn/group-update-all-refreshes-existing-prs
to
main
June 16, 2023 13:14
brrygrdn
force-pushed
the
brrygrdn/extract-group-creation
branch
2 times, most recently
from
June 16, 2023 13:20
f8df887
to
7653370
Compare
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
force-pushed
the
brrygrdn/extract-group-creation
branch
from
June 16, 2023 13:52
7653370
to
62efaa8
Compare
Nishnha
approved these changes
Jun 16, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follows on from #7310This extracts
CreateGroupUpdatePullRequest
as a sibling class toRefreshGroupUpdatePullRequest
and removes all responsibility for actually processing groups into PullRequests fromGroupUpdateAllVersions
so its sole responsibility is co-ordination of which strategy to use for each group.