TheAshenWolf / WakaTimeForUE

As all the other versions of Wakatime plugins for Unreal Engine lead to blank repos, I decided to make a plugin that actually has some code in it. I am no longer working on this plugin, but the community is, so feel free to contribute!
MIT License
44 stars 11 forks source link

Make the plugin aware of the current repo branch #28

Open simonSlamka opened 2 years ago

simonSlamka commented 2 years ago

If using git in the current project, the plugin should fetch the current branch name and pass it along to the waka heartbeats. If someone is using the Projects feature in WakaTime, this can give useful insights as to which branches is your time going against, but since the plugin doesn't report this information, WakaTime just says "Unknown".

image

TheAshenWolf commented 2 years ago

Sounds like a good idea! Not sure when I get to it, but this would definitely be an improvement :)

VerzatileDev commented 2 months ago

After testing it for a little while it does seem that in Unreal Engine 5

image

image

image

With this in mind it does at least for me seem that the issue does not exist within Unreal Engine version 5 and the latest release available here: https://github.com/TheAshenWolf/WakaTimeForUE/releases/tag/1.2.5

Anyone here to Test Unreal 4 for context ?

TheAshenWolf commented 2 months ago

This issue is regarding the Branch - the current active git branch. Not the project name. So far I haven't found anything regarding branches in the CLI docs, but maybe it just automagically grabs the branch from the project, which would most likely mean that a project plugin would capture it, while editor plugin would not.