Coder Social home page Coder Social logo

laughedelic / gtm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from era7bio/gtt

86.0 8.0 10.0 1.54 MB

:stopwatch: git task/time manager

Shell 100.00%
git time-tracker task-manager git-notes time-tracking time-tracking-app github-issues git-hooks git-addons git-extension task-management

gtm's Issues

Failed to source "" script error when running "gtm weekly-report"

gtm weekly-report
/home/semen/bin/gtm: line 576: : No such file or directory
Failed to source '' script

Line 576 is the last line in this code snipped:

# file with projects map and format options
file=""
[[ "$1" =~ --projects ]] && file=${2:?"Expected projects map file!"} && shift 2
source "$file"

Improve closing tasks command

instead of just switching to the base branch and merging it should

  • switch to the base branch
  • pull latest changes
  • switch back
  • merge base branch into the current one
  • switch to the base branch, merge, etc. as it is now

Add release command

after sbt release, version is bumped, then normal scenario is

gtm task release/v0.X.0 -m "<name> v0.X.0 release"
# change version if it's not changed
git commit -a -m "Setting version to 0.X.0-SNAPSHOT"
gtm push
gtm connect

Backup/restore command

A way of saving configuration (issue bindings, time in branches, etc.) and then restoring state from it.

gtm pick?

Not a great deal, but is a bit annoying that when you want to work on a PR already in place, you normally have the issue number and you need to

# first let's take the branch name through ghi or github web interface
# then
gco <branchname>
# now, the issue number
gtm connect -i <issueno>

it'd be nice to have something like gtm pick <issueno> which would basically do the above if the issue is a PR.

Duplicated notes after git commit --amend

gtm: line 531: 7237 + 101

437 : syntax error in expression (error token is "437 ")

Line 531 is the last line in this if block:

    if [ "$t" ]; then
        fmt=${format/_human_time_/$(human_time $t)}
        fmt=${fmt/_time_/$(human_time $t --short)}
        [ "${fmt// /}" ] && git --no-pager show --format="$fmt" $h | head -1
        # [[ "$t" =~ [^0-9] ]] && err "$(pwd): $h"
        total=$(( $total + $t ))
    fi

fatal: Couldn't find remote ref refs/notes/timetracker

Hello,

With an existing project with two remotes (origin and be), I encountered two fatal errors after "gtm init" :

Trying to fetch and merge remote timetracker notes...
fatal: Couldn't find remote ref refs/notes/timetracker
fatal: Cannot merge empty notes ref (refs/notes/remotes/origin/timetracker) into empty notes ref (refs/notes/timetracker)

Thank you in advance,

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.