feat: migrate to Gitea-only workflows and API
This commit is contained in:
@@ -48,7 +48,7 @@ use MokoEnterprise\{
|
||||
*/
|
||||
class BulkJoomlaTemplate extends CLIApp
|
||||
{
|
||||
public const DEFAULT_ORG = 'mokoconsulting-tech';
|
||||
public const DEFAULT_ORG = 'MokoConsulting';
|
||||
public const VERSION = '04.06.10';
|
||||
|
||||
private GitPlatformAdapter $adapter;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Automation
|
||||
* INGROUP: MokoStandards.Scripts
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /automation/bulk_sync.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise-grade bulk repository synchronization
|
||||
@@ -51,7 +51,7 @@ class BulkSync extends CLIApp
|
||||
* Default organization for bulk sync operations
|
||||
* Public to allow script instantiation with class constants
|
||||
*/
|
||||
public const DEFAULT_ORG = 'mokoconsulting-tech';
|
||||
public const DEFAULT_ORG = 'MokoConsulting';
|
||||
|
||||
/**
|
||||
* Script version number
|
||||
@@ -79,7 +79,7 @@ class BulkSync extends CLIApp
|
||||
protected function setupArguments(): array
|
||||
{
|
||||
return [
|
||||
'org:' => 'GitHub organization (default: mokoconsulting-tech)',
|
||||
'org:' => 'GitHub organization (default: MokoConsulting)',
|
||||
'repos:' => 'Specific repositories to sync (space-separated)',
|
||||
'exclude:' => 'Repositories to exclude (space-separated)',
|
||||
'skip-archived' => 'Skip archived repositories',
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Automation
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /automation/migrate_to_gitea.php
|
||||
* VERSION: 04.06.10
|
||||
* BRIEF: Migrate repositories from GitHub to self-hosted Gitea instance
|
||||
@@ -85,8 +85,8 @@ class MigrateToGitea extends CliFramework
|
||||
}
|
||||
|
||||
$this->checkpoints = new CheckpointManager('.checkpoints/migration');
|
||||
$org = $config->getString('github.organization', 'mokoconsulting-tech');
|
||||
$giteaOrg = $config->getString('gitea.organization', 'mokoconsulting-tech');
|
||||
$org = $config->getString('github.organization', 'MokoConsulting');
|
||||
$giteaOrg = $config->getString('gitea.organization', 'MokoConsulting');
|
||||
|
||||
echo "=== Gitea Migration Tool ===\n";
|
||||
echo "Source: GitHub ({$org})\n";
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Automation
|
||||
* INGROUP: MokoStandards.Scripts
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /automation/push_files.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Push one or more specific files to one or more remote repositories
|
||||
@@ -53,7 +53,7 @@ use MokoEnterprise\{
|
||||
*/
|
||||
class PushFiles extends CLIApp
|
||||
{
|
||||
public const DEFAULT_ORG = 'mokoconsulting-tech';
|
||||
public const DEFAULT_ORG = 'MokoConsulting';
|
||||
public const VERSION = '04.06.00';
|
||||
|
||||
private ApiClient $api;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Automation
|
||||
* INGROUP: MokoStandards.Scripts
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /automation/repo_cleanup.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise repository cleanup — branches, PRs, issues, workflows, labels, logs
|
||||
@@ -69,7 +69,7 @@ class RepoCleanup extends CLIApp
|
||||
$this->setDescription('Enterprise repository cleanup — branches, PRs, issues, workflows, labels, logs');
|
||||
$this->setVersion(self::VERSION);
|
||||
|
||||
$this->addOption('org', 'GitHub organization', 'mokoconsulting-tech');
|
||||
$this->addOption('org', 'GitHub organization', 'MokoConsulting');
|
||||
$this->addOption('repos', 'Specific repositories (space-separated)', '');
|
||||
$this->addOption('skip-archived', 'Skip archived repositories', false);
|
||||
$this->addOption('close-issues', 'Close resolved tracking issues (merged PR = done)', false);
|
||||
@@ -91,7 +91,7 @@ class RepoCleanup extends CLIApp
|
||||
protected function execute(): int
|
||||
{
|
||||
$this->startTime = microtime(true);
|
||||
$org = $this->getOption('org', 'mokoconsulting-tech');
|
||||
$org = $this->getOption('org', 'MokoConsulting');
|
||||
$this->dryRun = (bool) $this->getOption('dry-run', false);
|
||||
$runAll = (bool) $this->getOption('all', false);
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.CLI
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /cli/archive_repo.php
|
||||
* VERSION: 04.06.10
|
||||
* BRIEF: Gracefully retire a governed repository — archive, close issues/PRs, remove sync def
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.CLI
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /cli/create_project.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Create baseline GitHub Projects for repositories with standard fields and views
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.CLI
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /cli/create_repo.php
|
||||
* VERSION: 04.06.10
|
||||
* BRIEF: Scaffold a new governed repository with full MokoStandards baseline
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.CLI
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /cli/joomla_release.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Joomla release pipeline — build ZIP+tar.gz, upload to GitHub Release, update updates.xml
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.CLI
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /cli/platform_detect.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Detect platform from .mokostandards file — outputs platform string
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.CLI
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /cli/release.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Automate the MokoStandards version branch release flow
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.CLI
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /cli/release_notes.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Extract release notes from CHANGELOG.md for a given version
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.CLI
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /cli/sync_rulesets.php
|
||||
* VERSION: 04.06.10
|
||||
* BRIEF: Apply branch protection rules to all repos via platform adapter
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.CLI
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /cli/version_bump.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Auto-increment patch version in README.md — outputs old → new
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.CLI
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /cli/version_read.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Read VERSION from README.md — outputs just the version string
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.CLI
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /cli/version_set_platform.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Set version in platform-specific files (Dolibarr $this->version, Joomla <version>)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Deploy
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /deploy/deploy-joomla.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Smart Joomla deploy — routes files to correct Joomla directories based on XML manifest
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Deploy
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /deploy/deploy-sftp.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Deploy a repository src/ directory to a remote web server via SFTP
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Fix
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /fix/fix_line_endings.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: CLI script to fix line endings (CRLF → LF) in tracked files
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Fix
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /fix/fix_permissions.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: CLI script to fix file permissions (dirs 755, files 644, scripts 755)
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Fix
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /fix/fix_tabs.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: CLI script to convert tabs to spaces in tracked source files
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Fix
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /fix/fix_trailing_spaces.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: CLI script to remove trailing whitespace from tracked source files
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Lib
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/CliBase.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Standalone base CLI class for api/ scripts that do not use CliFramework
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Lib
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Common.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Common utility functions for api/ scripts
|
||||
@@ -33,7 +33,7 @@ class Common
|
||||
const FALLBACK_VERSION = '04.00.00';
|
||||
|
||||
const REPO_URL = 'https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API';
|
||||
const REPO_URL_GITHUB = 'https://github.com/mokoconsulting-tech/MokoStandards';
|
||||
const REPO_URL_GITHUB = 'https://git.mokoconsulting.tech/MokoConsulting/MokoStandards';
|
||||
const COPYRIGHT = 'Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>';
|
||||
const LICENSE = 'GPL-3.0-or-later';
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.CLI
|
||||
* INGROUP: MokoStandards.Enterprise
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/CliFramework.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: CLI base classes — CliFramework (current) and CLIApp (legacy)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/DefinitionParser.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Parses Terraform HCL repository definition files into a flat sync-file list
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/EnterpriseReadinessValidator.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise readiness validation library
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise
|
||||
* INGROUP: MokoStandards.Lib
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/FileFixUtility.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Utility class for fixing file formatting issues (line endings, permissions, tabs, trailing spaces)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.Platform
|
||||
* INGROUP: MokoStandards.Enterprise
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/GitHubAdapter.php
|
||||
* VERSION: 04.06.10
|
||||
* BRIEF: GitHub implementation of GitPlatformAdapter
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.Platform
|
||||
* INGROUP: MokoStandards.Enterprise
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/GitPlatformAdapter.php
|
||||
* VERSION: 04.06.10
|
||||
* BRIEF: Interface defining all git platform operations for GitHub/Gitea abstraction
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.Platform
|
||||
* INGROUP: MokoStandards.Enterprise
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/GiteaAdapter.php
|
||||
* VERSION: 04.06.10
|
||||
* BRIEF: Gitea implementation of GitPlatformAdapter
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise
|
||||
* INGROUP: MokoStandards.Lib
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/PackageBuilder.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Builds release packages for generic, Dolibarr module, and Joomla component projects
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.Platform
|
||||
* INGROUP: MokoStandards.Enterprise
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/PlatformAdapterFactory.php
|
||||
* VERSION: 04.06.10
|
||||
* BRIEF: Factory for creating platform-specific GitPlatformAdapter instances
|
||||
@@ -74,7 +74,7 @@ class PlatformAdapterFactory
|
||||
}
|
||||
|
||||
$apiClient = new ApiClient(
|
||||
baseUrl: 'https://api.github.com',
|
||||
baseUrl: 'https://git.mokoconsulting.tech/api/v1',
|
||||
authToken: $token,
|
||||
maxRequestsPerHour: $config->getInt('github.rate_limit', 5000),
|
||||
maxRetries: $config->getInt('github.max_retries', 3),
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.Plugins
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/Plugins/ApiPlugin.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise plugin for API/Microservices projects
|
||||
@@ -288,7 +288,7 @@ class ApiPlugin extends AbstractProjectPlugin
|
||||
'docker-compose.yml',
|
||||
'kubernetes/*.yaml',
|
||||
'tests/ or test/',
|
||||
'.github/workflows/* or .gitea/workflows/* or .gitlab-ci.yml',
|
||||
'.gitea/workflows/* or .gitea/workflows/* or .gitlab-ci.yml',
|
||||
'middleware/ or middlewares/',
|
||||
];
|
||||
}
|
||||
@@ -674,7 +674,7 @@ class ApiPlugin extends AbstractProjectPlugin
|
||||
*/
|
||||
private function hasCICD(string $projectPath): bool
|
||||
{
|
||||
return $this->fileExists($projectPath, '.github/workflows') ||
|
||||
return $this->fileExists($projectPath, '.gitea/workflows') ||
|
||||
$this->fileExists($projectPath, '.gitea/workflows') ||
|
||||
$this->fileExists($projectPath, '.gitlab-ci.yml') ||
|
||||
$this->fileExists($projectPath, 'Jenkinsfile') ||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.Plugins
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/Plugins/DocumentationPlugin.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise plugin for documentation projects
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.Plugins
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/Plugins/DolibarrPlugin.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise plugin for Dolibarr modules
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.Plugins
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/Plugins/GenericPlugin.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise plugin for generic projects
|
||||
@@ -74,7 +74,7 @@ class GenericPlugin extends AbstractProjectPlugin
|
||||
}
|
||||
|
||||
// Check for CI/CD configuration
|
||||
$hasCICD = $this->fileExists($projectPath, '.github/workflows') ||
|
||||
$hasCICD = $this->fileExists($projectPath, '.gitea/workflows') ||
|
||||
$this->fileExists($projectPath, '.gitea/workflows') ||
|
||||
$this->fileExists($projectPath, '.gitlab-ci.yml') ||
|
||||
$this->fileExists($projectPath, '.travis.yml') ||
|
||||
@@ -276,7 +276,7 @@ class GenericPlugin extends AbstractProjectPlugin
|
||||
'CONTRIBUTING.md',
|
||||
'CODE_OF_CONDUCT.md',
|
||||
'SECURITY.md',
|
||||
'.github/workflows/* or .gitea/workflows/* or .gitlab-ci.yml',
|
||||
'.gitea/workflows/* or .gitea/workflows/* or .gitlab-ci.yml',
|
||||
'docs/ or documentation/',
|
||||
'tests/ or test/',
|
||||
];
|
||||
@@ -360,7 +360,7 @@ class GenericPlugin extends AbstractProjectPlugin
|
||||
*/
|
||||
private function hasCICD(string $projectPath): bool
|
||||
{
|
||||
return $this->fileExists($projectPath, '.github/workflows') ||
|
||||
return $this->fileExists($projectPath, '.gitea/workflows') ||
|
||||
$this->fileExists($projectPath, '.gitea/workflows') ||
|
||||
$this->fileExists($projectPath, '.gitlab-ci.yml') ||
|
||||
$this->fileExists($projectPath, '.travis.yml') ||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.Plugins
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/Plugins/JoomlaPlugin.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise plugin for Joomla projects
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.Plugins
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/Plugins/MobilePlugin.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise plugin for mobile app projects
|
||||
@@ -338,7 +338,7 @@ class MobilePlugin extends AbstractProjectPlugin
|
||||
'App icons for all required sizes',
|
||||
'Splash screen assets',
|
||||
'tests/ or __tests__/',
|
||||
'.github/workflows/* or .gitea/workflows/* or fastlane/',
|
||||
'.gitea/workflows/* or .gitea/workflows/* or fastlane/',
|
||||
'React Native: metro.config.js',
|
||||
'Flutter: analysis_options.yaml',
|
||||
'iOS: Podfile',
|
||||
@@ -543,7 +543,7 @@ class MobilePlugin extends AbstractProjectPlugin
|
||||
*/
|
||||
private function hasCICD(string $projectPath): bool
|
||||
{
|
||||
return $this->fileExists($projectPath, '.github/workflows') ||
|
||||
return $this->fileExists($projectPath, '.gitea/workflows') ||
|
||||
$this->fileExists($projectPath, '.gitea/workflows') ||
|
||||
$this->fileExists($projectPath, '.gitlab-ci.yml') ||
|
||||
$this->fileExists($projectPath, 'fastlane') ||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.Plugins
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/Plugins/NodeJsPlugin.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise plugin for Node.js/TypeScript projects
|
||||
@@ -315,7 +315,7 @@ class NodeJsPlugin extends AbstractProjectPlugin
|
||||
'.nvmrc or .node-version',
|
||||
'.editorconfig',
|
||||
'jest.config.js or vitest.config.js',
|
||||
'.github/workflows/* or .gitea/workflows/* or .gitlab-ci.yml',
|
||||
'.gitea/workflows/* or .gitea/workflows/* or .gitlab-ci.yml',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -512,7 +512,7 @@ class NodeJsPlugin extends AbstractProjectPlugin
|
||||
*/
|
||||
private function hasCICD(string $projectPath): bool
|
||||
{
|
||||
return $this->fileExists($projectPath, '.github/workflows') ||
|
||||
return $this->fileExists($projectPath, '.gitea/workflows') ||
|
||||
$this->fileExists($projectPath, '.gitea/workflows') ||
|
||||
$this->fileExists($projectPath, '.gitlab-ci.yml') ||
|
||||
$this->fileExists($projectPath, '.travis.yml') ||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.Plugins
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/Plugins/PythonPlugin.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise plugin for Python projects
|
||||
@@ -324,7 +324,7 @@ class PythonPlugin extends AbstractProjectPlugin
|
||||
'pytest.ini or pyproject.toml',
|
||||
'.python-version or .tool-versions',
|
||||
'Dockerfile',
|
||||
'.github/workflows/* or .gitea/workflows/* or .gitlab-ci.yml',
|
||||
'.gitea/workflows/* or .gitea/workflows/* or .gitlab-ci.yml',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -533,7 +533,7 @@ class PythonPlugin extends AbstractProjectPlugin
|
||||
*/
|
||||
private function hasCICD(string $projectPath): bool
|
||||
{
|
||||
return $this->fileExists($projectPath, '.github/workflows') ||
|
||||
return $this->fileExists($projectPath, '.gitea/workflows') ||
|
||||
$this->fileExists($projectPath, '.gitea/workflows') ||
|
||||
$this->fileExists($projectPath, '.gitlab-ci.yml') ||
|
||||
$this->fileExists($projectPath, '.travis.yml') ||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.Plugins
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/Plugins/TerraformPlugin.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise plugin for Terraform projects
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.Plugins
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/Plugins/WordPressPlugin.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise plugin for WordPress projects
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.ProjectTypes
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/ProjectConfigValidator.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise library for validating project configurations
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.ProjectTypes
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/ProjectMetricsCollector.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise library for collecting project-specific metrics
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise.ProjectTypes
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/ProjectTypeDetector.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise library for detecting project types
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/RepositoryHealthChecker.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Repository health checking enterprise library
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/RepositorySynchronizer.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Repository synchronization enterprise library
|
||||
@@ -65,7 +65,7 @@ class RepositorySynchronizer
|
||||
?GitPlatformAdapter $adapter = null
|
||||
) {
|
||||
$this->apiClient = $apiClient;
|
||||
$this->adapter = $adapter ?? new GitHubAdapter($apiClient);
|
||||
$this->adapter = $adapter ?? new GiteaAdapter($apiClient);
|
||||
$this->logger = $logger;
|
||||
$this->metrics = $metrics;
|
||||
$this->checkpoints = $checkpoints ?? new CheckpointManager('.checkpoints');
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Enterprise
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/Enterprise/SynchronizationException.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Custom exception for repository synchronization errors
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Joomla
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /lib/plugins/Joomla/UpdateXmlGenerator.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Generates and updates Joomla extension updates.xml files
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Maintenance
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /maintenance/pin_action_shas.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Pin GitHub Actions to immutable commit SHAs in workflow files
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Maintenance
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /maintenance/repo_inventory.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Generate a live inventory dashboard of all governed repos as a GitHub issue
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Maintenance
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /maintenance/rotate_secrets.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Audit FTP secrets and variables across all governed repos — report missing or stale
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Maintenance
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /maintenance/setup_labels.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: REQUIRED label deployment script for all MokoStandards-governed repositories
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Maintenance
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /maintenance/sync_dolibarr_readmes.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Keeps root README.md and src/README.md in sync for Dolibarr module repositories
|
||||
@@ -76,7 +76,7 @@ class SyncDolibarrReadmes extends CliFramework
|
||||
$version = $m[1];
|
||||
|
||||
$moduleName = $this->extractModuleName($rootContent, $repoRoot);
|
||||
$repoUrl = $this->extractField($rootContent, 'REPO', 'https://github.com/mokoconsulting-tech');
|
||||
$repoUrl = $this->extractField($rootContent, 'REPO', 'https://git.mokoconsulting.tech/MokoConsulting');
|
||||
$defgroup = $this->extractField($rootContent, 'DEFGROUP', 'MokoStandards.Module');
|
||||
$ingroup = $this->extractField($rootContent, 'INGROUP', 'MokoStandards');
|
||||
$brief = $this->extractField($rootContent, 'BRIEF', "{$moduleName} end-user documentation");
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Maintenance
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /maintenance/update_repo_inventory.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Queries GitHub org repos and rewrites the auto-generated section of REPOSITORY_INVENTORY.md
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Maintenance
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /maintenance/update_sha_hashes.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Update SHA-256 hashes in script registry
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Maintenance
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /maintenance/update_version_from_readme.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Reads VERSION from README.md FILE INFORMATION block and propagates it to all badges and FILE INFORMATION headers
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Plugin
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /plugin_health_check.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Run health checks on a project using the auto-detected or specified plugin
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Plugin
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /plugin_list.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: List all available project-type plugins and their capabilities
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Plugin
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /plugin_metrics.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Collect project metrics using the auto-detected or specified plugin
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Plugin
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /plugin_readiness.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Check release readiness of a project using the auto-detected or specified plugin
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Plugin
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /plugin_validate.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Validate a project's structure and standards using the auto-detected or specified plugin
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Release
|
||||
* INGROUP: MokoStandards.Scripts
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /release/generate_dolibarr_version_txt.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Create or update version.txt on Dolibarr module release
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Release
|
||||
* INGROUP: MokoStandards.Scripts
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /release/generate_joomla_update_xml.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Create or update the <downloadurl> in updates.xml on release
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Templates.Common
|
||||
* INGROUP: MokoStandards.Templates
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /templates/scripts/common/CliBase.template.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: PHP CLI script template — extends MokoEnterprise\CliFramework
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Templates.Scripts.Release
|
||||
* INGROUP: MokoStandards.Templates
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /templates/scripts/release/package_dolibarr.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Build a distributable ZIP package for a Dolibarr module
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Templates.Scripts.Release
|
||||
* INGROUP: MokoStandards.Templates
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /templates/scripts/release/package_joomla.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Build a distributable ZIP package for a Joomla component
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Templates.Scripts.Validate
|
||||
* INGROUP: MokoStandards.Templates
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /templates/scripts/validate/dolibarr_module.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Validate a Dolibarr module repository against MokoStandards requirements
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Templates.Scripts.Validate
|
||||
* INGROUP: MokoStandards.Templates
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /templates/scripts/validate/validate_manifest.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Validate a Joomla component XML manifest against MokoStandards requirements
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Templates.Scripts.Validate
|
||||
* INGROUP: MokoStandards.Templates
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /templates/scripts/validate/validate_structure.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Validate a repository structure against MokoStandards requirements
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Stubs
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /templates/stubs/dolibarr.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: PHPStan stub declarations for Dolibarr core classes
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Stubs
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /templates/stubs/joomla.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: PHPStan stub declarations for Joomla framework classes
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Tests.Enterprise
|
||||
* INGROUP: MokoStandards.Tests
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /tests/Enterprise/GitPlatformAdapterTest.php
|
||||
* VERSION: 04.06.10
|
||||
* BRIEF: Tests verifying both adapters implement GitPlatformAdapter correctly
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/auto_detect_platform.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Automatic platform detection and validation - PHP implementation
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/check_changelog.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Validates CHANGELOG.md structure and format
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/check_composer_deps.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Validate composer.json enterprise dependency across all governed repos
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/check_dolibarr_module.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Validates Dolibarr module directory structure
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/check_enterprise_readiness.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Enterprise readiness checker - PHP implementation
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/check_joomla_manifest.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Validates Joomla XML manifest structure and required elements
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/check_language_structure.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Validates language INI file structure (KEY=value format)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/check_license_headers.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Validates SPDX license headers in source files (advisory)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/check_no_secrets.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Checks for potential secrets in committed files (advisory)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/check_paths.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Validates that path separators use forward slashes (advisory)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/check_php_syntax.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Validates PHP syntax for all tracked PHP files using php -l
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/check_repo_health.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Repository health checker - PHP implementation; includes deployment, secrets, and variables checks
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/check_structure.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Validates required repository directory and file structure
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/check_tabs.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Validates that no literal tab characters exist in source files
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/check_version_consistency.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Validates that version numbers are consistent across all critical repository files
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/check_xml_wellformed.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Validates that all tracked XML files are well-formed
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Scripts.Validate
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /validate/scan_drift.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: Standards drift detection - scans repositories for divergence from templates
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Wrappers
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /wrappers/auto_detect_platform.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: PHP wrapper for api/validate/auto_detect_platform.php
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Wrappers
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /wrappers/bulk_sync.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: PHP wrapper for api/automation/bulk_sync.php
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Wrappers
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /wrappers/check_changelog.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: PHP wrapper for api/validate/check_changelog.php
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Wrappers
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /wrappers/check_dolibarr_module.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: PHP wrapper for api/validate/check_dolibarr_module.php
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Wrappers
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /wrappers/check_enterprise_readiness.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: PHP wrapper for api/validate/check_enterprise_readiness.php
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Wrappers
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /wrappers/check_joomla_manifest.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: PHP wrapper for api/validate/check_joomla_manifest.php
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Wrappers
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /wrappers/check_language_structure.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: PHP wrapper for api/validate/check_language_structure.php
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Wrappers
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /wrappers/check_license_headers.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: PHP wrapper for api/validate/check_license_headers.php
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* FILE INFORMATION
|
||||
* DEFGROUP: MokoStandards.Wrappers
|
||||
* INGROUP: MokoStandards
|
||||
* REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
* PATH: /wrappers/check_no_secrets.php
|
||||
* VERSION: 04.06.00
|
||||
* BRIEF: PHP wrapper for api/validate/check_no_secrets.php
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user