Skip to main content

Git Based Leaves management system

Project description

gitleaves

Git Based Leaves management system

Project status: WIP

Specifications

File names

  • leaves.<YYYY>.csv
  • extras.<YYYY>.csv

Format

Leaves

MMDD [- MMDD], Name, Reason / Details [Optional]

Extra days

MMDD [- MMDD], Name, Reason / Details [Optional]

Example

1115 - 1126, Tony Stark, Hawaii
1129 - 1210, Peter Parker,
1129 - 1202, Bruce Wayne,
1220 - 1224, Loki Laufeyson, Smell the flowers

Usage

$ pip install gitleaves
$ mkdir data/
$ cp leaves.<this-year>.csv data/
$ gitleaves genreports
$ ls reports/

Process

  • Apply for leave(s) by adding records to leaves.YYYY.csv
  • Optionally mention details/reasons in commit message
  • Raise a PR
  • Leave is approved if the PR is merged

Guidelines

  • Do take leaves when necessary :)
  • Make sure you spell your name same everywhere
  • Generally try to add records in order
  • When applying for leaves
    • make sure you take look at peers leave plans
    • ensure that you have a collegue to cover your work while you are away
    • if necessary, do essential knowledge transfer to ensure that there are no dependencies on you
    • if you are a major contributor to an important release then avoid immediate leaves after the release

Dev Guidelines

  • Human Readable data files (as much possible)

Features

TODO

Credits

This package was created with Cookiecutter_ and the audreyr/cookiecutter-pypackage project template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitleaves-0.4.3.tar.gz (11.6 kB view details)

Uploaded Source

File details

Details for the file gitleaves-0.4.3.tar.gz.

File metadata

  • Download URL: gitleaves-0.4.3.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for gitleaves-0.4.3.tar.gz
Algorithm Hash digest
SHA256 64c32e8a71d2a7bb34b031d49d41e213a7eb044ddd29a5588131a8b45965719e
MD5 42d712ab1e1a1d363704a69f22582a5a
BLAKE2b-256 54de44b68edda4f44bbe7bf5b6c7082f4af1c251538adad52d670a6f8565ebb1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page