V9.2 - Enhanced Repository Filtering and Improved Submodule Management
Summary
This release introduces key enhancements in repository data management, improved filtering capabilities, and refined handling of submodule dependencies in the Worked-Example-Miner (WEM) project. It emphasizes more efficient processing of repository candidates and better organization of repository attributes.
Key Improvements
Improved Repository Attribute Management
- Added a
Candidates_Generated
attribute to track repository processing status inPyDriller/repositories_picker.py
. - Updated repository data to set
Candidates_Generated
toTrue
after processing completion (PyDriller/metrics_changes.py
). - Implemented initialization for the
Candidates_Generated
attribute to ensure consistency (PyDriller/repositories_picker.py
).
Advanced Repository Filtering
- Enhanced repository filtering to include only repositories with
Candidates_Generated
set toFalse
for more focused candidate generation (PyDriller/code_metrics.py
).
Submodule Management Enhancements
- Improved dependency handling by integrating
git submodule init
andgit submodule update
into theMakefile
dependencies rule for streamlined submodule setup (Makefile
).
Refactoring and Code Quality
- Updated import statements across modules for better maintainability (
PyDriller/metrics_changes.py
). - Renamed repository JSON attributes for clarity and improved readability (
PyDriller/repositories_picker.py
).
Bug Fixes
- Resolved inconsistencies with repository attribute naming to align with updated conventions.
Important Notes
- Users are encouraged to update their local repositories to take advantage of the refined candidate processing and submodule management features.
- Ensure all submodules are properly initialized and updated using the enhanced
Makefile
dependencies rule.
Full Changelog: v9.1...v9.2