- Issue created by @nicxvan
- Status changed to Needs review
8 months ago 11:50pm 19 June 2024 - Status changed to Needs work
8 months ago 2:47am 20 June 2024 The Needs Review Queue Bot โ tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily 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.
- Status changed to Needs review
8 months ago 2:53am 20 June 2024 - ๐บ๐ธUnited States smustgrave
Do we need to get the default_config_hash keys in the config?
- ๐บ๐ธUnited States nicxvan
I think that's a valid question, but since this is a security issue should that be a followup since this is just exporting the tars as is?
The only config change I did was add a missing newline so the validation would work.
I'm not sure how to scope security issues.
- ๐บ๐ธUnited States smustgrave
That I cannot answer unfortunately. But +1 for breaking out though
- Status changed to RTBC
8 months ago 2:14pm 1 July 2024 - ๐บ๐ธUnited States smustgrave
Will go ahead and mark to keep this training moving because I do believe breaking out makes a lot of sense.
The default hash is my only concern
- ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
Yes we do need to keep the default config hash - these are exports from real sites and so would be there.
- Status changed to Needs work
8 months ago 2:10pm 7 July 2024 - ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
Added a comment to the MR... we need to think about contrib and custom that are using the abstract class. The MR comment contains a plan on how to cope with that.
- Status changed to Needs review
8 months ago 4:06pm 8 July 2024 - ๐บ๐ธUnited States nicxvan
Is there any chance I can just deprecate the method getConfigTarball and add getConfigLocation.
Creating the new class and swapping things over should be straightforward, but almost every test using it is breaking now even though it's an exact copy of the previous version of the MR. The only change is I had to add a default theme.
- ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
@nicxvan the PHPStan warnings a bogus - we need to file an MR to fix \mglaman\PHPStanDrupal\Rules\Drupal\Tests\BrowserTestBaseDefaultThemeRule against that project. I'm really not a huge fan of that rule - testing tests is OTT in my opinion - especially when if you run the test it will tell you it is missing a default theme. Anyway... the quick fix here is to change the baseline and move on.
The reason tests are failing is because you extended the wrong class :) - fixed in my push.
- ๐บ๐ธUnited States nicxvan
Ah, I knew I was missing something obvious on the tests.
I already filed an issue against drupal phpstan for mglaman.
Tests are now passing thanks!
- Status changed to RTBC
8 months ago 2:59pm 9 July 2024 - ๐บ๐ธUnited States smustgrave
Seems feedback has been addressed.
CR reads well, always appreciate the before/after code examples.
- ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
-
alexpott โ
committed fb01ccae on 10.4.x
Issue #3455820 by nicxvan, alexpott, smustgrave: Decompress files for...
-
alexpott โ
committed fb01ccae on 10.4.x
-
alexpott โ
committed cb746fd1 on 11.0.x
Issue #3455820 by nicxvan, alexpott, smustgrave: Decompress files for...
-
alexpott โ
committed cb746fd1 on 11.0.x
- Status changed to Fixed
8 months ago 5:09pm 9 July 2024 -
alexpott โ
committed 04261575 on 11.x
Issue #3455820 by nicxvan, alexpott, smustgrave: Decompress files for...
-
alexpott โ
committed 04261575 on 11.x
- ๐ท๐ดRomania claudiu.cristea Arad ๐ท๐ด
OMG, I cannot believe we've dropped this. Thank you
- ๐บ๐ธUnited States xjm
Sorry for noise; somehow either commenting about the CR or closing the MR ended up crediting me for this issue which is not correct. ๐ Fixed now.
Automatically closed - issue fixed for 2 weeks with no activity.