Skip to main content

Tool that generates ics-files from a repositories issues, milestones and iterations, which have a due date.

Project description

GitCalendar

Tool that generates an ICS file from issues, milestones and iterations, of one or more GitLab projects. Only events with a due date are considered.

Setup

The script requires Python >= 3.6 and uses the libraries ics (Apache License v2.0) and python-gitlab (LGPL v3.0). You can install it from PyPi with the following command:

pip install gitcalendar

Usage

There are two options of running the script:

Run it with a config

  • Rename gitlab-config.ini.example to gitlab-config.ini and fit to your needs
  • Make sure that all wanted variables are given
  • Make sure to declare your private token, a valid project or group id, and the path where your calendar files should be generated at.

Once this is done, you can run the script as follows:

gitcalendar --config <PATH OF YOUR CONFIG>    

Run it with all the options you need

Warning! Please consider using the prior option for not leaking any access tokens

  • Here, there's a need to declare the url of the gitlab instance, your private token, and at least one project or group id.
gitcalendar -u <URL> -t <PRIVATE TOKEN> -p <LIST OF PROJECT IDS> -g <LIST OF GROUP IDS>    

For more options please use:

gitcalendar -h

Development

After you cloned the repository and changed into it, you can perform the following actions.

Setup

Install with pip as follows:

pip install -e .[develop]

Package Build

You can build a source package with the following command:

python setup.py sdist

You can build a wheel with the following command:

python setup.py bdist

Contributors

Here you find the main contributors to the material:

  • Benjamin Bauer
  • Martin Stoffers

License

Please see LICENSE.md for further information about how the content is licensed.

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

gitcalendar-0.9.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file gitcalendar-0.9.tar.gz.

File metadata

  • Download URL: gitcalendar-0.9.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.8

File hashes

Hashes for gitcalendar-0.9.tar.gz
Algorithm Hash digest
SHA256 6c53800ff17570046a27339ab5fe86a76fc459dbe698b3109cf4f6fb795b2f9e
MD5 38bd1f790d11747f2a2d738df8e82b74
BLAKE2b-256 befb4c2a3cd317eb222884ba9ad444656145b31cd19747c35a68f3b5801bc912

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