Giter Club home page Giter Club logo

gtm's People

Contributors

acuarica avatar desaroger avatar jjonescz avatar kovetskiy avatar mschenk42 avatar nexus-uw avatar suigetsusake1 avatar

Stargazers

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

Watchers

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

gtm's Issues

[Feature request] Chocolatey support

1. Request

It would be nice, if you add GTM to Chocolatey โ€” Windows package manager.

2. Justification

  • Simply install, users need only print, for example, cinst gtm -y in terminal,
  • Via Chocolatey users can automatically update all packages,
  • If user reboot Windows or want install all programs on another machine, user must only print, for example, cinst program1 program2 program3 -y in terminal.

Thanks.

libssh2 error

Using Windows 7 OS.
Downloaded the Windows installer (newest beta release v1.0-beta.3).
Ran installer, installed the program in default location ( C:\Program Files (x86)\gtm ).
Navigated to the .exe program file in my new gtm folder, double-clicked to run.
Command Prompt window opened and error message popped up:

image

[SourceTree] post-commit, gtm command not found

Hey,

I'm using SourceTree as GUI for my git repos but oddly gtm is not working.
The terminal log of ST gave me this after a closer look:

.git/hooks/post-commit: line 7: gtm: command not found

Here the $PATH when running the post-commit file from ST:

/Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core:/Applications/SourceTree.app/Contents/Resources/bin:/Applications/SourceTree.app/Contents/Resources/git_local/bin:/Applications/SourceTree.app/Contents/Resources/git_local/gitflow:/Applications/SourceTree.app/Contents/Resources/git_local/git-lfs:/usr/bin:/bin:/usr/sbin:/sbin

I use ZSH and it's working fine (terminal plug-in installed).

Any idea?

Provide ability to report across projects

We can only report on one git repo at a time. It would be nice to be able to report across more than one repo at a time. Providing the ability set tags on repos and optionally use the tags when reporting could be one way to do this.

Here's a possible set of CLI commands for this.

gtm tag <name>      set a tag on current project 
gtm tag -l          list all tags and associated projects
gtm tag -d <name>   delete tag on current project

gtm report [-n] [-format commits|totals|files|timeline] [-total-only] [-tag name ...] 

Provide ability to track time spent in the terminal

When working on projects you typically spend a portion of your time in the terminal (at the command line). It would be useful to optionally include this time spent at the command line with the time spent editing files for a Git project.

Stop tracking

Hi
It would be nice to have option to only track time spent editting files ex. if i open some files in Intellij IDEA or in vim, and start editting, and then I will close it, go for a run before commiting, gtm still tracks time spent. You could have new event file in .gtm folder, and with "O /path/to/file" of "C /path/to/file", where O stands for opened, and C for closed. I could help you with that if you wish, cuz' I think it is really great tool.

Windows Terminal Support

There are various issues with supporting Windows with anything other than plain text. Color output is not working properly and timeline reports are not rendering the block characters correctly.

gtm init returns with a "No File needs Merging"

Hi,

running on a Mac OS 10.10, I found gtm and thought it seemed pretty cool and wanted to give it a shot.
But after installing and running an gtm init, I always get "No file need merging".

Running a git config --get-regexp alias, I could see that gtm wasn't an alias of git merge.
I have found this stack post http://stackoverflow.com/questions/7854611/git-mergetool-reports-no-files-need-merging, but that didn't solved the issue either.

Also gtm report throws a Git Time Metric is not initialized

Am I missing something ?

Bug: `gtm status` empty result.

Thanks for the worderful tool.
Here is the issue I'm facing,

  • I've used pathogen to install the gtm vim plugin,
  • And have initialized gtm on the my repo.
  • But gtm status is showing empty result after code edits/modifications.

Question about tracking time

Hi there - this is a very cool piece of software and I would like to start using it but I have some problems understanding exactly how it works. I use Vim and installed the plugin. I opened a file and read it for two minutes, then exited vim. However, when I call gtm status repeatedly after that the time it shows me keeps growing even though I'm not reading that file anymore. Is it expected behaviour?

Thanks a lot!

UPDATE: seems like time stops being added after a couple of minutes...

VS Code bug - property document

Hi @nexus-uw

I can see this error message in the devtools:

shell.ts:433 Cannot read property 'document' of undefined: TypeError: Cannot read property 'document' of undefined at C:\<extensions-path>\s3ramsay.vscode-gtm-0.1.2\out\src\extension.js:49:88

  • VSCode Version: Code - Insiders 1.9.0-insider (39d761bf1f4ce7ea605539bdba41a8727b3c7ce0, 2017-01-18T07:10:04.990Z)
  • OS Version: Windows_NT ia32 10.0.15007
  • Extensions:
Extension Author Version
vscode-markdownlint DavidAnson 0.6.1
jshint dbaeumer 0.10.15
ghlink dt 0.0.4
EditorConfig EditorConfig 0.3.4
Theme-Zenburn gerane 0.0.3
sass-lint glen-84 0.0.3
vscode-commitizen KnisterPeter 0.3.5
vscode-github KnisterPeter 0.9.0
debugger-for-chrome msjsdiag 2.4.2
vscode-docker PeterJausovec 0.0.11
gitlink qezhu 0.0.1
sass-indented robinbentley 1.3.0
sharecode RolandGreim 0.4.0
vscode-gtm s3ramsay 0.1.2

Steps to Reproduce:

  1. Open the Extension list of the sidebar
  2. Select any extension

Windows Developer Build

We only have the ability to currently create release builds for Window, we need a developer build.

Cannot read property 'document' of undefined

Cannot read property 'document' of undefined: TypeError: Cannot read property 'document' of undefined

property 'document' of undefined
    at C:\Users\username\.vscode\extensions\s3ramsay.vscode-gtm-0.0.3\out\src\extension.js:48:88

VS Code v1.4

Undo gtm init

If I no longer want to track a project with gtm, how do I undo all the changes that were incurred by the gtm init command?

Provide ability to create notes

When working on a project it would be useful to create notes associated with the work in-progress. We could optionally include the notes when reporting.

gtm note           - opens editor to create or edit a log entry  
gtm note -d -y     - deletes a note entry, optionally specify -y to automatically confirm yes

gtm report [-n] [-format commits|totals|files|timeline] [-total-only] [-note]

Problems with git hooks

image
When trying to init I get an error pointing at a post commit hook

gtm init
open .git\hooks\post-commit: The system cannot find the path specified.

fetch question

I feel like I should know the answer to this, but the notes stuff is ๐Ÿ†• to me...

I set it up on one computer, but didn't push it. Worked on stuff on a second computer and did push that. I go back to the first computer and try git fetchgtm and get the following...

! [rejected]        refs/notes/gtm-data -> refs/notes/gtm-data  (non-fast-forward)

Thanks.

Recursively find first gtm git repository

Currently we find the first git repository regardless if it's initialized with gtm or not. Change the behavior to continue to look up the directory tree until we find a registered gtm git project.

This could allow for having a parent gtm git project that tracks children that are only git projects but are not initialized for gtm tracking.

This needs research to see if this is even doable. One issue is how to handle commits for tracking time in the parent project.

Running `gtm report -this-week` shows a list of commits with no time logged

I have definitely been working on the repo in question. Do I have to configure more than installing the plugins for Atom / Sublime Text / Vim to start tracking time?

Initially I ran git init and gtm init. Is time only tracked on the master branch?

This is the output from gtm report -today

Fri Jan 20
            0s Fix sms generation for numbers with leading 47 [quick_coupon]
            0s Add SMS credentials [quick_coupon]
            0s Replace all configuration with phpdotenv and heroku config vars [quick_coupon]
            0s Load config file based on environment loaded [quick_coupon]
            0s Fix typo in phpcs standard [quick_coupon]
            0s

PR for awesome-go list

Please provide package links to:

github.com repo: https://github.com/smancke/guble
godoc.org: https://godoc.org/github.com/smancke/guble
goreportcard.com: https://goreportcard.com/report/github.com/smancke/guble
coverage service link (gocover, coveralls etc.): https://coveralls.io/github/smancke/guble?branch=master
Note: that new categories can be added only when there are 3 packages or more.

Make sure that you've checked the boxes below before you submit PR:

I have added my package in alphabetical order
I know that this package was not listed before
I have added godoc link to the repo and to my pull request
I have added coverage service link to the repo and to my pull request
I have added goreportcard link to the repo and to my pull request
I have read Contribution guidelines and Quality standard.

Test report -after and -before date options

We may have some issues with date parsing.

gtm report -format summary -after "2016-11-27"

Sat Nov 26
5m 0s Fix report help format, darn tabs :(
18m 0s Update README [ci skip] [gtm]
1h 36m 0s Fix gtm verify [gtm]
1h 59m 0s

Time tracked seems to get erased when rebasing

I'm new to using GTM, so I apologize if the solution to this problem is obvious or if this just isn't in the capabilities of GTM.

If I use GTM to track time on a handful of local commits on master and then try to rebase with origin, replaying my local commits on top of origin (rather than merging upstream changes), all of the GTM data that is tracked along side those local commits disappears.

Is there a way to avoid this or to recover that data or implement this? I'm thinking some type of post-rewrite hook may help here, so I'll start looking at how I might use that, but if anyone working on this project has any insight here, I know I'd appreciate it.

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.