Giter VIP home page Giter VIP logo

git-csv-timesheet's People

Contributors

crooy avatar dependabot[bot] avatar fabiosoft avatar guypaddock avatar kh0r avatar kimmobrunfeldt avatar mrpjer avatar nicolas-van avatar pieroblunda avatar qgustavor avatar tomfa avatar vdloo avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

git-csv-timesheet's Issues

Allow for different CSV output

Instead of

date;repository;hours
2020-08-25;/Users/tomasfagerbekk/repos/askeladden.toolbox;2.6
2020-08-25;/Users/tomasfagerbekk/repos/digg.client.app;4.8
2020-08-26;/Users/tomasfagerbekk/repos/digg.client.app;11.2
2020-08-27;/Users/tomasfagerbekk/repos/askeladden.toolbox;0.9
2020-08-27;/Users/tomasfagerbekk/repos/digg.client.app;7.6
2020-08-28;/Users/tomasfagerbekk/repos/FoodSociety.App;1.2
2020-08-28;/Users/tomasfagerbekk/repos/Petrus.Web;1.0
2020-08-28;/Users/tomasfagerbekk/repos/digg.client.app;0.5
2020-08-29;/Users/tomasfagerbekk/repos/askeladden.toolbox;1.0
2020-08-29;/Users/tomasfagerbekk/repos/digg.client.app;1.1
2020-08-30;/Users/tomasfagerbekk/repos/askeladden.toolbox;6.8
2020-08-30;/Users/tomasfagerbekk/repos/digg.client.app;1.6

Make it

date;askeladden.toolbox;digg.client.app;FoodSociety.app;Petrus.Web;total
2020-08-25;2.6;4.8;0;0;7.4
2020-08-26;0;11.2;0;0;11.2
2020-08-27;0.9;7.6;0;0;8.5
2020-08-28;0;0.5;1.2;1.0;2.7
2020-08-29;1.0;1.1;0;0;2.1
2020-08-30;6.8;1.6;0;0;8.4

This makes it alot easier to copy paste hours into the "real timetracker".

  • Maybe hide this behind a --compact flag? Or the inverse, make the old format --readable?

Fix cli

The CLI part of this repository does not work(!)

Add --since lastyear / thisyear

Would be handy (when you report yearly), to add lastyear/thisyear as time args.

# Returning whole previous year
timesheet --since lastyear --until thisyear

# Returning current year
timesheet --since thisyear

Support combining repo stats into a Project

The docs say we can combine several git repositories into a project using a .timesheetrc.repositories ala

[
  { "project": "Personal blog", "path": "/Users/tomfa/repos/notes" },
  { "project": "Personal blog", "path": "/Users/tomfa/repos/notes-backend" }
]

Extract to a git-standup repo

What did I do yesterday?
This repo, but just show all commit messages you've commited.

  • no need for since or until, but accept a --date parameter
    -- default to yesterday

Can you make a --total hours switch?

Thank you for this tool, git-hours keeps giving me install errors.

Could you please consider making a --total hours switch?

In my case I just wanna know how many hours I have spent in my repository.
The problem is is that my repository has 694 commits, feew...

What I would be really glad is something like:
$ timesheet --total
200 hours

Allow Repository config to override config

The docs say we can override config on repository level with a .timesheetrc.repository ala

{
  "project": "Client 1",
  "path": "/Users/tomfa/repos/backend",
  "countMerges": false
}

Move travis-ci to circle-ci

  • Check that prettier is run
  • Check that ESLint contains no errors (or warnings?)
  • Check that things compile
  • Automatically release based on semantic commits?

Strip common paths

I don't care about the path to the repos, really, just the repo name.

Instead of

date;repository;hours
2020-08-25;/Users/tomasfagerbekk/repos/askeladden.toolbox;2.6
2020-08-25;/Users/tomasfagerbekk/repos/digg.client.app;4.8
2020-08-26;/Users/tomasfagerbekk/repos/digg.client.app;11.2
2020-08-27;/Users/tomasfagerbekk/repos/askeladden.toolbox;0.9
2020-08-27;/Users/tomasfagerbekk/repos/digg.client.app;7.6
2020-08-28;/Users/tomasfagerbekk/repos/FoodSociety.App;1.2
2020-08-28;/Users/tomasfagerbekk/repos/Petrus.Web;1.0
2020-08-28;/Users/tomasfagerbekk/repos/digg.client.app;0.5
2020-08-29;/Users/tomasfagerbekk/repos/askeladden.toolbox;1.0
2020-08-29;/Users/tomasfagerbekk/repos/digg.client.app;1.1
2020-08-30;/Users/tomasfagerbekk/repos/askeladden.toolbox;6.8
2020-08-30;/Users/tomasfagerbekk/repos/digg.client.app;1.6

Make it

date;repository;hours
2020-08-25;askeladden.toolbox;2.6
2020-08-25;digg.client.app;4.8
2020-08-26;digg.client.app;11.2
2020-08-27;askeladden.toolbox;0.9
2020-08-27;digg.client.app;7.6
2020-08-28;FoodSociety.App;1.2
2020-08-28;Petrus.Web;1.0
2020-08-28;digg.client.app;0.5
2020-08-29;askeladden.toolbox;1.0
2020-08-29;digg.client.app;1.1
2020-08-30;askeladden.toolbox;6.8
2020-08-30;digg.client.app;1.6
  • Either accomplish this by stripping the common path, or just show the folder name. (preferably the last?)
  • Maybe add a flag to show absolute path with --absolute-path

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.