Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gitflow-authors-linter

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitflow-authors-linter

Provides additional functionality to gitflow-linter tool

  • 0.0.2
  • PyPI
  • Socket score

Maintainers
1

About

gitflow_authors_linter is an official plugin for gitflow_linter command line tool. The plugin checks if currently a single author does not have too many open, ongoing feature branches. Having multiple open feature branches by a single author might be an indicator that something is wrong with the process. On top of that, merging all those branches might be complex in a near future.

Quick Start

Installation

You can install the linter from

  • pip
pip install gitflow-authors-linter
  • or the source code
git clone https://github.com/fighterpoul/gitflow_authors_linter.git
cd gitflow_authors_linter
git checkout 0.0.2
python setup.py install

HINT: Run gitflow-linter-plugins to make sure that the plugin is available.

Usages

All you need to do is to:

  1. Add new item in your YAML file that configures how gitflow-linter should work:
rules:
  no_multiple_open_features_per_author:
    max_open_branches_per_author: 4 # mandatory
  1. Run gitflow-linter - it should automatically recognize that the plugin must be used to check the given rule.

Motivation

The plugin is there for the two reasons:

  1. Demonstrate how you may extend gitflow-linter by using plugins

  2. Provide an additional step that verifies a given repository against authors

Therefore, it is supposed to be at the same time both useful and educative.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc