Skip to content

V9.2 - Enhanced Repository Filtering and Improved Submodule Management

Compare
Choose a tag to compare
@BrenoFariasdaSilva BrenoFariasdaSilva released this 08 Jan 16:06
· 112 commits to main since this release

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 in PyDriller/repositories_picker.py.
  • Updated repository data to set Candidates_Generated to True 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 to False for more focused candidate generation (PyDriller/code_metrics.py).

Submodule Management Enhancements

  • Improved dependency handling by integrating git submodule init and git submodule update into the Makefile 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