Git Office Hours : le test pour Entr'ouvert
Find a file
Yann Weber 395170e4e7 Adds progression for commit loop + short CLI result
- Now their is a progression (in absolute commit number iterated) for
  main commit loop
- If no --group-by given and --no-details given the CLI output is simpler
2023-11-26 21:27:17 +01:00
debian Adds packaging stuffs 2023-11-26 19:51:26 +01:00
git_oh.py Adds progression for commit loop + short CLI result 2023-11-26 21:27:17 +01:00
NOTES Adds README & NOTES 2023-11-26 20:56:37 +01:00
pyproject.toml Adds packaging stuffs 2023-11-26 19:51:26 +01:00
README Adds README & NOTES 2023-11-26 20:56:37 +01:00
setup.py Adds packaging stuffs 2023-11-26 19:51:26 +01:00
test.py Implements output, filters CLI arguments, and period aggregation 2023-11-26 16:30:54 +01:00

Git Office Hours (git_oh)
-------------------------

Display a ratio of commit done outside office hours per author.

Dependencies
------------

- Python3 >= 3.11
- GitPython (on debian : python3-git)

Usage
-----

See git_oh --help

Examples
--------

# Display ratio, per user, per month, for 1 year
git_oh REPO_URL --from 2023-01-01 --to 2023-12-31 --group month

# Display ratio of commit done in the afternoon
git_oh REPO_URL --daystart 12:00 --daystop 00:00 --weekend NUL

# Change for a 3 days weekend (on an english localized computer)
git_oh REPO_URL --weekend fri,sat,sun

# Output a CSV with detailled counters per week
git_oh REPO_URL -f 2023-01-01 -t 2023-03-01 -g week --csv-output /tmp/output.csv

# Print all commit outside office hours
git_oh REPO_URL -f 2023-01-01 -t 2023-02-01 --verbose