Skip to main content

Tooling to ease creating releases

Project description

This project contains tooling and templates to ease creating releases on GitHub and publishing them on PyPI. Designed to be used by Robot Framework and tools and libraries in its ecosystem, but can naturally be used also by other projects.

To be able to take this project into use, you should know at least basics of Python packaging.

Main features

  • Utilities that can be used by custom Invoke tasks. These utilities are importable directly from the rellu module:

    • Setting project version, including automatically setting it to the next suitable development version.

    • Setting common labels in the issue tracker.

    • Generating release notes based on issues in the tracker. Requires project to use pre-defined labels.

  • Generic Invoke tasks in the rellu.tasks module:

    • Cleaning temporary files and directories.

  • tasks.py file implementing Invoke tasks using the aforementioned utilities. Other projects can use it as an example or template.

  • Step-by-step instructions for creating releases in BUILD.rst file using Invoke tasks defined in the tasks.py file, git, and other tools. Also this file can be used as a template.

  • setup.py using general good practices that can also be used as a template. There’s also super simple MANIFEST.in, but this project doesn’t need setup.cfg.

Dependencies

Rellu is designed to be used together with Invoke which is also used internally. All project dependencies are listed in the requirements.txt and requirements-build.txt files.

Rellu itself works only with Python 3.6 or never, but projects it is used with can naturally support also older Python releases. Rellu is developed and tested on Linux, but ought to work just fine also on OSX. Using it on Windows may work, but that’s not tested or supported.

Required project setup

To be able to generate release notes automatically, issue trackers must be configured using these rules:

  • Milestones must match project versions and use format v1.2 or v1.2.1.

  • Labels must be configured using the provided utility.

  • Milestones and labels must be used consistently:

    • Valid issues must have type defined as a label bug, enhancement or task. Issues with the task type are not included in release notes.

    • Issues should have priority set. See various prio- labels.

    • Issues belonging to a certain milestone should have that milestone set.

    • Issues included into a certain preview releases should have a matching label set (e.g. a1, b2, rc3).

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

rellu-0.5.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

rellu-0.5-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file rellu-0.5.tar.gz.

File metadata

  • Download URL: rellu-0.5.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rellu-0.5.tar.gz
Algorithm Hash digest
SHA256 f7c2f040f01071be9cc01eb2408250cf74a048f0ebbb6bdc1a0da4229ad45e1c
MD5 d42fed20febe5e946d76f9d228f4d7ee
BLAKE2b-256 a28d1050cf5f8431fd7c7866260f1939c03965bc4cc9d8c2fe2f2f436fcbf83c

See more details on using hashes here.

File details

Details for the file rellu-0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for rellu-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a27d70405ff46ec97b484fe1526d8179a91db381d851a149add606e337076b07
MD5 7335024509f4aaada5a9f89c8a055eaa
BLAKE2b-256 67841ce8782bf41f8f0f188c2c351a4a964c0646675906868b13407271690ef3

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