- Assigned to phenaproxima
- Status changed to Needs review
almost 2 years ago 1:58pm 18 January 2023 - ๐ฎ๐ณIndia yash.rode pune
yash.rode โ made their first commit to this issueโs fork.
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
This also blocks ๐ Allow Validators/Excluders to store info on an individual stage use.. Closed: outdated โ see #3328985-11: [PP-1] Allow Validators/Excluders to store info on an individual stage use.. โ .
- Issue was unassigned.
- Status changed to Needs work
almost 2 years ago 3:48pm 31 January 2023 - ๐บ๐ธUnited States tedbow Ithaca, NY, USA
We need to figure out the test failures. Unassigning from myself if somebody else wants to give that a try
- Assigned to omkar.podey
- ๐ฎ๐ณIndia omkar.podey
The two test failures remaining
- The first in
Tests\automatic_updates\Functional\UpdaterFormTest
is caused because ofCall to undefined method Drupal\package_manager_bypass\Beginner::destroy()
the error causing line was added by @wim.leers in the code for cleanup but seems to be deleted now, so does the code need to be restored or refactored to not use this? -
The second is in
Kernel\StatusCheck\ScaffoldFilePermissionsValidatorTest
which is caused byDrupal\package_manager\Exception\ApplyFailedException
i think it is because the Exception is not caught and re thrown as astageEventException
and we are expecting that and that's why it fails, but i'm not sure where we should do it as only a call todispatch()
inStage.php
is doing that for now (the re throwing).
- The first in
- Assigned to tedbow
- Status changed to Needs review
almost 2 years ago 12:14pm 3 February 2023 - ๐ฎ๐ณIndia omkar.podey
Yep i was talking about
/automatic_updates/tests/src/Functional/UpdaterFormTest.php:482
- Assigned to omkar.podey
- Status changed to Needs work
almost 2 years ago 12:43pm 3 February 2023 - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Thanks!
๐ Explore simplifying our fixture manipulation classes Fixed deleted
Beginner::destroy()
. It looks like that was not correctly merged into this MR! So I think you can quite easily address that #15.1 ๐ - ๐ฎ๐ณIndia omkar.podey
Assigning to @ted.bowman for #15.2 ๐ Refactor exception architecture Fixed
- Assigned to tedbow
- ๐บ๐ธUnited States tedbow Ithaca, NY, USA
We can continue working on this but I think it should land in 3.x not 2.x see ๐ฑ Tag 8.x-2.7, and move development to new 3.x branch to focus on Core inclusion Fixed for reasons
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Based on #22 โฆ which means this is making ๐ Unhandled Composer Stager exceptions leave the update process in an indeterminate state Fixed more blocked.
- Status changed to Postponed
almost 2 years ago 1:15pm 13 February 2023 - Status changed to Active
almost 2 years ago 1:01pm 15 February 2023 - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
And the title can now omit that prefix too ๐
- Assigned to omkar.podey
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
The
3.0.x
branch is open, let's continue this!@omkar.podey, could you please open a MR that applies to
3.0.x
? ๐ - @omkarpodey opened merge request.
- Assigned to wim leers
- Status changed to Needs review
almost 2 years ago 6:53am 21 February 2023 - Assigned to tedbow
- Status changed to Needs work
almost 2 years ago 12:32pm 21 February 2023 - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Well done!
Differences between old and new MR:
- The original MR is
+297, -646
, the new one is+297, -595
. That's because since the original MR new validators have been added whose tests also need to be updated (for examplepackage_manager/tests/src/Kernel/ComposerPatchesValidatorTest.php
). - I spotted a few small problems: some
use
statements should have been removed and were removed in the original MR, but not anymore in the new one. Fixed that. ScaffoldFilePermissionsValidatorTest
is now correctly handlingApplyFailedException
๐\Drupal\Tests\automatic_updates\Kernel\UpdaterTest::testCommitException()
is no longer being removed; @tedbow had originally removed this. But โฆ AFAICT it's sensible to keep this, so ๐- A clear remaining missing piece: documentation. Both a change record and
package_manager.api.php
updates are still missing.
I also spotted that @tedbow had left 2 detailed, thoughtful comments with observations/questions/suggestions on the old MR. I quoted those into the new MR and responded to them in detail.
- The original MR is
- Status changed to Needs review
over 1 year ago 7:55am 23 February 2023 - Assigned to wim leers
- Status changed to Needs work
over 1 year ago 1:29pm 23 February 2023 - ๐บ๐ธUnited States tedbow Ithaca, NY, USA
@Wim Leers I closed out all issues except one on the MR. In that issue I just accepted one of you suggestions for a class name.
Let me know if you need anything else
- Assigned to omkar.podey
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Nope, I don't! ๐
I'll let @omkar.podey handle that last bit, since he worked on this before โ I've just been a reviewer on this issue really ๐
Given that we're in the final phase here and @tedbow is still on board, removing the tag, despite the summary still saying โฆ ๐
- Assigned to wim leers
- Status changed to Needs review
over 1 year ago 12:56pm 27 February 2023 - Assigned to omkar.podey
- Status changed to Needs work
over 1 year ago 1:44pm 27 February 2023 - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
๐
Looking good now, with the exception of a single trivial remark: make
StageException::$stage
public readonly
, just like โจ Make StageEvent::$stage a public readonly property, and remove getStage() Fixed did a ~week ago ๐ (i.e. long after that code was written for this MR.)Also:
+341, -640
๐
Only things left:
- change record
- update for
package_manager.api.php
So: 99% done!
- Assigned to wim leers
- Status changed to Needs review
over 1 year ago 11:59am 28 February 2023 - Issue was unassigned.
- Status changed to RTBC
over 1 year ago 1:53pm 28 February 2023 - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
- Thanks for the change record looks good, just added refinements ๐
- The documentation updates are extremely minimal, but that's because apparently
ApplyFailedException
is not at all documented yet โ out of scope here โ adding to scope of ๐ Define the Package Manager API (package_manager.api.php is outdated) Fixed . - Found one last thing that could use
public readonly
just like I spotted in #38, but โฆ I'll let the committer decide, and I left a suggestion the reviewing committer can apply to make that happen ๐
Let's get this across the finish line! ๐
- Status changed to Needs work
over 1 year ago 2:36pm 28 February 2023 - ๐บ๐ธUnited States phenaproxima Massachusetts
This is a partial review. I think I would like final review from @tedbow...
- Assigned to omkar.podey
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Just applied the suggestion I had mentioned in #43, since @phenaproxima made similar remarks. (After checking that he +1'd it.) That allowed me to close 3 threads (1 of mine, 2 of his).
This will cause tests to fail, because some
->getEvent()
occurrences will need to change to->event
. I'll leave that (as well as @phenaproxima's other feedback) to @omkar.podey to solve ๐ - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
I'm really glad @phenaproxima is pointing out gaps in the docs in his review! ๐
- Assigned to wim leers
- Status changed to Needs review
over 1 year ago 10:21am 1 March 2023 - Assigned to omkar.podey
- Status changed to Needs work
over 1 year ago 11:44am 1 March 2023 - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Docs have been updated ๐
But one piece of @phenaproxima's feedback has not yet been addressed: https://git.drupalcode.org/project/automatic_updates/-/merge_requests/71...
โฆ and then in re-checking that, I spotted what I think is a bug ๐๐
- Assigned to wim leers
- Status changed to Needs review
over 1 year ago 1:46pm 1 March 2023 - Assigned to phenaproxima
- Status changed to RTBC
over 1 year ago 2:45pm 1 March 2023 - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Let's see if @phenaproxima can spot something else โ I can't! ๐ค๐
- Status changed to Needs work
over 1 year ago 5:16pm 1 March 2023 - ๐บ๐ธUnited States phenaproxima Massachusetts
Found a few small things.
However...the word "epic" is often overused with regard to the code changes being done in any particular merge request, but in this case, it's TRULY epic. 39 changed files, hundreds of lines removed, and so many bad, confusing decisions undone. I can't wait to merge this. ๐
- Issue was unassigned.
- ๐บ๐ธUnited States phenaproxima Massachusetts
Where I'm leaving this:
There are three things that need to be clarified. A couple just need a comment, and one should probably be lightly refactored to avoid serious confusion down the line.
Beyond that, I think this is good to go. I made a few changes in CronUpdaterTest and PackageManagerKernelTestBase to remove repetition, but nothing too disruptive.
- Assigned to phenaproxima
- Status changed to Needs review
over 1 year ago 1:34pm 2 March 2023 - ๐ฎ๐ณIndia omkar.podey
I have tried to answer your questions @phenaproxima, back to you
- Issue was unassigned.
- ๐บ๐ธUnited States phenaproxima Massachusetts
My work is done here. I'll commit when someone re-RTBCs ๐ข
- Status changed to RTBC
over 1 year ago 2:41pm 2 March 2023 - ๐ฎ๐ณIndia omkar.podey
Thanks all the work everyone , thanks for all the reviews too, finally ๐ ๐ข
-
phenaproxima โ
committed fecea9b3 on 3.0.x authored by
omkar.podey โ
Issue #3331355 by omkar.podey, tedbow, phenaproxima, Wim Leers, yash....
-
phenaproxima โ
committed fecea9b3 on 3.0.x authored by
omkar.podey โ
- Status changed to Fixed
over 1 year ago 2:45pm 2 March 2023 - ๐บ๐ธUnited States phenaproxima Massachusetts
FINALLY!!!
So good to have this done. ๐ ๐ค ๐คฉ ๐ข
Automatically closed - issue fixed for 2 weeks with no activity.