2024-07-09 22:15:05 +00:00
|
|
|
<!--- WARNING --->
|
|
|
|
<!--- THIS IS AN AUTO-GENERATED FILE --->
|
|
|
|
<!--- MANUAL CHANGES CAN AND WILL BE OVERWRITTEN --->
|
|
|
|
|
2024-08-02 15:11:05 +00:00
|
|
|
|
|
|
|
|
2024-07-09 22:15:05 +00:00
|
|
|
# Git-based Time Tracker.
|
2024-06-03 21:01:45 +00:00
|
|
|
|
2024-06-03 22:46:15 +00:00
|
|
|
Quick and dirty time tracker on git histories.
|
|
|
|
|
|
|
|
Uses the simple heuristics that each commit takes precisely one hour of work.
|
|
|
|
It will automatically trim commits below one hour if another commit occurred
|
|
|
|
less than an hour ago.
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
|
|
|
|
```
|
2024-06-03 22:48:54 +00:00
|
|
|
python -m git_time_tracker REPO1 REPO2...
|
2024-06-03 22:46:15 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
# Obligatory
|
|
|
|
|
|
|
|
This tool reports:
|
|
|
|
|
|
|
|
```
|
2024-06-08 13:22:13 +00:00
|
|
|
project Jmaa/git-time-tracker.git 3h 33m (2024)
|
2024-06-03 22:46:15 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
And the ([Hamster](https://github.com/projecthamster/hamster)) manual time tracker reports:
|
|
|
|
|
|
|
|
![](docs/obligatory-hamster.png)
|
2024-07-09 22:15:05 +00:00
|
|
|
|
|
|
|
|
2024-09-26 22:01:31 +00:00
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
All requirements can be installed easily using:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
pip install -r requirements.txt
|
|
|
|
```
|
|
|
|
|
|
|
|
Full list of requirements:
|
|
|
|
- [GitPython](https://pypi.org/project/GitPython/)
|
|
|
|
- [icalendar](https://pypi.org/project/icalendar/)
|
|
|
|
|
|
|
|
|
|
|
|
## License
|
2024-07-09 22:15:05 +00:00
|
|
|
|
|
|
|
```
|
2024-07-16 20:15:42 +00:00
|
|
|
MIT License
|
|
|
|
|
2024-07-09 22:15:05 +00:00
|
|
|
Copyright (c) 2024 Jon Michael Aanes
|
|
|
|
|
2024-07-16 20:15:42 +00:00
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
|
|
copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
|
SOFTWARE.
|
2024-07-09 22:15:05 +00:00
|
|
|
```
|