[feature:track_progress] Implemented main progress tracking system [feature:git_integration] Added Git history analysis with commit tag parsing [feature:template_engine] Created flexible template engine for documentation generation [feature:feature_tracking] Implemented feature status tracking and updates [feature:changelog_generation] Added automatic changelog generation from commits [feature:code_stats] Added code statistics and metrics collection [feature:roadmap_generation] Implemented roadmap generation [new-feature:launcher_scripts:Created cross-platform launcher scripts for easy execution] [new-feature:executable_build:Added Nuitka-based executable build system] [new-feature:project_installation:Created setup script for easy installation to projects] [status:track_progress_and_feature_statuses] Completed automatic status document generation [status:git_integration] Completed parsing Git logs for status updates [status:doc_generation] Completed auto-generation of status docs and changelog [changelog:Added comprehensive progress tracking system] [changelog:Added feature status tracking with Git integration] [changelog:Added customizable template system for documentation] [changelog:Added automatic changelog generation from commit messages] [changelog:Added code statistics and metrics collection] [changelog:Added cross-platform launcher scripts] [changelog:Added executable build system using Nuitka] [changelog:Added project installation script] [milestone:v1.0] Completed initial release of progress tracking system
34 lines
979 B
Python
34 lines
979 B
Python
"""
|
|
Roadmap generator for project status documentation.
|
|
"""
|
|
|
|
from typing import Dict, Any, List, Optional
|
|
|
|
|
|
def generate_roadmap(
|
|
milestones: Dict[str, Dict[str, Any]],
|
|
roadmap_items: Dict[str, List[Dict[str, Any]]],
|
|
) -> List[Dict[str, Any]]:
|
|
"""Generate roadmap from milestones and roadmap items."""
|
|
roadmap = []
|
|
|
|
# Process each milestone
|
|
for milestone_key, milestone_data in milestones.items():
|
|
# Create milestone entry
|
|
milestone = {
|
|
"name": milestone_key.replace("_", " ").title(),
|
|
"target_date": milestone_data.get("last_date", "TBD"),
|
|
"items": [],
|
|
}
|
|
|
|
# Add roadmap items for this milestone
|
|
if milestone_key in roadmap_items:
|
|
for item in roadmap_items[milestone_key]:
|
|
milestone["items"].append(
|
|
{"description": item["description"], "status": "planned"}
|
|
)
|
|
|
|
roadmap.append(milestone)
|
|
|
|
return roadmap
|