GithubHelp home page GithubHelp logo

niklasrosenstein / git-worklog Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 1.0 43 KB

Migrated to https://gitlab.niklasrosenstein.com/NiklasRosenstein/python/nr.cli.git-worklog

License: MIT License

Python 100.00%
git git-plugin timetracking python nodepy

git-worklog's Introduction

๐Ÿ‘‹ Hi, I'm Niklas. I like Python, Kubernetes and Tooling.

GitHub Streak

git-worklog's People

Contributors

niklasrosenstein avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

dekoza

git-worklog's Issues

Ability to filter/process output from show command

Specifically, I'm thinking about the ability to

  • Filter by start and end times (eg. only show logs from the past 10 days) or keywords in the command
  • Convert output to other formats (TSV -> CSV, JSON, Excel)
  • Create reports (potentially across multiple users), eg. as PDF, Excel, LaTex or HTML

Option to store logs in a separate repository

It would be nice if the work logs could, optionally, be stored in a separate repository instead of in the timetracking branch. That repository could then be configured with .gitconfig. In such a case, the logs should not be stored in a timetracking branch but instead in a branch that is named after the current project that you're working on. This should also be configured with .gitconfig.

Eg. you could configure the repository in your global ~/.gitconfig:

[timetracking]
  repository = ~/repos/timetracking

And then do a per-project

$ git config timetracking.project myprojectname

--time option bad default arguments

Using the --time option in the worklog checkin or worklog checkout commands does not apply proper default values. This needs to be fixed in git_worklog/timetable:parse_time().

$ git wl checkin --time 15:50
checked in: Niklas Rosenstein at 01/Jan/1900:15:50:00

Option to automatically push on checkout

This could be enabled in the global ~/.gitconfig, eg.:

[timetracking]
  push-on-checkout = true

or additionally as a command-line flag --push to the git timetracking checkout command.

There is also the potentional of existing changes on the remote and conflicts. I think that simply doing git pull or even git pull --rebase would suffice. Also, I imagine we can think about potential conflicts another time (if you consistently push your work logs and no-one else modifies your own work logs, it should be fine).

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.