Problem/Motivation
working on #3100110: Convert update_calculate_project_update_status() into a class
I realized the logic in update_calculate_project_update_status() dealing with project_status from the update xml is not covered in tests.
Proposed resolution
Determine which values for project_status in update_calculate_project_update_status() are actually values that could in the Update XML. Test all those values
Remaining tasks
Review https://git.drupalcode.org/project/drupal/-/merge_requests/2329
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #29 | 3254426-nr-bot.txt | 2.38 KB | needs-review-queue-bot |
Issue fork drupal-3254426
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3254426-drupal-10.0.x
changes, plain diff MR !2329
- 3254426-untest-project-status
changes, plain diff MR !1545
Comments
Comment #2
tedbowPushed up a commit to prove no tests fail
Comment #4
tedbowSetting to needs work. Removing this logic and the tests still passing proves it is untested
Comment #6
kunal.sachdev commentedComment #7
tedbowNeeds work based on merge request comments
Comment #8
kunal.sachdev commentedComment #9
tedbowNeeds work for comment in merge request. Note there is follow up that needs to be created there.
Comment #11
ravi.shankar commentedHere I have tried to resolve the comments on MR, please review.
Still needs work for creating follow up.
Comment #12
kunal.sachdev commentedComment #13
tedbowVery close! I just see 2 more points
Comment #14
ravi.shankar commentedMade changes as per comment #13, please review.
Comment #15
tedbow@ravi.shankar thanks, changes look good! @kunal.sachdev also thanks for work on this. RTBC 🎉
Comment #16
quietone commentedChanging version to 10.0.x where this needs to be applied first. It will need a reroll, adding tag.
Does this still need tests? If not, please update the tags.
Comment #17
ravi.shankar commentedAdded patch for Drupal 10.0.x.
Comment #18
pooja saraah commentedfixed failed commands against #17
Attached interdiff
Comment #21
rpayanmComment #22
immaculatexavier commentedThe patch #18 does not apply, so changing the status to Need Work.
Comment #23
sandeepsingh199 commentedYahh @immaculatexavier #18 patch is not working for me as well. Actually some files are missing on that patch, So I fixed those issue with help of #20 MR for 10.0.x and 10.1.x and upload the patch same.
Comment #24
sandeepsingh199 commentedComment #25
Manoj Raj.R commentedHi @sandeepsingh199
is the patch same as #20?. Looks pretty same to me.
Comment #26
smustgrave commentedThis issue is being reviewed by the kind folks in Slack, #need-reveiw-queue. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge require as a guide.
I do please #23 is the same as the MR.
Hiding all the patches as the MR seems the path forward for this.
Can the MR please be updated for 10.1
Since this is purely dealing with tests not sure it needs the needs tests tag.
Comment #27
quietone commentedIgnore the changes to the MR.
The patch in #23 is a correct reroll so let's just continue with that. I have started tests on 11.x
Comment #28
smustgrave commentedSeems #23 is all green for 11.x so should be ready.
Comment #29
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #30
quietone commentedRebased MR2329 onto 11.x
Comment #31
quietone commentedComment #33
smustgrave commentedApplied a small suggestion but rebase seems good!
Comment #34
alexpottFixing issue credit.
Comment #35
alexpottCommitted and pushed 467483f to 11.x and 1cfb8f67f6 to 10.3.x and 5fcff92502 to 10.2.x. Thanks!
Backported to 10.2.x to keep tests aligned.
Comment #40
alexpottThis broken 10.2.x because the messages were slightly different. Reverted from there.