A tool for analyzing Git repositories to generate documentation about feature ownership, development timelines, and code organization.
- 📊 Repository analysis
- 👥 Feature ownership tracking
- 📝 Feature-to-commit mapping
- 📈 Feature development timelines
- 🐛 Bug tracking and resolution history
- 📚 Automated documentation generation
- Go 1.21 or higher
- Git installed on your system
- Access to the Git repositories you want to analyze
- Clone this repository:
git clone https://github.com/schroedinger-hat/git-history-analyzer.git
- Install dependencies:
go mod tidy
- Build the project:
go build -o git-analyzer ./cmd/analyzer
Analyze a Git repository using the following command:
./git-analyzer analyze -r <repository-url>
-r, --repo
: Repository URL to analyze (required)
./git-analyzer analyze https://github.com/schroedinger-hat/git-history-analyzer.git
git-history-analyzer/
├── cmd/
│ └── analyzer/ # Main application entry point
├── internal/
│ ├── git/ # Git operations (clone, history)
│ ├── analysis/ # Analysis logic
│ │ ├── ownership/ # Code ownership analysis
│ │ ├── features/ # Feature tracking
│ │ └── timeline/ # Story/timeline generation
│ └── models/ # Data structures
└── pkg/ # Public packages if needed
go test ./...
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- Support for multiple branch analysis
- Integration with issue tracking systems
- Custom report generation
- Web interface for visualization
- Export data in various formats (JSON, CSV, PDF)
This project is licensed under the Gnu Affero General Public License v3.0
For support, please open an issue in the GitHub repository