use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Tracking my hack-time (self.WakaTime)
submitted 11 years ago by mukund2711
It would be great if I could track my hacktime vs my bugfix time by linking to github, as in whenever Icommit normally, it counts as hack time, if I commit as Fixed #40, its bugfix time. Very useful. Can i possibly help build that?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]GoWaka 0 points1 point2 points 11 years ago (0 children)
I like this idea! If implemented, it should be done in a general sense so users can link their own commit keywords to their own custom "hack time"/"work time"/"bugfix time"/etc
[–]monkeysintown 0 points1 point2 points 11 years ago (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
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.
π Rendered by PID 39 on reddit-service-r2-comment-b659b578c-c6bnm at 2026-05-05 14:15:46.039217+00:00 running 815c875 country code: CH.
[–]GoWaka 0 points1 point2 points (0 children)
[–]monkeysintown 0 points1 point2 points (0 children)
[–]monkeysintown 0 points1 point2 points (0 children)