Giter Site home page Giter Site logo

gitcoach's Introduction

gitcoach 0.1

Gitlearn and gitcoach are a pair of tools for helping me, and hopefully other people, better understand large projects living in Git by trying to identify codependent pieces of code.

It works by examining the entire commit history of a project and building a matrix to indicate how often different files are committed at the same time.

You start that by cd'ing into your repo and running 'gitlearn'. This creates a big (sometimes quite big) file in the .git objdir called "coaching_data". This can take some time, sometimes quite some time.

Once you've done that, "gitcoach" will take a look at whatever you've modified in your current commit, and make suggestions based on that information; basically, if you changed this file, there's an 85% chance you'll have to change this other file over here...

Todo:

  • Makefile
  • Command-line options for gitcoach:
    • currently, lowerbound coincidence threshold is hardcoded at 80%.
    • different types of commit (modified, added, etc) should be selectable
    • Clean (parseable and/or just less verbose) output options should be available.
  • Output from gitcoach currently incomplete, in an off-by-one looking way.
  • Add "adding a file", not just "modifying a file" as recognized thing.
    • not just pulling in your added files, but knowing that adding a file means you need to change the Makefile, that sort of thing.
  • Add tests
  • Sanity checks are missing in some places.
  • Cleanup/consolidate some data structures that are clearly junk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.