Git Product home page Git Product logo

gizu's Introduction

hackday Archived Repository
The code of this repository was written during a Hack Day by a Marmelab developer. It's part of the distributed R&D effort at Marmelab, where each developer spends 2 days a month for learning and experimentation.
This code is not intended to be used in production, and is not maintained.

Gizu Built with Grunt

Gizu is visualization tool for Git. It computes a CLOC on all the commits of a project and displays the results into a treemap representation with help of d3.

screenshot

Installation

Install dependencies :

  npm install
  bower install

Create a config file :

  cp app/scripts/services/config.js.dist app/scripts/services/config.js

Create a Dataset

Before starting Gizu you need to create a dataset for your git repository :

  grunt git-import --repository=YOUR_GIT_REPOSITORY

For example, YOUR_GIT_REPOSITORY could be [email protected]:fzaninotto/uptime.git.

You can also use the --step option if you don't want to process every commits :

  grunt git-import --repository=YOUR_GIT_REPOSITORY --step=5

5 commits will be skipped between each CLOC.

Configuration

You can exclude files from the treemap. Go into your config file app/scripts/services/config.js and add paths to exclude (all paths have to be prefixed by ./).

For example :

  'use strict';
  angular.module('gizuApp')
    .constant('config', {
      exclude: [
        './vendors/jquery.min.js',
        './public'
      ]
  });

Usage

To run the app, just start it with Grunt :

  grunt serve

Tests

To run tests, just do :

  grunt test

License

Gizu is licensed under the MIT Licence, courtesy of marmelab.

gizu's People

Contributors

alexisjanvier avatar robinbressan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.