|Authors:||Jules David <firstname.lastname@example.org> Tristan Gregoire <email@example.com>|
|Source code:||github.com project|
|Bug tracker:||github.com issues|
|Generated:||Dec 20, 2020|
git-meta allows you to get a clear picture of all your local repository states.
It is based on the gitpython library
Class handling the repositories database
Scan the subfolders to discover repositories
Read the database file to extract the paths of previously scanned repositories
Scan all the repositories in the database for their statuses
Repo(path=None, odbt=<class 'git.db.GitCmdObjectDB'>, search_parent_directories=False, expand_vars=True)¶
Class representing a repository.
Allows to perform common git commands
- True if the repository has a remote branch defined for at least
- local branch
Return type: bool
For each branch with a remote counterpart, give the number of commit difference
- keys -> branch name
- values -> number
Return type: dict
Create the status line for the selected repository.
Returns: Status line as used by git-meta Return type: string
git-meta tests are located in the test/ folder. They are powered by pytest.
In order to launch the test series, you only have to type the command :
in the base folder.