tuulbachs documentation¶
Low-level software tuuls, organized into drawers.
tuulbash¶
tuuldevops¶
Automation tuuls for common tasks around software development
tuulgit¶
An opinionated set of Git tuuls.
check_clean.py¶
Check the Git working tree
-
tuulgit.check_clean.
is_clean_working_tree
()¶ Return a boolean indicating whether the Git working tree is clean or not
tag_commit.py¶
Git tag the commit on the current branch, only if the working tree is clean
-
tuulgit.tag_commit.
tag_current
(tag)¶ Git tag (annotated) the current commit from a clean working tree
Raises: TuulError – when the caller attempts to tag an unclean working tree or to use a tag that already exists on the repo
-
tuulgit.tag_commit.
tag_delete_local
(tag)¶ Delete the named Git tag (local only). This function does not delete remote tags
Raises: TuulError – if the tag delete fails
tuulpy¶
tuulver¶
version.py¶
Utility functions for managing a tuulbachs-formatted version YAML file
-
tuulver.version.
bump_build
(filename)¶ Bump the “build” portion of the version from the input YAML filename
-
tuulver.version.
bump_major
(filename)¶ Bump the major portion of the version from the input YAML filename
-
tuulver.version.
bump_minor
(filename)¶ Bump the minor portion of the version from the input YAML filename
-
tuulver.version.
bump_pre
(filename, prebase='pre')¶ Bump the “pre” portion of the version from the input YAML filename
-
tuulver.version.
emit_product_name
(filename)¶ Return the product name value from the input YAML filename
-
tuulver.version.
emit_version
(filename)¶ Return the version value from the input YAML filename