Public Access
chore: complete namespace cleanup — remove all mokoplatform/MokoStandards/MokoEnterprise refs
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 16s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 16s
Sweep 391 files across templates, workflows, MCP servers, CLI tools, lib, deploy, validate, wrappers, configs, and docs. All references to mokoplatform, moko-platform, MokoStandards, MokoStandards-API, and MokoEnterprise replaced with mokocli/MokoCli. Also renamed moko-platform.sublime-project → mokocli.sublime-project and fixed composer.json description.
This commit is contained in:
@@ -8,9 +8,9 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: mokoplatform.CLI
|
||||
* INGROUP: mokoplatform
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/mokoplatform
|
||||
* DEFGROUP: mokocli.CLI
|
||||
* INGROUP: mokocli
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/mokocli
|
||||
* PATH: /cli/create_project.php
|
||||
* BRIEF: Create baseline GitHub Projects for repositories with standard fields and views
|
||||
*/
|
||||
@@ -24,7 +24,7 @@ use MokoCli\CliFramework;
|
||||
class CreateProjectCli extends CliFramework
|
||||
{
|
||||
/** @var string[] */
|
||||
private array $ALWAYS_EXCLUDE = ['mokoplatform', '.github-private'];
|
||||
private array $ALWAYS_EXCLUDE = ['mokocli', '.github-private'];
|
||||
|
||||
/** @var array<string, string> */
|
||||
private array $PLATFORM_TO_TYPE = [
|
||||
@@ -183,7 +183,7 @@ class CreateProjectCli extends CliFramework
|
||||
CURLOPT_HTTPHEADER => [
|
||||
'Authorization: bearer ' . $token,
|
||||
'Content-Type: application/json',
|
||||
'User-Agent: mokoplatform-CreateProject',
|
||||
'User-Agent: mokocli-CreateProject',
|
||||
],
|
||||
]);
|
||||
$body = (string) curl_exec($ch);
|
||||
@@ -422,14 +422,14 @@ class CreateProjectCli extends CliFramework
|
||||
updateProjectV2(input: {
|
||||
projectId: $projectId,
|
||||
shortDescription: $shortDescription,
|
||||
readme: "Managed by mokoplatform. Run `php cli/create_project.php` to regenerate."
|
||||
readme: "Managed by mokocli. Run `php cli/create_project.php` to regenerate."
|
||||
}) {
|
||||
projectV2 { id }
|
||||
}
|
||||
}',
|
||||
[
|
||||
'projectId' => $projectId,
|
||||
'shortDescription' => "Standard project board for {$repo}. Auto-created by mokoplatform.",
|
||||
'shortDescription' => "Standard project board for {$repo}. Auto-created by mokocli.",
|
||||
],
|
||||
$token
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user