Core functionality for git-project
Project description
Plugins for git-project
This is a set of basic plugins to manage several aspects of projects kept within git repositories. These plugins include commands to:
Configure git-project and its various plugins
Clone repositories
Manage branches
Manage worktrees
Configure builds
Perform builds
Install the project
Setup
pip3 install git-project-core-plugins
Commands
These plugins add a number of commands to git-project. Each command has an associated --help option to describe its function and options.
git <project> config
Configure git-project or any git config sections added by projects. This will add config subcommands to plugin commands that manipulate git config sections (e.g. git project build config).
git <project> clone
Clone a repository. Other plugins may hook into this command to provide additional functionality.
git <project> branch status
Report whether local branches are merged to a project branch and whether the local branch head is pushed to a remote.
git <project> branch prune
Delete branches that are merged to a project branch and pushed to a remote.
git <project> configure
Configure a build for the project. Adds configure values to project and worktree git config sections. Projects and worktrees use unique build trees such that switching among projects and worktrees does not result in “rebuilding the world.”
git <project> build
Run a build on the project. Adds build values to project and worktree git config sections.
git <project> install
Install a built project. Adds install values to project git config sections.
git <project> worktree
Create and manage worktrees for the project. This plugin causes git <project> clone to create a special directory layout and a master worktree when performing a bare clone. It also adds a git <project> clone option to disable the worktree clone functionality.
Worktrees set up their own build trees such that switching from worktree to worktree does not result in “rebuilding the world.”
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for git_project_core_plugins-0.0.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 429d223c89d6347541bbe941bf22675eb139749ab303e46b0d16f3ab735c28d7 |
|
MD5 | fd36939c1ca452d98a1232503b1223f1 |
|
BLAKE2b-256 | 4a19d2a51f1cbc69fc77a80bb493f019485b7e53a43ed4c43ed7f074f2c886e6 |
Hashes for git_project_core_plugins-0.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 221ff69f7424a77b1e0f94d984896fe2800e62c31179993b58828e06e95865b8 |
|
MD5 | 285188f5f6ca165889312a6f8477cd23 |
|
BLAKE2b-256 | ba75e132dac66bc3dfa71f19c95a10c50044141a8468504c2ab8f64b2c683c75 |