Skip to main content

Ticket birthday announcer: A package to announce all creation birthdays of your tickets that live (too) long enough

Project description

Project ‘tibian’, also known as the ‘TIcket Birthday Announcer’, is a project to announce tickets that it’s birthday today. That means it announces ticket titles and summaries that were created a few years ago and are still open to a number of channels that you specified before. For example, the Jira tickets of a project can be published to a Teams channel regularly and make some people happy (or angry).

Right now, the project is in a very early stage and it’s not fully functional.

Usage

To use this project, you need to create a configuration file in the same directory. To start, copy the config.example.yaml file to config.yaml and edit it. The name is important here, because it’s used to identify the configuration file. For details about configuration, visit section Configuration.

To install the project, run one of the following command:

poetry install # or
pip install tibian

Later one is preferred, as it installs the project with the same versions as we tested before release and in a virtual environment.

Afterwards, you can start the project by running the tibian command:

tibian

Afterwards, it should announce the birthdays of tickets of the current date as specified.

Configuration

The configuration file for the project must be located in the root folder of the execution command. A short (any maybe not complete) description of the configuration file is given in config.example.yaml on GitHub.

Copy this output to a file config.yaml in the current directory, add your credentials and remove parts you don’t need.

Detailed information about all config options will be given soon, but for this version most of the configuration should be self-explanatory.

‘type’ is the type of source or target you have, ‘name’ is an internal used name for the source/target, and ‘config’ is a type-dependant dictionary of types as shown.

Versioning

We use semantic versioning to version the project. As we are in some sort of ‘beta’, we may (but try not to) do some breaking changes between minor versions to fix some obvious misbehavior of the project. For example, we may change the configuration file format or add new options to the configuration file. As we try to prevent this and add a backlog how to upgrade to newer versions, you maybe want to check the changelog before updating to new versions.

Development

We are always happy about active support. If you want to actively develop on tibian, follow the next few commands. We use poetry for the development of tibian. You can install it with the following command:

pip install poetry

To install all development dependencies, run:

poetry install --with dev

Afterwards, you have all dependencies (including dev dependencies) installed in a virtualenv, and are able to develop.

To add new dependencies, run:

poetry add <package>

To activate your virtualenv, run:

poetry shell

Afterwards, you can run all following commands in the virtualenv. In case you don’t, you have to add ‘poetry run’ before each of the next commands to execute it in the virtualenv, or you will get missing requirements errors.

Additionally, we use pre-commit as our tool to enforce some styling and lint rules. To install pre-commit, run:

pre-commit install

This will install all hooks and run them automatically on a commit. You can also run these rules manually by doing:

pre-commit run --all

To run the tests and get some coverage information, run:

./scripts/run_tests.sh

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

tibian-1.1.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tibian-1.1.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file tibian-1.1.0.tar.gz.

File metadata

  • Download URL: tibian-1.1.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for tibian-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1fee8d8a989b7a14d97cca27c273574220d0af46c1b210c7439c242b43a46858
MD5 d63767213a15746d675c90e6fc6deaa7
BLAKE2b-256 bf7bbf0fa6560c1e4fc6d349bdfbcb6eceae06fd25665ff67f760bce6282b53a

See more details on using hashes here.

File details

Details for the file tibian-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: tibian-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for tibian-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9b2f141d94d76136aefeae535fbc45423df17824f056a76a9e99b558bbce25c3
MD5 8fe27dfa20a8ed711dfda4cd96ec9444
BLAKE2b-256 1eaf40d871ea2b88fc6842cd62c354d1b60c1c47152bd7519b4dc7a3c352702b

See more details on using hashes here.

Supported by

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