Page:
QUICKSTART_ORG_PROJECTS
Pages
ARCHITECTURE
AUTO_CREATE_ORG_PROJECTS
CLI_AUTOMATION
DEPLOY_SCRIPTS
DOLIBARR_MODULE_IDS
DRY_RUN_PATTERN
Documentation-Standards.-.-
Documentation-Standards.-
File-Header-Standards
Home
JOOMLA_SYNC
LEGAL_DOC_GENERATOR_WEB_README
MCP-Servers.-.-.
MCP-Servers
MINIFICATION
MONITORING_SCRIPTS
NEW_SCRIPTS
QUICKSTART_ORG_PROJECTS
SITE_MONITORING
WIKI_STANDARDS
WORKFLOW_STANDARDS
api-automation-index.-
api-automation-index
api-definitions-default-index.-
api-definitions-default-index
api-definitions-sync-index.-
api-definitions-sync-index
api-deploy-index.-
api-deploy-index
api-fix-index.-
api-fix-index
api-index.-
api-index
api-maintenance-index.-
api-maintenance-index
api-plugin-index.-
api-plugin-index
api-tests-index.-
api-tests-index
api-tests-sample-index.-
api-tests-sample-index
api-validate-index.-
api-validate-index
automation-README.-
automation-README
automation-branch-version-automation.-
automation-branch-version-automation
automation-push-files.-
automation-push-files
automation-repo-cleanup.-
automation-repo-cleanup
client-repos.-.-
client-repos
standards-mokostandards-file-spec.-
standards-mokostandards-file-spec
templates-client-waas
templates-dolibarr
templates-generic
templates-mcp
workflows-README.-
workflows-README
workflows-auto-release.-
workflows-auto-release
workflows-branch-protection.-
workflows-branch-protection
workflows-build-release.-
workflows-build-release
workflows-cascade-dev.-
workflows-cascade-dev
workflows-changelog-management.-
workflows-changelog-management
workflows-demo-deployment.-
workflows-demo-deployment
workflows-dev-branch-tracking.-
workflows-dev-branch-tracking
workflows-dev-deployment.-
workflows-dev-deployment
workflows-index.-
workflows-index
workflows-release-system.-
workflows-release-system
workflows-renovate.-
workflows-renovate
workflows-reusable-workflows.-
workflows-reusable-workflows
workflows-rs-deployment.-
workflows-rs-deployment
workflows-secret-scanning.-
workflows-secret-scanning
workflows-shared-workflows.-
workflows-shared-workflows
workflows-standards-compliance.-
workflows-standards-compliance
workflows-static-analysis.-
workflows-static-analysis
workflows-sub-issue-management.-
workflows-sub-issue-management
workflows-update-server.-
workflows-update-server
workflows-workflow-architecture.-
workflows-workflow-architecture
Clone
4
QUICKSTART_ORG_PROJECTS
Jonathan Miller edited this page 2026-05-11 21:56:12 +00:00
Table of Contents
Quick Start: Auto-Create Organization Projects
This guide provides a quick start for automatically creating smart GitHub Projects for all repositories in the mokoconsulting-tech organization.
Prerequisites
- GitHub Personal Access Token with permissions:
repo,project,read:org - Python 3.7+ with
requestslibrary installed
Option 1: Gitea Actions (Recommended)
- Go to Actions tab in the moko-platform repository
- Select "Auto-Create Organization Projects" workflow
- Click "Run workflow"
- Configure options:
- Dry run: Check to preview without making changes (recommended first time)
- Verbose: Check to enable detailed logging
- Click "Run workflow"
- Review the workflow logs and summary
The workflow automatically runs quarterly in dry-run mode to detect new repositories.
Option 2: Command Line
Dry Run First (Recommended)
python3 scripts/auto_create_org_projects.py --dry-run --verbose
Create Projects and Roadmaps
export GH_PAT="your_github_token"
python3 scripts/auto_create_org_projects.py --verbose
What Gets Created
For Each Repository
- Project Type Detection -- Joomla, Dolibarr, or Generic
- Roadmap Generation (if missing) -- Type-specific
docs/ROADMAP.md - GitHub Project Creation -- Custom fields, standard views, type-specific views
Custom Fields by Type
| All Projects | Joomla Adds | Dolibarr Adds | Generic Adds |
|---|---|---|---|
| Status, Priority, Size/Effort | Joomla Version | Dolibarr Version | Technology Stack |
| Sprint, Target Version | Extension Type | Module Number | Environment |
| Blocked Reason | Marketplace Status | Database Changes | Release Channel |
| Acceptance Criteria | PHP Minimum | Requires Sudo | Deployment Status |
Quick Workflow
# 1. Test with dry run
python3 scripts/auto_create_org_projects.py --dry-run --verbose
# 2. Review the output
# 3. Run for real
export GH_PAT="your_token"
python3 scripts/auto_create_org_projects.py --verbose
# 4. Review created projects
Single Repository Mode
python3 scripts/create_repo_project.py REPO_NAME --type joomla
python3 scripts/create_repo_project.py REPO_NAME --type dolibarr
python3 scripts/create_repo_project.py REPO_NAME --type generic
Troubleshooting
| Error | Solution |
|---|---|
| "GitHub token required" | export GH_PAT="ghp_your_token_here" |
| "Permission denied" | Verify token has repo, project, read:org scopes |
| "Failed to detect project type" | Script defaults to "generic" -- manually specify with --type |
| "Rate limit exceeded" | Wait a few minutes and retry |
Next Steps After Creation
- Review Projects: Visit each project and verify configuration
- Customize Roadmaps: Edit generated roadmaps for specific needs
- Add Issues: Populate projects with existing issues
- Configure Automations: Set up workflow automations
- Share with Team: Notify team members about new project boards
Related
- AUTO_CREATE_ORG_PROJECTS -- Full documentation
- ARCHITECTURE -- Platform scripts architecture
Repo: moko-platform · moko-platform wiki
| Field | Value |
|---|---|
| Minimum Version | 04.07.00 |
| Platform | all |
| Applies To | All repositories |
| Revision | Date | Author | Description |
|---|---|---|---|
| 1.0 | 2026-05-09 | Moko Consulting | Initial version |