Real-world configuration examples and usage scenarios for GitFlow Analytics.
Complete workflows using the interactive launcher:
- First-time setup and configuration
- Repository selection and preferences
- Identity detection and management
- Troubleshooting common issues
JIRA integration and story points tracking:
- Complete JIRA setup with authentication
- Story point extraction patterns
- Text-based and API-based tracking
- Configuration validation and testing
More examples are being developed to cover:
Basic Analysis
- Single repository analysis workflows
- Individual developer productivity insights
- Quick health checks and team metrics
Enterprise Setup
- Multi-repository organization discovery
- Advanced identity resolution strategies
- Performance optimization for large organizations
CI Integration
- GitHub Actions automated analysis
- GitLab CI pipeline integration
- Jenkins job configuration
- Automated report generation
Custom Workflows
- Custom commit categorization rules
- Specialized report formats
- Integration with external tools
- Advanced filtering and analysis focus
# quickstart-config.yaml
github:
token: "${GITHUB_TOKEN}"
repositories:
- owner: "myorg"
name: "myrepo"
local_path: "./myrepo"# org-config.yaml
github:
token: "${GITHUB_TOKEN}"
organization: "myorg" # Discovers all repositories
analysis:
weeks: 8# ml-config.yaml
github:
token: "${GITHUB_TOKEN}"
organization: "myorg"
analysis:
weeks: 12
enable_ml_categorization: true
ml_categorization:
model_name: "en_core_web_sm"
confidence_threshold: 0.7All examples include complete, working configuration files located in /examples/config/:
- config-sample.yaml - Basic single-repository setup
- config-organization.yaml - Organization-wide analysis
- config-ml-enhanced.yaml - ML categorization enabled
- config-enterprise.yaml - Large-scale deployment
- config-minimal.yaml - Simplest possible configuration
Individual Developer (1 person) → Interactive Launcher Examples - Perfect for personal productivity insights
Small Team (2-10 people) → Interactive Launcher Examples with multiple repositories
Medium Team (10-50 people) → Story Points Configuration with organization discovery
Large Organization (50+ people) → Story Points Configuration with performance optimization
First-time setup → Interactive Launcher Examples - Start simple and expand
Regular team health checks → Interactive Launcher Examples - Automated recurring analysis
Quarterly planning and reviews → Story Points Configuration - Comprehensive insights
Custom reporting needs → Story Points Configuration - Specialized configurations
Simple CSV reports → Interactive Launcher Examples - Standard output formats
JSON data export → Story Points Configuration - API integration patterns
ML commit categorization → Story Points Configuration - Advanced analysis features
Automated workflows → Interactive Launcher Examples - Pipeline integration
- Start with Basic: Use basic analysis to understand your repository
- Add Features: Gradually enable ML categorization and advanced options
- Scale Up: Move to organization-wide analysis as needed
- Automate: Integrate with CI/CD for regular insights
# Weekly sprint reviews
analysis:
weeks: 2
# Monthly team health
analysis:
weeks: 4
# Quarterly planning
analysis:
weeks: 12
# Annual reviews
analysis:
weeks: 52analysis:
# Only analyze Python and JavaScript
include_file_patterns:
- "*.py"
- "*.js"
- "*.ts"
# Exclude generated files
exclude_file_patterns:
- "*.min.js"
- "package-lock.json"
- "__pycache__/*"reports:
formats: ["csv", "json", "markdown"]
output_directory: "./reports"
# Custom naming
filename_template: "team_analysis_{date}"
# Include additional data
include_untracked_analysis: true
include_detailed_metrics: trueEach example shows expected report structure and key insights you'll receive:
- CSV Reports: Structured data for analysis and integration
- Markdown Reports: Human-readable insights and recommendations
- JSON Exports: Complete data for custom tooling and dashboards
- Repository URLs: Replace example repositories with your own
- Authentication: Set up your GitHub token and credentials
- Time Periods: Adjust
weeksparameter for your analysis needs - Output Locations: Customize paths for your directory structure
- Team Structure: Modify identity mappings for your developers
# Validate configuration without running analysis
gitflow-analytics -c your-config.yaml --validate-only
# Test with shorter time period first
gitflow-analytics -c your-config.yaml --weeks 2
# Clear cache if making major changes
gitflow-analytics -c your-config.yaml --clear-cache- Getting Started - Installation and first steps
- Configuration Guide - Complete YAML reference
- Troubleshooting - Common issues and solutions
- Reference Documentation - Technical specifications
Have a useful configuration or workflow? Consider contributing it:
- Create a new example following existing patterns
- Include complete working configuration
- Document expected outputs and key insights
- Test with real data before submitting
- See Contributing Guide for details
Start with an example that matches your situation and customize from there!