Repository metrics
- Stars
- (2 stars)
- PR merge metrics
- (PR metrics pending)
Description
Difficulty: ⭐⭐⭐ (Medium)
Dependencies: Issue #10
Component: Service Discovery
Description: Enhance version extraction with sophisticated logic that handles various versioning schemes and sources intelligently. Implement a priority-based extraction system that checks multiple sources in order (standard labels, custom labels, annotations, image tags, Helm metadata) and uses the first valid version found. Add robust semantic version parsing that can handle versions with and without 'v' prefix, pre-release tags, and build metadata. Implement comprehensive image tag version extraction that can parse various tagging schemes (semantic versions, git commit SHAs, date stamps, custom formats), support Helm chart version detection by examining chart metadata and release information, and add thorough version validation and normalization to ensure consistent version representation. Implement confidence scoring for extracted versions based on their source and format validity to help users understand version reliability.
Acceptance Criteria:
- Implement priority-based version extraction
- Support semantic version parsing
- Add image tag version extraction
- Support Helm chart version detection
- Add version validation and normalization
- Implement version confidence scoring
Why Now: Builds on resource discovery to provide accurate version information.