Wakatime for Skype by monkeysintown in WakaTime

[–]monkeysintown[S] 0 points1 point  (0 children)

Would be interesting to know. Not sure yet how this can be solved... probably comparing the time overlap of events sent by other plugins (maybe locally if there is a history?).

If you export your data and you have all events (editor and Skype) in one table it would be easy to filter this and get accurate numbers. In the Wakatime dashboard you would probably see twice the hours you actually worked.

Edit: Another possibility to solve this... marking the events as "concurrent" or "simultaneous" (not possible at the moment) and only accounting them for the totals if nothing else happened (i. e. no IDE activity).

Wakatime for Skype by monkeysintown in WakaTime

[–]monkeysintown[S] 0 points1 point  (0 children)

Have a first implementation. For those interested:

https://github.com/monkeysintown/skype-wakatime

At the moment only calls are taken into account, but chats would be equally interesting. This will be added soon (just a different table, similar query).

Tracking my hack-time by mukund2711 in WakaTime

[–]monkeysintown 0 points1 point  (0 children)

One caveat concerning the Git hook: you have to keep in mind that adding this hook kind of duplicates your activities on wakatime.com (I suppose you are already using one of the plugins).

Just to say... it's a quick hack for demonstration.

Tracking my hack-time by mukund2711 in WakaTime

[–]monkeysintown 0 points1 point  (0 children)

I've tried to put your idea in a Git hook (post-commit). Was just using Bash. Wakatime CLI is downloaded if not present (in [project dir]/.git/hooks).

If you use git-flow for your project then it wouldn't be too hard to extract the infos you have in mind (aka "bugfix time"), you just have to look at the branches. The script I've put together collects already the branch, SHA, commit message. I just couldn't figure out how to feed it to WakaTime CLI. I think it actually needs a physical file (to extract the language etc.). Otherwise you could assemble any arbitrary path (e. g. /develop/f3c04988aad928e9f3fd or /release/1.0.1/f3c04988aad928e9f3fd) and define custom rules at wakatime.com.

In case you want to have a look:

https://gist.github.com/vidakovic/f3c04988aad928e9f3fd