Skip to main content

view graph for working log

Project description

Hyuki-CVS-Graph

Usage

hyuki-graph [option] [base_dir]

where, base_diris a the most top directory which is watched by this program.

Note that default base_diris ..

This is a tool like as taking-star-table with color (ja), which considered by Mr. Hyuki.

This tool makes table which is written project-name, day number from today and commit-status.

Also, if there is hyuki_graph.json or hyuki_graph.yaml file in directory, which this program watch, this program make a table by using commits number which got by CVS and content of the file.

Furtheremore, if cross point which project-name and day number is written D by red color, this means that the project does not committed.

If it is written M by yellow color, this means that the project is committed some times less than 10.

If it is written L by green color, this means that the project is committed some times more than or equal to 10.

Syntax of Input File

This program receives following syntax files.

As json syntax:

{
  project name: {
    date: commit number,
    date: commit number,
    e.t.c.
  },
  project name: {
    date: commit number,
    date: commit number,
    e.t.c.
  }
  e.t.c.
}

where, date is a string which has form like “2000/01/01” or “2000-01-01”.

As yaml syntax, like json syntax:

project name:
  date: commit number
  date: commit number
  e.t.c.
project name:
  date: commit number
  date: commit number
  e.t.c.

If you want to use yaml syntax, import PyYaml package in manually:

pip install PyYaml

Options

  • -n, --day-num: indicate number of day, whcih is watched by this program.

  • -a, --author: indicate name of committer.

  • -m, --medium-sep: If more than or equal to number of commit is committed, printted L. Default value is 10.

  • --DA, --dead_or_alive: Showing D and A instead of showing D, M and L. If there is no commit, D is printted. And there is it, A is printted.

  • -f, --file: indicate input files by separating by space. Default of this value is “hyuki_graph.json hyuki_graph.yaml.

  • --FO, --file-only: watch only input file not watching CVS

  • --t, --file-type: indicate format of input files. Please indicate json or yaml.

  • -r, --only-running: show only activate project

However this is not a option, we don’t not watched input file by --file="".

How to install

% pip install hyuki-cvs-graph

or

% python setup.py install

Requirements

  • python

  • If you deal with git-repository, gitcommand

  • If you deal with hg-repository, hgcommand

LICENSE

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hyuki-cvs-graph-0.2.7.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

hyuki_cvs_graph-0.2.7-py2.py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page