Public Access
Merge pull request 'chore: add wiki/ to gitignore templates and health checker' (#13) from dev into main
Universal: Cascade Main → Dev / Cascade main → branches (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: PR Check / Branch Policy (pull_request) Has been cancelled
Generic: Repo Health / Access control (pull_request) Has been cancelled
Universal: PR Check / Validate PR (pull_request) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Release configuration (pull_request) Has been cancelled
Universal: Cascade Main → Dev / Cascade main → branches (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: PR Check / Branch Policy (pull_request) Has been cancelled
Generic: Repo Health / Access control (pull_request) Has been cancelled
Universal: PR Check / Validate PR (pull_request) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Release configuration (pull_request) Has been cancelled
This commit was merged in pull request #13.
This commit is contained in:
@@ -265,6 +265,11 @@ venv/
|
|||||||
*.coverage
|
*.coverage
|
||||||
hypothesis/
|
hypothesis/
|
||||||
|
|
||||||
|
# ============================================================
|
||||||
|
# Local wiki clone (not version controlled)
|
||||||
|
# ============================================================
|
||||||
|
wiki/
|
||||||
|
|
||||||
# ============================================================
|
# ============================================================
|
||||||
# Dolibarr (base + runtime)
|
# Dolibarr (base + runtime)
|
||||||
# ============================================================
|
# ============================================================
|
||||||
|
|||||||
@@ -201,6 +201,10 @@ venv/
|
|||||||
*.coverage
|
*.coverage
|
||||||
hypothesis/
|
hypothesis/
|
||||||
|
|
||||||
|
# ============================================================
|
||||||
|
# Local wiki clone (not version controlled)
|
||||||
|
# ============================================================
|
||||||
|
wiki/
|
||||||
|
|
||||||
# ============================================================
|
# ============================================================
|
||||||
# Joomla runtime / development
|
# Joomla runtime / development
|
||||||
|
|||||||
@@ -201,3 +201,8 @@ venv/
|
|||||||
*.coverage
|
*.coverage
|
||||||
hypothesis/
|
hypothesis/
|
||||||
|
|
||||||
|
# ============================================================
|
||||||
|
# Local wiki clone (not version controlled)
|
||||||
|
# ============================================================
|
||||||
|
wiki/
|
||||||
|
|
||||||
|
|||||||
@@ -201,6 +201,10 @@ venv/
|
|||||||
*.coverage
|
*.coverage
|
||||||
hypothesis/
|
hypothesis/
|
||||||
|
|
||||||
|
# ============================================================
|
||||||
|
# Local wiki clone (not version controlled)
|
||||||
|
# ============================================================
|
||||||
|
wiki/
|
||||||
|
|
||||||
# ============================================================
|
# ============================================================
|
||||||
# Dolibarr runtime / data
|
# Dolibarr runtime / data
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
* Manifest & Config (20) — .moko-platform, workflows, README quality, CODE_OF_CONDUCT, .gitignore content, CLAUDE.md quality
|
* Manifest & Config (20) — .moko-platform, workflows, README quality, CODE_OF_CONDUCT, .gitignore content, CLAUDE.md quality
|
||||||
* Documentation (15) — wiki-first: docs/ must NOT exist, CHANGELOG [Unreleased]
|
* Documentation (15) — wiki-first: docs/ must NOT exist, CHANGELOG [Unreleased]
|
||||||
* License Headers (15) — Copyright, SPDX, FILE INFORMATION in source files
|
* License Headers (15) — Copyright, SPDX, FILE INFORMATION in source files
|
||||||
* Disallowed (10) — TODO.md, vendor/, node_modules/, .claude/, .mcp.json, renovate.json, profile.ps1
|
* Disallowed (10) — TODO.md, vendor/, node_modules/, .claude/, wiki/, .mcp.json, renovate.json, profile.ps1
|
||||||
* Workflows (15) — repo-health, sync-roadmap-wiki, CI/deploy
|
* Workflows (15) — repo-health, sync-roadmap-wiki, CI/deploy
|
||||||
* Security (20) — SECURITY.md, scanning, no renovate.json, no secrets
|
* Security (20) — SECURITY.md, scanning, no renovate.json, no secrets
|
||||||
* Rulesets (15) — main protected, dev branch, rulesets
|
* Rulesets (15) — main protected, dev branch, rulesets
|
||||||
@@ -121,6 +121,9 @@ class RepoHealthChecker extends CliFramework
|
|||||||
if (is_dir("{$p}/.claude")) {
|
if (is_dir("{$p}/.claude")) {
|
||||||
$this->addCheck($cat, '.claude/ should not be committed', false, 0);
|
$this->addCheck($cat, '.claude/ should not be committed', false, 0);
|
||||||
}
|
}
|
||||||
|
if (is_dir("{$p}/wiki")) {
|
||||||
|
$this->addCheck($cat, 'wiki/ should not be committed', false, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ── Manifest & Config (15 pts) ───────────────────────────────────
|
// ── Manifest & Config (15 pts) ───────────────────────────────────
|
||||||
@@ -144,9 +147,10 @@ class RepoHealthChecker extends CliFramework
|
|||||||
if (file_exists("{$p}/.gitignore")) {
|
if (file_exists("{$p}/.gitignore")) {
|
||||||
$gi = file_get_contents("{$p}/.gitignore");
|
$gi = file_get_contents("{$p}/.gitignore");
|
||||||
$gitignoreOk = str_contains($gi, '.claude/') && str_contains($gi, 'TODO.md')
|
$gitignoreOk = str_contains($gi, '.claude/') && str_contains($gi, 'TODO.md')
|
||||||
&& str_contains($gi, '*.min.css') && str_contains($gi, '*.min.js');
|
&& str_contains($gi, '*.min.css') && str_contains($gi, '*.min.js')
|
||||||
|
&& str_contains($gi, 'wiki/');
|
||||||
}
|
}
|
||||||
$this->addCheck($cat, '.gitignore has .claude/, TODO.md, *.min.css/js',
|
$this->addCheck($cat, '.gitignore has .claude/, TODO.md, *.min.css/js, wiki/',
|
||||||
$gitignoreOk, 3);
|
$gitignoreOk, 3);
|
||||||
|
|
||||||
// CLAUDE.md should have project overview
|
// CLAUDE.md should have project overview
|
||||||
|
|||||||
Reference in New Issue
Block a user