Skip to main content

A new git extension to use git flow branching model automatically with Jira and Github

Project description

# Glow A new git extension to use git flow branching model automatically with Jira and Github

## Requirements

  • git

  • Python 3.7+

In a git repository with a develop and main branch.

More information about [gitflow](http://nvie.com/posts/a-successful-git-branching-model/).

## TODO

  • [ ] Factorize finish_release and finish_hotfix

  • [ ] Toggle project-key-id

  • [ ] Toggle github integration

  • [ ] Toggle jira integration

  • [ ] Implement cancel methods:
    • [ ] cancel_feature

    • [ ] cancel_release

    • [ ] cancel_feature

  • [ ] Better handling for changelog generation and tag

  • [x] Improve slugify

  • [x] Secure creation
    • [x] feature

    • [x] release

    • [x] hotfix

  • [ ] Create an init command

  • [ ] Update behavior if develop branch doesn’t exists

## How to setup

### Generate a Github token

  1. Go to settings

  2. Personal access token

  3. Click on generate new token

  4. Type a Token Description ex: glow CLI

  5. Check repo checkbox (repo Full control of private repositories)

  6. Generate token

### Install the application

If you want to use it on the entire system, prefix this command with sudo

` python setup.py install pip3 install --force-reinstall . pip3 install . `

OR

` pip install git-glow `

## Usage

To use this command, just type `git glow` in a git repository

### Feature

#### Start a feature

Development of new features starting from the develop branch.

`bash git glow start feature 1234 `

#### Review a feature

To generate a Pull Request in order to merge your feature into develop branch.

`bash git glow review feature 1234 `

### Release

#### Start a new release

To create a release from the last features merged on the develop branch.

`bash git glow start release `

#### Review a release

To generate a Pull Request in order to merge your release into main branch.

`bash git glow review release `

#### Finish a release

Close release branches and generate a tag for your release. And merge the generated tag into develop branch.

`bash git glow finish release `

### Hotfix

#### Start a new hotfix

To create a hotfix from the last release merged on the main branch.

`bash git glow start hotfix `

#### Review a hotfix

To generate a Pull Request in order to merge your hotfix into main branch.

`bash git glow review hotfix `

#### Finish a hotfix

Close hotfix branches and generate a tag for your hotfix. And merge the generated tag into develop branch.

`bash git glow finish hotfix `

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

git_glow-0.1.1-py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 3

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