Skip to content
Snippets Groups Projects

Issue #3316721: Add script to convert this module into a core merge request

Merged Issue #3316721: Add script to convert this module into a core merge request
2 unresolved threads
2 unresolved threads
+ 2
3
@@ -68,6 +68,7 @@ class Converter {
'.gitignore',
'DEVELOPING.md',
'scripts',
'dictionary.txt',
];
$removals = array_map(function ($path) use ($core_module_path) {
return "$core_module_path/$path";
@@ -98,7 +99,6 @@ class Converter {
self::info('Ran core checks');
static::makeCommit($core_dir);
self::info('Make commit');
// @todo Commit with the specific commit from contrib.
self::info("Done. Probably good but you should check before you push.");
}
@@ -259,8 +259,7 @@ class Converter {
* The core merge request branch.
*/
private static function switchToBranches(string $core_dir, string $core_branch): void {
// @todo Don't switch while developing this script. Uncomment before commit.
// static::switchToBranch('8.x-2.x');
static::switchToBranch('8.x-2.x');
chdir($core_dir);
static::switchToBranch($core_branch);
}
Loading