Skip to content
This repository was archived by the owner on Dec 8, 2019. It is now read-only.
This repository was archived by the owner on Dec 8, 2019. It is now read-only.

acai-cli: add --patterns flag #20

@MartinHelmut

Description

@MartinHelmut

Like already mentioned in #2 there should be a flag to configure the pattern(s) used to match the commit messages (--patterns / -p). This would enable better results if commit messages are strictly defined. Usage could be e.g.:

$ acai --patterns "^fix\(.*\):"

There has to be defined if this should be some kind of pattern matcher or regular expression. Currently the following regex is default:

/^(?:(?!branch.+into 'master').)*\bfix(?:ed|es)?|close(?:s|d)?\b/i

The default regex excludes merge commits and looks for commits including: "fix", "fixed", "fixes", "close", "closed", "closes".

The possibility to pass a regex to the acai.scanner() is already given.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions