pymultigit package

Subpackages

Submodules

pymultigit.configs module

All configurations for pymultigit

class pymultigit.configs.ConfigDebug[source]

Bases: Config

Parameters for debug

debug_verbose = False
git_quiet = False
git_verbose = False
class pymultigit.configs.ConfigGrep[source]

Bases: Config

Parameters for the grep command

files = None
regexp = <pytconf.param.Unique object>
class pymultigit.configs.ConfigMain[source]

Bases: Config

Main parameters

folders = []
glob = '*/*.git'
print_no_projects = True
sort = True
stop = True
use_glob = True
class pymultigit.configs.ConfigOutput[source]

Bases: Config

Parameters to control output

output = True
print_not = False
stats = False
terse = False
class pymultigit.configs.ConfigPull[source]

Bases: Config

Parameters for the pull command

pull_quiet = False
class pymultigit.configs.ConfigSubprocess[source]

Bases: Config

Parameters to configure how we run subprocess

print_command = False
quiet = False

pymultigit.core module

pymultigit.core.check_pydmt()[source]
pymultigit.core.disable()[source]
pymultigit.core.do_branch_github() str[source]

https://stackoverflow.com/questions/28666357/git-how-to-get-default-branch

pymultigit.core.do_branch_local() None[source]
pymultigit.core.do_branch_remote() None[source]
pymultigit.core.do_build_bootstrap() None[source]
pymultigit.core.do_build_make() None[source]
pymultigit.core.do_build_pydmt() None[source]
pymultigit.core.do_build_pydmt_build_venv() None[source]
pymultigit.core.do_build_venv_make() None[source]
pymultigit.core.do_build_venv_pydmt() None[source]
pymultigit.core.do_check_workflow_exists_for_makefile() bool[source]
pymultigit.core.do_clean() int[source]
pymultigit.core.do_count(fnc, attr_name, not_attr_name, attr_plural, print_attr, print_not_attr) None[source]
pymultigit.core.do_dirty() None | str[source]
pymultigit.core.do_for_all_projects(fnc) None[source]
pymultigit.core.do_grep() None[source]
pymultigit.core.do_pull() None[source]
pymultigit.core.do_status() None | str[source]
pymultigit.core.has_untracked_files(repo) bool[source]
pymultigit.core.is_dirty(repo) bool[source]
pymultigit.core.is_git_folder(directory: str) bool[source]
pymultigit.core.non_synchronized_with_upstream(_repo: str) bool[source]
pymultigit.core.print_projects_that_return_data(fnc) None[source]

In this function we are sure that the directories we get a real git folders since we get them from the projects function. There is no need to check this.

pymultigit.core.projects() Generator[str, None, None][source]

the method yields all project folders [project_dir]

pymultigit.core.run(args, do_exit=True) Tuple[str, str, int][source]

pymultigit.main module

main

pymultigit.main.branch_github() None[source]
pymultigit.main.branch_local() None[source]
pymultigit.main.branch_remote() None[source]
pymultigit.main.build_bootstrap() None[source]
pymultigit.main.build_make() None[source]
pymultigit.main.build_pydmt() None[source]
pymultigit.main.build_pydmt_build_venv() None[source]
pymultigit.main.build_venv_make() None[source]
pymultigit.main.build_venv_pydmt() None[source]
pymultigit.main.check_workflow_exists_for_makefile() None[source]
pymultigit.main.clean_hard() None[source]
pymultigit.main.count_dirty() None[source]
pymultigit.main.dirty() None[source]
pymultigit.main.grep() None[source]
pymultigit.main.list_projects() None[source]
pymultigit.main.main()[source]
pymultigit.main.pull() None[source]
pymultigit.main.status() None[source]
pymultigit.main.synchronized() None[source]
pymultigit.main.untracked() None[source]

pymultigit.static module

version which can be consumed from within the module

Module contents