Issue #3409491 add composer dependencies in conversion script
Merged
requested to merge issue/automatic_updates-3409491:3409491-convert-composer-dependencies into 3.0.x
Compare changes
Files
2@@ -5,6 +5,11 @@ declare(strict_types = 1);
@@ -5,6 +5,11 @@ declare(strict_types = 1);
@@ -20,9 +25,114 @@ use Symfony\Component\Filesystem\Filesystem;
@@ -20,9 +25,114 @@ use Symfony\Component\Filesystem\Filesystem;
@@ -36,36 +146,15 @@ class Converter {
@@ -36,36 +146,15 @@ class Converter {
throw new \Exception("This scripts 3 required arguments: a directory that is a core clone and the branch and to convert either package_manager or automatic_updates.\nIt has 1 optional arguments: the branch of this module to use which defaults to 3.0.x");
default => throw new \UnexpectedValueException("The 3nd argument must be package_manager or automatic_updates"),
@@ -93,10 +182,10 @@ class Converter {
@@ -93,10 +182,10 @@ class Converter {
@@ -135,36 +224,39 @@ class Converter {
@@ -135,36 +224,39 @@ class Converter {
self::info("Done. Probably good but you should check before you push. These are the files present in the contrib module absent in core:");
print shell_exec(sprintf("tree %s/package_manager > /tmp/contrib.txt && tree %s/core/modules/package_manager > /tmp/core.txt && diff /tmp/contrib.txt /tmp/core.txt", self::getContribDir(), $core_dir));
@@ -344,7 +436,7 @@ class Converter {
@@ -344,7 +436,7 @@ class Converter {
@@ -546,4 +638,9 @@ class Converter {
@@ -546,4 +638,9 @@ class Converter {