Skip to main content

flowtool library of git related commands.

Project description

.. image:: https://img.shields.io/pypi/pyversions/flowtool-git.svg
:target: https://pypi.python.org/pypi/flowtool-git
:alt: PyPI Python Versions

.. image:: https://img.shields.io/pypi/v/flowtool-git.svg
:target: https://pypi.python.org/pypi/flowtool-git
:alt: PyPI Latest Version

.. image:: https://img.shields.io/pypi/format/flowtool-git.svg
:target: https://pypi.python.org/pypi/flowtool-git
:alt: PyPI Distribution Format


.. _git: https://git-scm.com/
.. _flowtool-versioning: https://github.com/isnok/py-flowlib/tree/master/versioning
.. _flowtool-gitflow: https://github.com/isnok/py-flowlib/tree/master/gitflow


.. _flowtool-git-doc:

flowtool-git
============

The practical git interface for almost all flowtool components.

Practical meaning in this case, that whereever possible GitPython is used
to interact with git repositories. But since GitPython does not yet support
all the features used in flowtool's components, some features currently can
only be "handmade" by utilizing the git shell command. This is possible
trough GitPython already in a convenient manner, and is used whereever
git interaction is required.

The exception of 'all git interaction goes through here' are the drop-in
files of `flowtool-versioning`_. Since these should be free of dependencies
as much as possible (only stdlib by now) they call the `git`_ command directly.

This module also contains a libary of convenience functions for git tasks.
It has still a very small set of functions, like filtering tags for a certain
prefix, or pre-parsing the output of `git status -s`.


Source Links
------------

The biggest module by now is :ref:`src.flowtool-git.common`.
It's main attraction is a cached git repository retrieval mechanism
(check out the `@cached` function `local_repo`).

:ref:`src.flowtool-git.config` contains two functions to retrieve the
local repos git configuration as a two layer deep dict.

The code to manage git tags
(two functions at the time of this being written).
is contained in :ref:`src.flowtool-git.tags`.

All of these library files should receive bumps in the future, when the
`flowtool-gitflow`_ components will be shaped out.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

flowtool_git-0.7.24-py2.py3-none-any.whl (12.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file flowtool_git-0.7.24-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for flowtool_git-0.7.24-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 617a70f43cfbc5ecfb63c8b39968092837d752575278d750b851d316e52a2450
MD5 41d00473080cb2abe2b0a63ac494bb27
BLAKE2b-256 8e7092c3b655ced5dc0f3e12824f45f3312d71eaab64a852e1913757e7f4298b

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