All checks were successful
KB Lint / validate (push) Successful in 24s
Migrated all Gitea documentation from docs/GITEA/ folder into the Knowledge Base system, following KB naming conventions and frontmatter requirements. ## What Was Migrated ### Gitea Documentation Guides (6 KB entries) 1. **Gitea Basics Guide** () - Core concepts and features of Gitea - Key differences from GitHub - Terminology and common workflows - System requirements 2. **Gitea Actions Guide** () - Gitea Actions CI/CD system - Compatibility with GitHub Actions - Workflow creation and patterns - Troubleshooting guide 3. **LLM Guidelines for Gitea** () - Terminology guidelines for LLMs - Documentation standards - Common scenarios and checklist - Quick reference 4. **Gitea Workflows Guide** () - Common workflows (repository setup, branches, PRs, issues) - Best practices (branch naming, commits, PR process) - Integration with documentation systems - Troubleshooting 5. **Gitea API Reference** () - API authentication and endpoints - Differences from GitHub API - Common use cases - MCP server integration 6. **Gitea Documentation Overview** () - Overview and index of all Gitea documentation - Quick reference guide - Links to all Gitea KB entries ## KB System Compliance ✅ All files follow KB naming convention (YYYY-MM-DD--slug--type.md) ✅ All files have complete frontmatter (all 18 required fields) ✅ All files categorized in 02_systems/ (infrastructure/tooling) ✅ All files reference original documentation location ✅ KB changelog updated with migration entry ✅ KB index regenerated via script (8 files, 23 topics, 31 tags) ## Category Decision All Gitea documentation entries were placed in **02_systems/** category because: - Gitea is infrastructure/tooling (not project-specific) - Documentation covers platform usage and integration - Guides are system-level references - Fits KB category definition: "Infrastructure, DevOps, tooling" ## Original Documentation Original documentation remains in folder: - docs/GITEA/Gitea-Basics.md - docs/GITEA/Gitea-Actions-Guide.md - docs/GITEA/LLM-Gitea-Guidelines.md - docs/GITEA/Gitea-Workflows.md - docs/GITEA/Gitea-API-Reference.md - docs/GITEA/README.md KB entries reference original locations for full documentation. ## Benefits - Gitea documentation now searchable via KB index - Integrated with KB system for LLM discovery - Consistent with other KB entries - Maintains reference to original documentation - Provides comprehensive Gitea platform reference
5.5 KiB
5.5 KiB
title, date, captured_at, author, source, source_type, project, related_projects, topics, tags, type, status, phase_relevance, routing_hint, proposed_path, routing_confidence, related, summary, key_takeaways, action_candidates
| title | date | captured_at | author | source | source_type | project | related_projects | topics | tags | type | status | phase_relevance | routing_hint | proposed_path | routing_confidence | related | summary | key_takeaways | action_candidates | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gitea Workflows Guide | 2025-11-11 | 2025-11-11 |
|
|
personal_note |
|
|
|
|
howto | active | Gitea workflows and best practices guide - infrastructure/tooling documentation | kb/02_systems/ | 0.95 |
|
Common workflows and best practices for working with Gitea repositories. Covers repository setup, branch management, pull requests, issues, Gitea Actions, and integration with documentation systems. |
Gitea Workflows Guide
Common Workflows
1. Repository Setup
Creating a new repository:
- Log in to Gitea instance
- Click "New Repository" or "+" → "New Repository"
- Configure repository settings (name, description, visibility, README, .gitignore, license)
- Click "Create Repository"
Cloning a repository:
git clone https://git.parkingmeter.info/owner/repo.git
cd repo
2. Branch Management
Creating a branch:
git checkout -b feature/new-feature
git push -u origin feature/new-feature
In Gitea UI: Use branch dropdown to create new branch
3. Pull Requests
Creating a Pull Request:
- Push branch to Gitea
- Click "New Pull Request" button
- Select base branch (usually
mainormaster) - Fill in PR title and description
- Add reviewers, labels, milestones if needed
- Click "Create Pull Request"
PR Workflow (same as GitHub):
- Review code
- Add comments
- Request changes
- Approve
- Merge (merge, squash, or rebase)
4. Issues
Creating an Issue:
- Go to repository
- Click "Issues" tab
- Click "New Issue"
- Fill in title and description
- Add labels, assignees, milestones
- Click "Submit new issue"
Issue Features:
- Assign to team members
- Link to milestones
- Add labels
- Set due dates
- Track dependencies
- Reference commits and PRs
5. Gitea Actions (CI/CD)
Setting up workflows:
- Create
.github/workflows/directory - Create workflow YAML file
- Push to repository
- Gitea Actions will execute workflows
Workflow triggers:
push- On push to repositorypull_request- On PR eventsworkflow_dispatch- Manual triggerschedule- Scheduled runs
Best Practices
1. Branch Naming
Conventions:
feature/description- New featuresfix/description- Bug fixesdocs/description- Documentationrefactor/description- Code refactoringtest/description- Test improvements
2. Commit Messages
Format: type(scope): description
Types:
feat- New featurefix- Bug fixdocs- Documentationchore- Maintenanceci- CI/CD changes
Examples:
feat(phase-01): Add Zapier integration
fix(phase-02): Resolve web link capture
docs(kb): add api-auth-decision and update index/changelog
3. Pull Request Process
- Create feature branch
- Make changes and commit
- Push branch to Gitea
- Create Pull Request
- Request review
- Address feedback
- Merge when approved
4. Issue Management
- Use labels for categorization
- Link issues to milestones
- Reference issues in commits:
Fixes #123 - Close issues via PR:
Closes #123
For LLMs: Workflow Documentation
When Documenting Workflows
Use Gitea terminology:
## Development Workflow
1. Create a feature branch: `git checkout -b feature/name`
2. Make changes and commit
3. Push to Gitea: `git push origin feature/name`
4. Create Pull Request in Gitea
5. Request review and address feedback
6. Merge when approved
Reference Gitea Actions:
## CI/CD Workflow
This repository uses **Gitea Actions** for continuous integration.
**Note**: Gitea Actions is compatible with GitHub Actions, so workflows
use the same YAML format and `.github/workflows/` directory structure.
Workflows run automatically on:
- Push to main branch
- Pull requests
- Manual trigger via `workflow_dispatch`
Integration with Documentation System
Phase Documentation
- Reference Gitea repository URLs
- Use Gitea terminology in tasks.md
- Link to Gitea issues in tasks
- Reference Gitea Actions workflows
KB System
- Reference Gitea features when relevant
- Link to Gitea documentation
- Use Gitea terminology consistently
Cursor Rules
- Use "Gitea Actions" (not "GitHub Actions")
- Reference Gitea repository
- Note compatibility where relevant
Troubleshooting
Common Issues
Workflow not running:
- Check runner registration
- Verify workflow syntax
- Check trigger conditions
- Review runner logs
PR not showing:
- Verify branch was pushed
- Check branch visibility
- Verify base branch is correct
Issues not linking:
- Use correct issue number format:
#123 - Verify issue exists
- Check repository permissions
References
- Gitea Usage: https://docs.gitea.com/usage/
- Gitea Actions: https://docs.gitea.com/usage/actions/
- Pull Requests: https://docs.gitea.com/usage/pull-request/
- Issues: https://docs.gitea.com/usage/issues/
Original Location: docs/GITEA/Gitea-Workflows.md
Last Updated: 2025-01-27
Related:
docs/GITEA/Gitea-Basics.mddocs/GITEA/Gitea-Actions-Guide.md