Closed (fixed)
Project:
Drupal core
Version:
10.1.x-dev
Component:
tour.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Apr 2022 at 21:50 UTC
Updated:
9 Sep 2023 at 02:03 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
jesse van de water commentedComment #4
jesse van de water commentedComment #5
smustgrave commentedThe last patch doesn't pass commit checks, could you make sure to run
./core/scripts/dev/commit-code-check.shbefore uploading a patch to make sure there are no issues with code formatting. see https://www.drupal.org/docs/develop/development-tools/running-core-devel...Comment #6
ankitsingh0188Comment #7
ankitsingh0188Comment #8
ankitsingh0188Comment #9
smustgrave commentedPlease include interdiffs with your patches. fyi
Comment #10
ankitsingh0188Comment #11
ankitsingh0188Comment #12
ankitsingh0188Comment #13
smustgrave commentedFyi you should include interdiffs for all your patches. No easy way to tell what's changed between your patches thus delaying this.
Also the patch names should be updated for the comment
Failures in the patch in #11 so moving to NW.
Comment #14
ankitsingh0188All the patches are same, only the difference of the relative file path as patch was failed to apply earlier. I have included the interdiff in #10
Additionally the patches are failing in #11 but I ran the test again and it successfully passed.
If you see the error you’ll get to know due to date mismatch test failed just because after 12 midnight the day changes.
Comment #15
ankitsingh0188Comment #16
ankitsingh0188Comment #17
rinku jacob 13 commentedReviewed patch #15 on drupal version -10.0.x-dev. The patch was successfully applied and removed TourTipPluginInterface file and Moved all methods from TourTipPluginInterface to TipPluginInterface. Need RTBC+1.
Comment #18
ankitsingh0188Good to move to RTBC.
Comment #19
catchThis needs an additional person to RTBC it.
Comment #20
ankitsingh0188Comment #21
murilohp commentedThe ideal here would be deprecate this interface instead of remove it directly. You can do something like:
It also needs tests for the deprecation part, for that you can do something like:
That's it, I'm moving this back to NW, for the deprecation part, tests and the change record.
Comment #22
ankitsingh0188Comment #23
ankitsingh0188Interdiff is same as mentioned in #22
Comment #24
ankitsingh0188Comment #25
smustgrave commentedTests and Change record
Comment #26
ankitsingh0188@smustgrave what changes exactly can you please elaborate?
Comment #27
smustgrave commentedRemoving tests tag. Would also help to put a comment of what you are doing between patches in addition to an interdiff, to quickly see you added tests.
Still needs a change record, which would then need to be added to the patch.
Did not do a code review.
Comment #28
ankitsingh0188@smustgrave Still needs a change record, which would then need to be added to the patch. -> Please help me with this I have added the tests and refactor the whole interface also, if there's anything else missing please let me know.
Comment #29
murilohp commentedHey @ankitsingh0188, you can check more about CR in: https://www.drupal.org/community/contributor-guide/task/write-a-change-r..., and please, do not remove the tag without creating it.
Anyway, I've updated the patch with the new CR, removed the unnecessary implements. Moving back to NR
Comment #30
ankitsingh0188Hi @murilohp
it's better if you add the interdiff between #24 & #29 because in interdiff we generally include the comment number and as per your interdiff it's between #6 & #29
interdiff old.patch new.patch > interdiff_[old_comment_number]-[new_comment_number].txtComment #31
ankitsingh0188Comment #32
murilohp commentedThanks for the review! The interdiff is actually from #24, but since the name of patch was
3276336-6.patch, I've named the interdiff accordingly.Here's a new interdiff between #24 and #29 renamed.
Comment #33
murilohp commentedComment #34
jonathanshawCan @inheritDoc
I think this should be Implement not Implements
NW for minor fixes, otherwise RTBC.
Comment #35
ankitsingh0188I have updated the patch as per #34.
Comment #36
ankitsingh0188Comment #38
ankitsingh0188Comment #39
ankitsingh0188Comment #40
murilohp commentedI was reviewing #38 and #34 was addreses, the patch looks and it's applying, so for me it's RTBC now.
Comment #42
catchI was looking at the two plugins that remove the interface and wondering whether they need to continue implementing it in case someone was using it as a type hint, but no one should be type hinting plugin implementations like that especially on an interface that not all plugins of that type implement anyway, so it's fine.
Committed/pushed to 10.1.x, thanks!
Comment #44
quietone commentedPublished the CR