Git Office Hours : le test pour Entr'ouvert
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Yann Weber 5d8d690be1 Adds packaging instruction in README vor 5 Monaten
debian Adds packaging stuffs vor 5 Monaten
NOTES.txt Adds packaging instruction in README vor 5 Monaten
README Adds packaging instruction in README vor 5 Monaten
git_oh.py Enhancement in CLI output & bugfix in time comparison vor 5 Monaten
pyproject.toml Adds packaging stuffs vor 5 Monaten
setup.py Adds packaging stuffs vor 5 Monaten
test.py Enhancement in CLI output & bugfix in time comparison vor 5 Monaten

README

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

Build packages
--------------

# For debian
debuild -us -uc -i -b

# Build wheel & sdist
python3 -m build