Skip to content

Python project for identifying code duplication issues in PN² v1.5 and perhaps attempting to alleviate them.

License

Notifications You must be signed in to change notification settings

Project-Nitrox/tree-unfumbler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tree-unfumbler

Python project for identifying code duplication issues in PN² v1.5 and perhaps attempting to alleviate them.

How to run

Prerequisites

  • Python 3.12.
  • Access to test-cliffhanger-prerefactor repo.
  • Proven lack of skill issues in conflict resolution and codebase organization.

python -m venv ./.venv

. ./.venv/bin/activate (Linux/UNIX/macOS?) | .\.venv\bin\activate.ps1 (Win)

cd app

python main.py

The master plan pipeline

  • Implement a to_string() tree printing method within Tree/Node_t.
  • Convert Path dir tree to Tree/Node_t object.
  • Impl. breadth first search for finding duplicate file/directory names.
  • Identify duplicate name files and log them.
  • Integrate with argparse for ease of use.
  • Let user select what was found.
  • Pick a duplicate file name from path Tree and print its diffs.
  • Save diffs to a file, e.g. a Google Sheet for ease of analyzing.
  • [automate this]

About

Python project for identifying code duplication issues in PN² v1.5 and perhaps attempting to alleviate them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages